Request message that is sent from the client agent at the RX node, to the mac agent. Any information from the RX client agent is conveyed as the payload information. A client agent is any agent which is requesting a MAC agent for channel reservation.
Constructor and description |
---|
ReservationAcceptReq
() Constructor to set the performative to Performative.REQUEST |
ReservationAcceptReq
(AgentID recipient) Constructor to set recipient. |
Type Params | Return Type | Name and description |
---|---|---|
|
Object |
getId() Gets the unique identifier associated with a reservation request. |
|
byte[] |
getPayload() Gets the payload information in the form of byte[]. |
|
void |
setId(String id) Sets the unique identifier associated with a reservation request. |
|
void |
setPayload(byte[] payload) Sets the value with payload information with a byte[]. |
|
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 |
Constructor to set the performative to Performative.REQUEST
Constructor to set recipient.
recipient
- AgentID.Gets the unique identifier associated with a reservation request.
Gets the payload information in the form of byte[].
Sets the unique identifier associated with a reservation request.
id
- unique identifierSets the value with payload information with a byte[].
payload
- informationCopyright 2013-19, Acoustic Research Laboratory, National University of Singapore, and Subnero Pte Ltd