Request to send a text message to a remote node.
| Constructor and description |
|---|
RemoteTextReq
() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
boolean |
getAck()Gets if acknowledgement is required. |
|
String |
getText()Gets the text message. |
|
int |
getTo()Gets the destination node address. |
|
void |
setAck(boolean ack)Sets true if acknowledgement is required. |
|
void |
setText(String text)Sets the text message. |
|
void |
setTo(int destination)Sets the destination. |
|
String |
toString() |
| Methods inherited from class | Name |
|---|---|
class Message |
setPerformative, toString, getSender, setMessageID, getSentAt, setRecipient, getInReplyTo, setSentAt, setSender, getPerformative, getRecipient, getMessageID, setInReplyTo, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
Gets if acknowledgement is required.
Gets the text message.
Gets the destination node address.
Sets true if acknowledgement is required.
ack - true if ACK is requiredSets the text message.
text - text messageSets the destination.
destination - addressCopyright 2013-21, Acoustic Research Laboratory, National University of Singapore, and Subnero Pte Ltd