viceroy
Class LocalViceroyPeer.MyFindRelativeListener

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

private class LocalViceroyPeer.MyFindRelativeListener
extends java.lang.Object
implements FindRelativeListener

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

See Also:
LocalViceroyPeer.newRightChildReceived(viceroy.ViceroyPeer)

Constructor Summary
private LocalViceroyPeer.MyFindRelativeListener()
           
 
Method Summary
 void onFindRelativeMessage(FindRelativeMessage message)
          The method should be called only when a FindrelativeMessage 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.MyFindRelativeListener

private LocalViceroyPeer.MyFindRelativeListener()
Method Detail

onFindRelativeMessage

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

Specified by:
onFindRelativeMessage in interface FindRelativeListener
Parameters:
message - The message that arrived