viceroy
Class LocalViceroyPeer.MyChangingLevelListener

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

private class LocalViceroyPeer.MyChangingLevelListener
extends java.lang.Object
implements ChangingLevelListener

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

See Also:
LocalViceroyPeer.newRightChildReceived(viceroy.ViceroyPeer)

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

private LocalViceroyPeer.MyChangingLevelListener()
Method Detail

onChangingLevelMessage

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

Specified by:
onChangingLevelMessage in interface ChangingLevelListener
Parameters:
message - The message that arrived