Notification message for collision of frames.
Constructor and description |
---|
CollisionNtf
() |
Type Params | Return Type | Name and description |
---|---|---|
|
float |
getDetector() Gets the detector output. |
|
Long |
getRxTime() Gets the rx timestamp in us. |
|
int |
getType() Gets the channel type Physical.DATA or Physical.CONTROL. |
|
void |
setDetector(float x) Sets the detector output. |
|
void |
setRxTime(Long time) Sets the rx timestamp in us. |
|
void |
setRxTime(long time) Sets the rx timestamp in us. |
|
void |
setType(int type) Sets the channel 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 the detector output.
Gets the rx timestamp in us.
Gets the channel type Physical.DATA or Physical.CONTROL.
Sets the detector output.
x
- detector metric (0-1)Sets the rx timestamp in us.
time
- timestamp of receptionSets the rx timestamp in us.
time
- timestamp of receptionSets the channel type.
type
- channel typeCopyright 2013-21, Acoustic Research Laboratory, National University of Singapore, and Subnero Pte Ltd