| 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.
|
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(AnnotatedObjectInputStream 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(AnnotatedObjectOutputStream 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 void readExternal(AnnotatedObjectInputStream in) throws IOException, ClassNotFoundException
readExternal in interface IPacketin - request the input stream, MarshalInputStream is passed to allow changing the
default classloader.IOExceptionClassNotFoundExceptionpublic void writeExternal(AnnotatedObjectOutputStream out) throws IOException
writeExternal in interface IPacketIOExceptionpublic void clear()
public Object[] getArgs()
public long getObjectId()
public boolean isOneWay()
public void restorePreviousLRMIRemoteClassLoaderState()
public static OperationPriority getOperationPriorityFromBytes(byte[] bytes)
bytes - the bytesCopyright © GigaSpaces.