Notification message for start of transmission.
Modifiers | Name | Description |
---|---|---|
protected Integer |
txDuration |
|
protected Long |
txTime |
|
protected int |
type |
Type | Name and description |
---|---|
Integer |
txDuration |
Long |
txTime |
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 |
setPerformative, toString, getSender, setMessageID, getSentAt, setRecipient, getInReplyTo, setSentAt, setSender, getPerformative, getRecipient, getMessageID, setInReplyTo, wait, wait, wait, equals, 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-21, Acoustic Research Laboratory, National University of Singapore, and Subnero Pte Ltd