org.apgrid.grpc.ng
Class CallContext
java.lang.Object
org.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)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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