viceroy.net
Interface NewRightChildListener

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

public interface NewRightChildListener
extends Listener

Describes a listener for the message NewRightchildMessage. 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.NewRightchildMessage

Method Summary
 void onNewRightChildMessage(NewRightChildMessage message)
          The method should be called only when a NewRightchildMessage arrives for the bounded object.
 

Method Detail

onNewRightChildMessage

public void onNewRightChildMessage(NewRightChildMessage message)
The method should be called only when a NewRightchildMessage 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