Request message to execute a common on a remote node.
| 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 |
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 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-19, Acoustic Research Laboratory, National University of Singapore, and Subnero Pte Ltd