viceroy
Class LocalViceroyPeer.MyNewSuccessorListener

java.lang.Object
  |
  +--viceroy.LocalViceroyPeer.MyNewSuccessorListener
All Implemented Interfaces:
Listener, NewSuccessorListener
Enclosing class:
LocalViceroyPeer

private class LocalViceroyPeer.MyNewSuccessorListener
extends java.lang.Object
implements NewSuccessorListener

a Listener class. Listens for a NewSuccessor message coming in.

See Also:
LocalViceroyPeer.newSuccessorReceived(viceroy.ViceroyPeer)

Constructor Summary
private LocalViceroyPeer.MyNewSuccessorListener()
           
 
Method Summary
 void onNewSuccessorMessage(NewSuccessorMessage message)
          The method should be called only when a NewSuccessorMessage arrives for the bounded object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalViceroyPeer.MyNewSuccessorListener

private LocalViceroyPeer.MyNewSuccessorListener()
Method Detail

onNewSuccessorMessage

public void onNewSuccessorMessage(NewSuccessorMessage message)
Description copied from interface: NewSuccessorListener
The method should be called only when a NewSuccessorMessage arrives for the bounded object. It activates the right method on the bounded object.

Specified by:
onNewSuccessorMessage in interface NewSuccessorListener
Parameters:
message - The message that arrived