com.jme3.network
Interface ClientStateListener

All Known Implementing Classes:
ObjectStore.ClientEventHandler

public interface ClientStateListener

Listener that is notified about the connection state of a Client.


Nested Class Summary
static class ClientStateListener.DisconnectInfo
          Provided with the clientDisconnected() notification to include additional information about the disconnect.
 
Method Summary
 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.
 

Method Detail

clientConnected

void clientConnected(Client c)
Called when the specified client is fully connected to the remote server.


clientDisconnected

void clientDisconnected(Client c,
                        ClientStateListener.DisconnectInfo info)
Called when the client has disconnected from the remote server. If info is null then the client shut down the connection normally, otherwise the info object contains additional information about the disconnect.