ACK request message at the RX node. This message is sent by the client agent when it hears the ReservationStatusNtf, or when the client agent has received all the data. Usually sent to a MAC agent which provides MacCapability.RELIABILITY. The payload information is transmitted across in a ACK PDU.
Constructor and description |
---|
TxAckReq
() Constructor to set the performative to Performative.REQUEST. |
TxAckReq
(AgentID recipient) Constructor to set the recipient agentID |
Type Params | Return Type | Name and description |
---|---|---|
|
byte[] |
getPayload() Gets the payload information as a byte[]. |
|
Object |
getRequestID() Gets the unique identifier associated with a reservation request. |
|
void |
setPayload(byte[] payload) Sets payload with information using a byte[], any information that is to be communicated with the Tx client agent. |
|
void |
setRequestID(Object requestID) Sets the identifier of the reservation request to a unique value. |
|
String |
toString() |
Methods inherited from class | Name |
---|---|
class Message |
setPerformative, toString, getSender, setMessageID, getSentAt, setRecipient, getInReplyTo, setSentAt, setSender, getPerformative, getRecipient, getMessageID, setInReplyTo, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
Constructor to set the performative to Performative.REQUEST.
Constructor to set the recipient agentID
recipient
- AgentIDGets the payload information as a byte[].
Gets the unique identifier associated with a reservation request.
Sets payload with information using a byte[], any information that is to be communicated with the Tx client agent.
payload
- information in byte[]Sets the identifier of the reservation request to a unique value.
requestID
- unique identifierCopyright 2013-21, Acoustic Research Laboratory, National University of Singapore, and Subnero Pte Ltd