|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConnectionListener
This interface defines callbacks pertaining to remote host lifecycle.
| Method Summary | |
|---|---|
void |
onConnectionClosed(ServerAddress addr)
This method is called when a remote host has closed its connection to the server. |
void |
onConnectionCreated(ServerAddress addr)
This method is called when a remote host opens its connection to the server. |
| Method Detail |
|---|
void onConnectionClosed(ServerAddress addr)
addr - the ServerAddress of the server whose connection has been closed.void onConnectionCreated(ServerAddress addr)
addr - the ServerAddress of the server whose connection has just been opened.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||