public class RemotingMessage extends AbstractMessage
RemotingMessage - RemotingMessages are used to send RPC
requests to a remote endpoint.
These messages use the operation property to specify which method to call on the remote object.
The destination property indicates what object/service should be used.| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
operation
Provides access to the name of the remote method/operation that should be called.
|
java.lang.String |
source
This property is provided for backwards compatibility.
|
body, clientId, destination, DESTINATION_CLIENT_ID_HEADER, ENDPOINT_HEADER, FLEX_CLIENT_ID_HEADER, headers, messageId, PRIORITY_HEADER, REMOTE_CREDENTIALS_CHARSET_HEADER, REMOTE_CREDENTIALS_HEADER, REQUEST_TIMEOUT_HEADER, STATUS_CODE_HEADER, timestamp, timeToLive| Constructor and Description |
|---|
RemotingMessage()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
readExternal(java.io.ObjectInput in) |
void |
writeExternal(java.io.ObjectOutput out) |
createUUID, readFlagspublic java.lang.String operation
public java.lang.String source
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.ExternalizablereadExternal in class AbstractMessagejava.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.ExternalizablewriteExternal in class AbstractMessagejava.io.IOException