viceroy.net
Class NewSuccessorMessage

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

public final class NewSuccessorMessage
extends NewFieldMessage

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

Author:
Anat Talmy
, Oren Dobzinski

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

NewSuccessorMessage

public NewSuccessorMessage(ViceroyPeer succ)
generates a new Message

Method Detail

getType

public MessageType getType()
gets the type of the message

Returns:
the type of the message
See Also:
MessageType