viceroy.net
Interface ChangingLevelListener

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

public interface ChangingLevelListener
extends Listener

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

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

Method Detail

onChangingLevelMessage

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