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 |
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 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-19, Acoustic Research Laboratory, National University of Singapore, and Subnero Pte Ltd