Modifier and Type | Field and Description |
---|---|
Exception |
exception
Exception during deserialization of RequestPacket of during method invocation
|
boolean |
isCallBack |
OperationPriority |
operationPriority |
Constructor and Description |
---|
RequestPacket() |
RequestPacket(long objectId,
int methodOrderId,
Object[] args,
boolean isOneWay,
boolean isCallBack,
LRMIMethod invokeMethod,
long contextClassLoaderId,
OperationPriority priority,
PlatformLogicalVersion targetVersion) |
RequestPacket(Object requestObj) |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear the RequestPacket internal state.
|
static OperationPriority |
decodePriority(byte flags) |
static byte |
encodePriority(OperationPriority priority,
byte flags) |
Object[] |
getArgs() |
LRMIMethod |
getInvokeMethod() |
long |
getObjectId() |
static OperationPriority |
getOperationPriorityFromBytes(byte[] bytes)
Assumes internal knowledge of how the LRMI incoming invocation bytes should appear
|
Object |
getRequestObject() |
boolean |
isOneWay() |
void |
readExternal(MarshalInputStream in) |
void |
restorePreviousLRMIRemoteClassLoaderState() |
void |
set(long objectId,
int methodOrderId,
Object[] args,
boolean isOneWay,
boolean isCallBack,
LRMIMethod lrmiMethod,
long contextClassLoaderId,
OperationPriority priority,
PlatformLogicalVersion targetVersion) |
String |
toString() |
void |
writeExternal(MarshalOutputStream out) |
public Exception exception
public transient boolean isCallBack
public transient OperationPriority operationPriority
public RequestPacket()
public RequestPacket(Object requestObj)
public RequestPacket(long objectId, int methodOrderId, Object[] args, boolean isOneWay, boolean isCallBack, LRMIMethod invokeMethod, long contextClassLoaderId, OperationPriority priority, PlatformLogicalVersion targetVersion)
public LRMIMethod getInvokeMethod()
public final void set(long objectId, int methodOrderId, Object[] args, boolean isOneWay, boolean isCallBack, LRMIMethod lrmiMethod, long contextClassLoaderId, OperationPriority priority, PlatformLogicalVersion targetVersion)
public Object getRequestObject()
public static OperationPriority decodePriority(byte flags)
public static byte encodePriority(OperationPriority priority, byte flags)
public void readExternal(MarshalInputStream in) throws IOException, ClassNotFoundException
readExternal
in interface IPacket
in
- request the input stream, MarshalInputStream is passed to allow changing the
default classloader.IOException
ClassNotFoundException
public void writeExternal(MarshalOutputStream out) throws IOException
writeExternal
in interface IPacket
IOException
public void clear()
public Object[] getArgs()
public long getObjectId()
public boolean isOneWay()
public void restorePreviousLRMIRemoteClassLoaderState()
public static OperationPriority getOperationPriorityFromBytes(byte[] bytes)
bytes
- the bytesCopyright © GigaSpaces.