Notification of completion of file transfer from a remote node.
| Modifiers | Name | Description |
|---|---|---|
protected byte[] |
data |
|
protected java.lang.String |
filename |
|
protected int |
from |
|
protected float |
transferDuration |
| Type | Name and description |
|---|---|
byte[] |
data |
java.lang.String |
filename |
int |
from |
float |
transferDuration |
| Constructor and description |
|---|
RemoteFileNtf
() |
RemoteFileNtf
(org.arl.fjage.Message msg) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
byte[] |
getData()Gets the data transferred. |
|
java.lang.String |
getFilename()Gets the name of the remote file. |
|
int |
getFrom()Gets the source node address. |
|
float |
getTransferDuration()Gets the time taken to transfer the file. |
|
void |
setData(byte[] data)Sets the data transferred. |
|
void |
setFilename(java.lang.String filename)Sets the name of the remote file. |
|
void |
setFrom(int source)Sets the source. |
|
void |
setTransferDuration(float duration)Sets the time taken to transfer the file. |
|
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 data transferred.
Gets the name of the remote file.
Gets the source node address.
Gets the time taken to transfer the file.
Sets the data transferred.
data - data transferredSets the name of the remote file.
filename - name of the remote fileSets the source.
source - addressSets the time taken to transfer the file.
duration - time taken to transfer the file in secondsGroovy Documentation