Request message to fetch range and sync information from a destination.
Type Params | Return Type | Name and description |
---|---|---|
|
int |
getTo() Gets the destination node address. |
|
boolean |
isReqBeacon() Checks if beacon from destination is requested. |
|
boolean |
isTxBeacon() If it is transmit request for a beacon. |
|
void |
setReqBeacon(boolean reqBeacon) Requests for transmission of a beacon from destination. |
|
void |
setTo(int destination) Sets the destination address. |
|
void |
setTxBeacon(boolean txBeacon) Sets true if transmission of beacon is requested. |
|
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 |
Constructs range request message with destination node address.
destination
- destination addressGets the destination node address.
Checks if beacon from destination is requested.
If it is transmit request for a beacon.
Requests for transmission of a beacon from destination.
reqBeacon
- true if want to include request for a range beacon from
destination peerSets the destination address.
destination
- addressSets true if transmission of beacon is requested.
txBeacon
- true if transmission of beacon is requestedCopyright 2013-19, Acoustic Research Laboratory, National University of Singapore, and Subnero Pte Ltd