viceroy.net
Class NewRightChildMessage

java.lang.Object
  |
  +--viceroy.net.NewFieldMessage
        |
        +--viceroy.net.NewRightChildMessage
All Implemented Interfaces:
Message

public final class NewRightChildMessage
extends NewFieldMessage

represents a message which holds an update for the rightchild of the receiving peer

Author:
Anat Talmy
, Oren Dobzinski

Field Summary
 
Fields inherited from class viceroy.net.NewFieldMessage
 
Constructor Summary
NewRightChildMessage(ViceroyPeer pred)
          generates a new Message
 
Method Summary
 MessageType getType()
          gets the type of the message
 
Methods inherited from class viceroy.net.NewFieldMessage
getField
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewRightChildMessage

public NewRightChildMessage(ViceroyPeer pred)
generates a new Message

Parameters:
pred - the new rightchild that will reside in this message
Method Detail

getType

public MessageType getType()
gets the type of the message

Returns:
the type of the message
See Also:
MessageType