Response message for address resolution request.
Constructor and description |
---|
AddressResolutionRsp
(Message msg) |
AddressResolutionRsp
(Message msg, String name, int address) |
Type Params | Return Type | Name and description |
---|---|---|
|
int |
getAddress() Gets the node address. |
|
String |
getName() Gets the node name. |
|
void |
setAddress(int address) Sets the node address. |
|
void |
setName(String name) Sets the node name. |
|
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 node address.
Gets the node name.
Sets the node address.
address
- addressSets the node name.
name
- node nameCopyright 2013-21, Acoustic Research Laboratory, National University of Singapore, and Subnero Pte Ltd