Request to transfer a file to a remote node.
| Modifiers | Name | Description |
|---|---|---|
protected java.lang.String |
credentials |
|
protected byte[] |
data |
|
protected java.lang.String |
filename |
|
protected java.lang.String |
localFilename |
|
protected Priority |
priority |
|
protected boolean |
progress |
|
protected boolean |
resume |
|
protected int |
to |
| Type | Name and description |
|---|---|
java.lang.String |
credentials |
byte[] |
data |
java.lang.String |
filename |
java.lang.String |
localFilename |
Priority |
priority |
int |
to |
| Constructor and description |
|---|
RemoteFilePutReq
() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.lang.String |
getCredentials()Gets the user credentials for authentication. |
|
byte[] |
getData()Gets the data to be transferred. |
|
java.lang.String |
getFilename()Gets the name of the remote file. |
|
java.lang.String |
getLocalFilename()Gets the name of the local file. |
|
Priority |
getPriority()Gets the priority of the request. |
|
boolean |
getProgress()Gets whether progress notifications are to be sent. |
|
boolean |
getResume()Gets if previously interrupted file transfer may be resumed. |
|
int |
getTo()Gets the destination node address. |
|
void |
setCredentials(java.lang.String credentials)Sets the user credentials for authentication. |
|
void |
setData(byte[] data)Sets the data to be transferred. |
|
void |
setFilename(java.lang.String filename)Sets the name of the remote file. |
|
void |
setLocalFilename(java.lang.String filename)Sets the name of the local file. |
|
void |
setPriority(Priority priority)Sets the priority of the request. |
|
void |
setProgress(boolean b)Sets whether progress notifications should be sent. |
|
void |
setResume(boolean resume)Sets if previously interrupted file transfer may be resumed. |
|
void |
setTo(int destination)Sets the destination. |
|
java.lang.String |
toString() |
| Methods inherited from class | Name |
|---|---|
class org.arl.fjage.Message |
org.arl.fjage.Message#toString(), org.arl.fjage.Message#setPerformative(org.arl.fjage.Performative), org.arl.fjage.Message#getPerformative(), org.arl.fjage.Message#setRecipient(org.arl.fjage.AgentID), org.arl.fjage.Message#getRecipient(), org.arl.fjage.Message#setSender(org.arl.fjage.AgentID), org.arl.fjage.Message#getSender(), org.arl.fjage.Message#setMessageID(java.lang.String), org.arl.fjage.Message#getMessageID(), org.arl.fjage.Message#setInReplyTo(java.lang.String), org.arl.fjage.Message#getInReplyTo(), org.arl.fjage.Message#setSentAt(long), org.arl.fjage.Message#getSentAt(), org.arl.fjage.Message#getJsonCache(), org.arl.fjage.Message#setJsonCache(java.lang.String), org.arl.fjage.Message#wait(long, int), org.arl.fjage.Message#wait(long), org.arl.fjage.Message#wait(), org.arl.fjage.Message#equals(java.lang.Object), org.arl.fjage.Message#hashCode(), org.arl.fjage.Message#getClass(), org.arl.fjage.Message#notify(), org.arl.fjage.Message#notifyAll() |
Gets the user credentials for authentication.
Gets the data to be transferred.
Gets the name of the remote file.
Gets the name of the local file. If the local filename is null, it is assumed to be the same as the remote filename.
Gets the priority of the request.
Gets whether progress notifications are to be sent.
Gets if previously interrupted file transfer may be resumed.
Gets the destination node address.
Sets the user credentials for authentication.
credentials - credentialsSets the data to be transferred. If data is null, a file with the same name as the remote file is read from the local file system.
data - data to be transferredSets the name of the remote file.
filename - name of the remote fileSets the name of the local file. If the local filename is null, it is assumed to be the same as the remote filename.
filename - name of the local fileSets the priority of the request. Priority is advisory, and an agent may choose to ignore it, if it does not support prioritization.
priority - priority assigned to the request.Sets whether progress notifications should be sent.
b - true to send progress notificationsSets if previously interrupted file transfer may be resumed.
resume - true if resume allowed, false to start afreshSets the destination.
destination - addressGroovy Documentation