|
ePOST API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrice.pastry.messaging.Message
rice.pastry.socket.messaging.SocketMessage
rice.pastry.socket.messaging.NodeIdResponseMessage
public class NodeIdResponseMessage
A response message to a NodeIdRequestMessage, containing the remote node's nodeId.
| Field Summary |
|---|
| Fields inherited from class rice.pastry.messaging.Message |
|---|
DEFAULT_PRIORITY_LEVEL |
| Constructor Summary | |
|---|---|
NodeIdResponseMessage(NodeId nid,
long epoch)
Constructor |
|
| Method Summary | |
|---|---|
long |
getEpoch()
Returns the epoch of this address |
NodeId |
getNodeId()
Returns the nodeId of the receiver. |
| Methods inherited from class rice.pastry.messaging.Message |
|---|
getCredentials, getDate, getDestination, getPriority, getSender, getSenderId, setPriority, setSender, stamp |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NodeIdResponseMessage(NodeId nid,
long epoch)
nid - The nodeId of the receiver of the NodeIdRequestMessage.| Method Detail |
|---|
public NodeId getNodeId()
public long getEpoch()
|
ePOST API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||