|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConnectionObserver
Users of this interface will be notified when changes to the state of connections take place.
Method Summary | |
---|---|
void |
connectionEstablished(SocketAddress sa,
int reconnectCount)
A connection has just successfully been established on the given socket. |
void |
connectionLost(SocketAddress sa)
A connection was just lost on the given socket. |
Method Detail |
---|
void connectionEstablished(SocketAddress sa, int reconnectCount)
sa
- the address of the node whose connection was establishedreconnectCount
- the number of attempts before the connection was
establishedvoid connectionLost(SocketAddress sa)
sa
- the address of the node whose connection was lost
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |