viceroy
Class LocalViceroyPeer.MyDiscoverListener

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

private class LocalViceroyPeer.MyDiscoverListener
extends java.lang.Object
implements DiscoverListener

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

See Also:
LocalViceroyPeer.discoverReceived(viceroy.ViceroyPeer)

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

private LocalViceroyPeer.MyDiscoverListener()
Method Detail

onDiscoverMessage

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

Specified by:
onDiscoverMessage in interface DiscoverListener
Parameters:
message - The message that arrived