viceroy
Class LocalViceroyPeer.MyNewPredecessorListener

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

private class LocalViceroyPeer.MyNewPredecessorListener
extends java.lang.Object
implements NewPredecessorListener

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

See Also:
LocalViceroyPeer.newPredecessorReceived(viceroy.ViceroyPeer)

Constructor Summary
private LocalViceroyPeer.MyNewPredecessorListener()
           
 
Method Summary
 void onNewPredecessorMessage(NewPredecessorMessage message)
          The method should be called only when a NewPredecessorMessage 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.MyNewPredecessorListener

private LocalViceroyPeer.MyNewPredecessorListener()
Method Detail

onNewPredecessorMessage

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

Specified by:
onNewPredecessorMessage in interface NewPredecessorListener
Parameters:
message - The message that arrived