Response message for SyncInfoReq request message.
Constructor and description |
---|
SyncInfoRsp
(Message req) |
Type Params | Return Type | Name and description |
---|---|---|
|
long |
getOffset() Gets the clock offset. |
|
int |
getTo() Gets the peer address. |
|
long |
getValidTill() Gets the validity time till when the sync information is valid. |
|
void |
setOffset(long dt) Sets the clock offset. |
|
void |
setTo(int to) Sets the peer address. |
|
void |
setValidTill(long validTill) Sets the validity time. |
|
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 clock offset.
Gets the peer address.
Gets the validity time till when the sync information is valid.
Sets the clock offset.
dt
- in usSets the peer address.
to
- peer addressSets the validity time.
validTill
- validity timeCopyright 2013-19, Acoustic Research Laboratory, National University of Singapore, and Subnero Pte Ltd