viceroy.net
Class NewLeftChildMessage

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

public final class NewLeftChildMessage
extends NewFieldMessage

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

Author:
Anat Talmy
, Oren Dobzinski

Field Summary
 
Fields inherited from class viceroy.net.NewFieldMessage
 
Constructor Summary
NewLeftChildMessage(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

NewLeftChildMessage

public NewLeftChildMessage(ViceroyPeer pred)
generates a new Message

Parameters:
pred - the new leftchild 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