Request to transfer a file to a remote node.
Constructor and description |
---|
RemoteFilePutReq
() |
Type Params | Return Type | Name and description |
---|---|---|
|
boolean |
getAck() Gets if acknowledgement is required. |
|
String |
getCredentials() Gets the user credentials for authentication. |
|
byte[] |
getData() Gets the data to be transferred. |
|
String |
getFilename() Gets the name of the remote file. |
|
int |
getTo() Gets the destination node address. |
|
void |
setAck(boolean ack) Sets true if acknowledgement is required. |
|
void |
setCredentials(String credentials) Sets the user credentials for authentication. |
|
void |
setData(byte[] data) Sets the data to be transferred. |
|
void |
setFilename(String filename) Sets the name of the remote file. |
|
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 user credentials for authentication.
Gets the data to be transferred.
Gets the name of the remote file.
Gets the destination node address.
Sets true if acknowledgement is required.
ack
- true if ACK is requiredSets the user credentials for authentication.
credentials
- credentialsSets the data to be transferred.
data
- data to be transferredSets the name of the remote file.
filename
- name of the remote fileSets the destination.
destination
- addressCopyright 2013-19, Acoustic Research Laboratory, National University of Singapore, and Subnero Pte Ltd