viceroy
Class LocalViceroyPeer.MyNewParentListener

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

private class LocalViceroyPeer.MyNewParentListener
extends java.lang.Object
implements NewParentListener

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

See Also:
LocalViceroyPeer.newParentReceived(viceroy.ViceroyPeer)

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

private LocalViceroyPeer.MyNewParentListener()
Method Detail

onNewParentMessage

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

Specified by:
onNewParentMessage in interface NewParentListener
Parameters:
message - The message that arrived