Notification message to indicate the status of channel reservation for a particular request.
| Modifiers | Name | Description |
|---|---|---|
protected int |
from |
|
protected byte[] |
payload |
|
protected ReservationStatus |
status |
|
protected int |
to |
| Type | Name and description |
|---|---|
int |
from |
byte[] |
payload |
ReservationStatus |
status |
int |
to |
| Constructor and description |
|---|
ReservationStatusNtf
()Constructor to set the performative to org.arl.fjage.Performative#INFORM. |
ReservationStatusNtf
(org.arl.fjage.AgentID recipient)Constructor to specify the recipient agent/topic. |
ReservationStatusNtf
(ReservationReq request)Constructor to specify the original request associated with this message. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
int |
getFrom()Gets the address of the source node. |
|
byte[] |
getPayload()Gets payload information in byte[] format. |
|
ReservationStatus |
getStatus()Gets the current status of channel reservation for a particular reservation request. |
|
int |
getTo()Gets the address (NodeInfoParam.address) of the destination node. |
|
void |
setFrom(int from)Sets the address of the source node. |
|
void |
setPayload(byte[] payload)Sets payload information using a byte[]. |
|
void |
setStatus(ReservationStatus status)Sets the current status of channel reservation for a particular reservation request. |
|
void |
setTo(int to)Sets the address of the destination node. |
|
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() |
Constructor to set the performative to org.arl.fjage.Performative#INFORM.
Constructor to specify the recipient agent/topic.
recipient - ntf AgentIDConstructor to specify the original request associated with this message.
request - request associated with this messageGets the address of the source node.
Gets payload information in byte[] format.
Gets the current status of channel reservation for a particular reservation request.
Gets the address (NodeInfoParam.address) of the destination node.
Sets the address of the source node.
from - source addressSets payload information using a byte[].
payload - payload info in byte[]Sets the current status of channel reservation for a particular reservation request.
status - to one of the values in ReservationStatusSets the address of the destination node.
to - destination addressGroovy Documentation