viceroy.net
Interface LeavingPeerListener
- All Superinterfaces:
- Listener
- All Known Implementing Classes:
- LocalViceroyPeer.MyLeavingPeerListener
- public interface LeavingPeerListener
- extends Listener
Describes a listener for the message LeavingPeerMessage.
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:
LeavingPeerMessage
onLeavingPeerMessage
public void onLeavingPeerMessage(LeavingPeerMessage message)
- The method should be called only when a LeavingPeerMessage arrives for
the bounded object.
It activates the right method on the bounded object.
- Parameters:
message - The message that arrived