|
jGCS Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ControlListener
This class defines a ControlListener. This listener must be used by clients that wish to be notified of changes in the members that join, leave or fail in a simple group.
| Method Summary | |
|---|---|
void |
onFailed(java.net.SocketAddress peer)
Notification of a member that was detected as failed. |
void |
onJoin(java.net.SocketAddress peer)
Notification of a new member in the group. |
void |
onLeave(java.net.SocketAddress peer)
Notification of a member that leaved the group. |
| Method Detail |
|---|
void onJoin(java.net.SocketAddress peer)
peer - the address of the new member.void onLeave(java.net.SocketAddress peer)
peer - the address of the leaved member.void onFailed(java.net.SocketAddress peer)
peer - the address of the member that failed.
|
jGCS Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||