Rice Pastry API

rice.pastry.wire.messaging.socket
Class NodeIdResponseMessage

java.lang.Object
  |
  +--rice.pastry.wire.messaging.socket.SocketMessage
        |
        +--rice.pastry.wire.messaging.socket.SocketCommandMessage
              |
              +--rice.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.

Version:
$Id: NodeIdResponseMessage.java,v 1.1 2002/08/28 02:34:59 amislove Exp $
Author:
Alan Mislove
See Also:
Serialized Form

Constructor Summary
NodeIdResponseMessage(rice.pastry.NodeId nid)
          Constructor
 
Method Summary
 rice.pastry.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(rice.pastry.NodeId nid)
Constructor

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

getNodeId

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

Returns:
The NodeId of the receiver node.

Rice Pastry API

Copyright © 2001 - Rice Pastry.


Imprint-Dataprotection