Notification of a successfully transmitted frame with tx timestamp. It is sent when TxFrameReq message is processed and frame is transmitted by physical agent.
Constructor and description |
---|
TxFrameNtf
() |
TxFrameNtf
(AgentID recipient) |
TxFrameNtf
(Message inReplyTo) |
Type Params | Return Type | Name and description |
---|---|---|
|
double[] |
getLocation() Gets the location where this frame was received. |
|
Long |
getTxTime() Returns transmission timestamp. |
|
int |
getType() Gets the frame type. |
|
void |
setLocation(double[] location) Sets the location where this frame was received. |
|
void |
setTxTime(Long time) Sets the transmission timestamp in us. |
|
void |
setTxTime(long time) Sets the transmission timestamp in us. |
|
void |
setType(int type) Sets the frame type. |
|
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 |
Gets the location where this frame was received.
Returns transmission timestamp. Time stamp indicates the start of frame transmission.
Gets the frame type.
Sets the location where this frame was received.
location
- coordinates (x, y) or (x, y, z), or null if unavailableSets the transmission timestamp in us.
time
- framework timestamp in us.Sets the transmission timestamp in us.
time
- framework timestamp in us.Sets the frame type.
type
- frame typeCopyright 2013-19, Acoustic Research Laboratory, National University of Singapore, and Subnero Pte Ltd