public class UnformattedPayload
extends java.lang.Object
implements java.io.Externalizable
_P2J_REMOTE_CALL_ function, which is converted to the
ControlFlowOps.remoteCall(com.goldencode.p2j.util.character).
This implementation is used for both requests and responses. It is the responsibility of the code which creates the request (or handles the response) to interpret the payload.
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
payload
The request or response payload.
|
| Constructor and Description |
|---|
UnformattedPayload() |
| Modifier and Type | Method and Description |
|---|---|
void |
readExternal(java.io.ObjectInput in)
Replacement for the default object reading method.
|
void |
writeExternal(java.io.ObjectOutput out)
Replacement for the default object writing method.
|
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablein - The input source from which fields will be restored.java.io.IOException - In case of I/O errors.java.lang.ClassNotFoundException - If payload can't be instantiated.public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizableout - The output destination to which the payload will be saved.java.io.IOException - In case of I/O errors.