org.apgrid.grpc.ng
Class CallContext

java.lang.Object
  extended byorg.apgrid.grpc.ng.CallContext

public class CallContext
extends java.lang.Object


Constructor Summary
CallContext(org.apgrid.grpc.ng.info.RemoteMethodInfo remoteMethodInfo, byte[][] argsData, int[] intArguments)
           
CallContext(org.apgrid.grpc.ng.info.RemoteMethodInfo remoteMethodInfo, java.util.List args)
           
 
Method Summary
 void debugTransformCBResult()
           
 java.util.List getArgs()
           
 int getCount(int index)
           
 byte[] getData(int index)
           
 int[] getIntArguments()
           
 int getNumParams()
           
 org.apgrid.grpc.ng.info.RemoteMethodInfo getRemoteMethodInfo()
           
 int getSize(int index)
           
 void setData(int index, byte[] dataArray)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallContext

public CallContext(org.apgrid.grpc.ng.info.RemoteMethodInfo remoteMethodInfo,
                   java.util.List args)
            throws GrpcException
Parameters:
remoteMethodInfo -
args -

CallContext

public CallContext(org.apgrid.grpc.ng.info.RemoteMethodInfo remoteMethodInfo,
                   byte[][] argsData,
                   int[] intArguments)
            throws GrpcException
Parameters:
remoteMethodInfo -
argsData -
Throws:
GrpcException
Method Detail

getIntArguments

public int[] getIntArguments()
Returns:

getCount

public int getCount(int index)
Returns:

getData

public byte[] getData(int index)
Returns:

getSize

public int getSize(int index)
Returns:

getNumParams

public int getNumParams()
Returns:

getRemoteMethodInfo

public org.apgrid.grpc.ng.info.RemoteMethodInfo getRemoteMethodInfo()
Returns:

setData

public void setData(int index,
                    byte[] dataArray)
Parameters:
index -
dataArray -

getArgs

public java.util.List getArgs()
Returns:

debugTransformCBResult

public void debugTransformCBResult()
                            throws GrpcException
Throws:
GrpcException