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 |
toString, setRecipient, setPerformative, getPerformative, getRecipient, setSender, getSender, setMessageID, getMessageID, setInReplyTo, getInReplyTo, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
class Object |
wait, wait, wait, equals, toString, 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-19, Acoustic Research Laboratory, National University of Singapore, and Subnero Pte Ltd