viceroy.net
Interface NewSuccessorListener

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

public interface NewSuccessorListener
extends Listener

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

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

Method Detail

onNewSuccessorMessage

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

Parameters:
message - The message that arrived