planet.chord.message
Class IdMessage

java.lang.Object
  extended byplanet.chord.message.IdMessage
All Implemented Interfaces:
Message, java.io.Serializable

public class IdMessage
extends java.lang.Object
implements Message

Chord uses this message to inform to another one any Id that it is required.

Author:
Jordi Pujol Date: 01/07/2004
See Also:
Serialized Form

Constructor Summary
IdMessage(Id id)
          Shows the Id to send with this message.
 
Method Summary
 Id getNode()
           
 void setNode(Id id)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IdMessage

public IdMessage(Id id)
Shows the Id to send with this message.

Parameters:
id - Id to send.
Method Detail

getNode

public Id getNode()
Returns:
Returns the Id.

setNode

public void setNode(Id id)
Parameters:
id - The Id to set.

toString

public java.lang.String toString()
See Also:
Object.toString()


ONT>