viceroy
Class LocalViceroyPeer.MyLeavingPeerListener

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

private class LocalViceroyPeer.MyLeavingPeerListener
extends java.lang.Object
implements LeavingPeerListener

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

See Also:
LocalViceroyPeer.leavingPeerReceived(viceroy.ViceroyPeer, viceroy.ViceroyPeer, viceroy.ViceroyPeer, java.util.SortedMap)

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

private LocalViceroyPeer.MyLeavingPeerListener()
Method Detail

onLeavingPeerMessage

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

Specified by:
onLeavingPeerMessage in interface LeavingPeerListener
Parameters:
message - The message that arrived