Request to send an application message to a remote node.
| Modifiers | Name | Description |
|---|---|---|
static java.lang.String |
MIME_TYPE_BIN |
|
static java.lang.String |
MIME_TYPE_CHAT |
|
static java.lang.String |
MIME_TYPE_CMD |
|
static java.lang.String |
MIME_TYPE_TEXT |
|
static java.lang.String |
MIME_TYPE_UDP_PORTAL |
|
static float |
TTL_MAILBOX |
Special TTL to indicate that the previous unsent message with the same mailbox should be replaced by this one. |
protected java.lang.String |
mailbox |
|
protected java.lang.String |
messageClass |
|
protected java.lang.String |
mimeType |
|
protected java.lang.String |
remoteRecipient |
| Type | Name and description |
|---|---|
java.lang.String |
mailbox |
java.lang.String |
messageClass |
java.lang.String |
mimeType |
java.lang.String |
remoteRecipient |
java.lang.String |
remoteRecipient |
| Constructor and description |
|---|
RemoteMessageReq
() |
RemoteMessageReq
(org.arl.fjage.AgentID recipient) |
RemoteMessageReq
(org.arl.fjage.AgentID recipient, DatagramReq req) |
RemoteMessageReq
(RemoteMessageNtf msg) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.lang.String |
getMailbox()Gets the mailbox name when using TTL_MAILBOX. |
|
java.lang.String |
getMessageClass()Gets the message class. |
|
java.lang.String |
getMimeType()Gets the MIME type of the data. |
|
java.lang.String |
getRemoteRecipient()Gets the remote recipient. |
|
void |
setMailbox(java.lang.String mailbox)Sets the mailbox name when using TTL_MAILBOX. |
|
void |
setMessageClass(java.lang.String messageClass)Sets the message class. |
|
void |
setMimeType(java.lang.String mimeType)Sets the MIME type of the data. |
|
void |
setProtocol(int protocol) |
|
void |
setRemoteRecipient(java.lang.String remoteRecipient)Sets the remote recipient. |
|
void |
setRemoteRecipient(org.arl.fjage.AgentID remoteRecipient)Sets the remote recipient. |
|
java.lang.String |
toString() |
| Methods inherited from class | Name |
|---|---|
class DatagramReq |
setData, getData, getProgress, toString, setPriority, getPriority, getProtocol, setProtocol, getReliability, setReliability, getRobustness, setRobustness, getShortcircuit, setShortcircuit, setProgress, getTo, getRoute, setTo, setTtl, getTtl, setRoute, setPerformative, getPerformative, setRecipient, getRecipient, setSender, getSender, setMessageID, getMessageID, setInReplyTo, getInReplyTo, setSentAt, getSentAt, getJsonCache, setJsonCache, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
Special TTL to indicate that the previous unsent message with the same mailbox should be replaced by this one.
Gets the mailbox name when using TTL_MAILBOX.
Gets the message class.
Gets the MIME type of the data.
Gets the remote recipient.
Sets the mailbox name when using TTL_MAILBOX.
mailbox - mailbox nameSets the message class. Message class may be used by the remote agent to route messages.
messageClass - message classSets the MIME type of the data.
mimeType - MIME typeSets the remote recipient.
remoteRecipient - remote recipient (named topic or agentID)Sets the remote recipient.
remoteRecipient - remote recipient (named topic or agentID)Groovy Documentation