|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClientConnectionListener
An interface to allow a server to listen to client disconnection events.
Method Summary | |
---|---|
void |
clientConnected(ClientId clientId,
java.lang.String clientHostname,
int clientPort)
Notification that a new client has just started. |
void |
clientDisconnected(ClientId clientId)
Notification that the client with the given clientId has disconnected. |
Method Detail |
---|
void clientConnected(ClientId clientId, java.lang.String clientHostname, int clientPort)
clientId
- The id of the new client.clientHostname
- The hostname of the new client.clientPort
- The port of the new client.void clientDisconnected(ClientId clientId)
clientId
- The id of the disconnected client.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |