public class ObjectStore.ClientEventHandler extends java.lang.Object implements MessageListener, ClientStateListener
ClientStateListener.DisconnectInfo
Constructor and Description |
---|
ClientEventHandler() |
Modifier and Type | Method and Description |
---|---|
void |
clientConnected(Client c)
Called when the specified client is fully connected to
the remote server.
|
void |
clientDisconnected(Client c,
ClientStateListener.DisconnectInfo info)
Called when the client has disconnected from the remote
server.
|
void |
messageReceived(java.lang.Object source,
Message m) |
public void messageReceived(java.lang.Object source, Message m)
messageReceived
in interface MessageListener
public void clientConnected(Client c)
ClientStateListener
clientConnected
in interface ClientStateListener
public void clientDisconnected(Client c, ClientStateListener.DisconnectInfo info)
ClientStateListener
clientDisconnected
in interface ClientStateListener