com.jme3.network
インタフェース ClientStateListener

既知の実装クラスの一覧:
ObjectStore.ClientEventHandler

public interface ClientStateListener

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


入れ子のクラスの概要
static class ClientStateListener.DisconnectInfo
          Provided with the clientDisconnected() notification to include additional information about the disconnect.
 
メソッドの概要
 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.
 

メソッドの詳細

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.