|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Callbacks binds together the list of callbacks a group has to implement. Each event is the application "answer" to a specific event.
Method Summary | |
void |
block()
The group is blocked in preparation for a view-change. |
void |
exit()
The group is leaving, and this is the final callback to the group. |
void |
flow_block(int rank,
boolean onoff)
Too many messages are being sent to a specific destination, or to the whole group. |
void |
heartbeat(double time)
Every predetemined timeout, this callback is invoked with the current time. |
void |
install(ensemble.View view)
A new view has been installed. |
void |
recv_cast(int origin,
byte[] msg)
A message has been received from the indicated origin. |
void |
recv_send(int origin,
byte[] msg)
A message has been received from the indicated origin. |
Method Detail |
public void install(ensemble.View view)
public void exit()
public void recv_cast(int origin, byte[] msg)
origin
- message originmsg
- message bodypublic void recv_send(int origin, byte[] msg)
origin
- message originmsg
- message bodypublic void flow_block(int rank, boolean onoff)
rank
- the member to which we need to stop sending messages.
(-1) for multicast traffic.onoff
- Should we stop (true), or continue (false)public void block()
install(ensemble.View)
callback.
public void heartbeat(double time)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |