Request message to execute a common on a remote node.
Type | Name and description |
---|---|
String |
command |
String |
credentials |
int |
to |
Constructor and description |
---|
RemoteExecReq
() |
Type Params | Return Type | Name and description |
---|---|---|
|
boolean |
getAck() Gets if acknowledgement is required. |
|
String |
getCommand() Gets the command to execute. |
|
String |
getCredentials() Gets the user credentials for authentication. |
|
int |
getTo() Gets the destination node address. |
|
void |
setAck(boolean ack) Sets true if acknowledgement is required. |
|
void |
setCommand(String cmd) Sets the command to execute. |
|
void |
setCredentials(String credentials) Sets the user credentials for authentication. |
|
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 command to execute.
Gets the user credentials for authentication.
Gets the destination node address.
Sets true if acknowledgement is required.
ack
- true if ACK is requiredSets the command to execute.
cmd
- commandSets the user credentials for authentication.
credentials
- credentialsSets the destination.
destination
- addressCopyright 2013-21, Acoustic Research Laboratory, National University of Singapore, and Subnero Pte Ltd