viceroy.net
Interface NewLeftChildListener

All Superinterfaces:
Listener
All Known Implementing Classes:
LocalViceroyPeer.MyNewLeftChildListener

public interface NewLeftChildListener
extends Listener

Describes a listener for the message NewLeftchildMessage. A listener is set per message and object. The naming convension for it: the listener and the object are bounded.

Author:
Anat Talmy
, Oren Dobzinski
See Also:
viceroy.net.NewLeftchildMessage

Method Summary
 void onNewLeftChildMessage(NewLeftChildMessage message)
          The method should be called only when a NewLeftchildMessage arrives for the bounded object.
 

Method Detail

onNewLeftChildMessage

public void onNewLeftChildMessage(NewLeftChildMessage message)
The method should be called only when a NewLeftchildMessage arrives for the bounded object. It activates the right method on the bounded object.

Parameters:
message - The message that arrived
Throws:
java.lang.IllegalStateException
ResourceNotFoundException