rice.pastry.wire.messaging.socket
Class NodeIdResponseMessage

java.lang.Object
  extended byrice.pastry.wire.messaging.socket.SocketMessage
      extended byrice.pastry.wire.messaging.socket.SocketCommandMessage
          extended byrice.pastry.wire.messaging.socket.NodeIdResponseMessage
All Implemented Interfaces:
java.io.Serializable

public class NodeIdResponseMessage
extends SocketCommandMessage

A response message to a NodeIdRequestMessage, containing the remote node's nodeId.

See Also:
Serialized Form

Constructor Summary
NodeIdResponseMessage(NodeId nid)
          Constructor
 
Method Summary
 NodeId getNodeId()
          Returns the nodeId of the receiver.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeIdResponseMessage

public NodeIdResponseMessage(NodeId nid)
Constructor

Parameters:
nid - The nodeId of the receiver of the NodeIdRequestMessage.
Method Detail

getNodeId

public NodeId getNodeId()
Returns the nodeId of the receiver.

Returns:
The NodeId of the receiver node.





Imprint-Dataprotection