Notification message for start of transmission. To listen to these notifications subscribe to service Services#PHYSICAL#PHYSICAL.
Modifiers | Name | Description |
---|---|---|
protected Integer |
txDuration |
|
protected Long |
txTime |
|
protected int |
type |
Constructor and description |
---|
TxFrameStartNtf
() |
TxFrameStartNtf
(AgentID recipient) |
TxFrameStartNtf
(Message inReplyTo) |
TxFrameStartNtf
(AgentID recipient, Message inReplyTo) |
Type Params | Return Type | Name and description |
---|---|---|
|
Integer |
getTxDuration() Gets reception duration. |
|
Long |
getTxTime() Gets transmission timestamp. |
|
int |
getType() Gets the frame type. |
|
void |
setTxDuration(Integer duration) Sets the reception duration in us. |
|
void |
setTxDuration(int duration) Sets the reception duration in us. |
|
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 reception duration.
Gets transmission timestamp. Time stamp indicates the start of frame transmission. This timestamp may be less accurate than the corresponding TxFrameNtf timestamp, as the latter is sent after the transmission is made and has more certainty on the start time of the transmission.
Gets the frame type.
Sets the reception duration in us.
duration
- estimated duration in us.Sets the reception duration in us.
duration
- estimated duration in us.Sets the transmission timestamp in us.
time
- timestamp in us.Sets the transmission timestamp in us.
time
- timestamp in us.Sets the frame type.
type
- frame typeCopyright 2013-19, Acoustic Research Laboratory, National University of Singapore, and Subnero Pte Ltd