インタフェース
com.jme3.network.Client の使用

Client を使用しているパッケージ
com.jme3.network The network package contains the public API for the jME3 SpiderMonkey networking module. 
com.jme3.network.base The base package contains the default implementations for the Client and Server interfaces from the public API. 
com.jme3.network.rmi   
 

com.jme3.network での Client の使用
 

com.jme3.network での Client のサブインタフェース
 interface NetworkClient
          A Client whose network connection information can be provided post-creation.
 

Client を返す com.jme3.network のメソッド
static Client Network.connectToServer(java.lang.String host, int hostPort)
          Creates a Client that communicates with the specified host and port using both reliable and fast transports.
static Client Network.connectToServer(java.lang.String host, int hostPort, int remoteUdpPort)
          Creates a Client that communicates with the specified host and separate TCP and UDP ports using both reliable and fast transports.
static Client Network.connectToServer(java.lang.String gameName, int version, java.lang.String host, int hostPort)
          Creates a Client that communicates with the specified host and port using both reliable and fast transports.
static Client Network.connectToServer(java.lang.String gameName, int version, java.lang.String host, int hostPort, int remoteUdpPort)
          Creates a Client that communicates with the specified host and and separate TCP and UDP ports using both reliable and fast transports.
 

Client 型のパラメータを持つ com.jme3.network のメソッド
 void ClientStateListener.clientConnected(Client c)
          Called when the specified client is fully connected to the remote server.
 void ClientStateListener.clientDisconnected(Client c, ClientStateListener.DisconnectInfo info)
          Called when the client has disconnected from the remote server.
 

Client 型の型引数を持つ com.jme3.network のメソッドパラメータ
 void Client.addErrorListener(ErrorListener<? super Client> listener)
          Adds a listener that will be notified when any connection errors occur.
 void Client.addMessageListener(MessageListener<? super Client> listener)
          Adds a listener that will be notified when any message or object is received from the server.
 void Client.addMessageListener(MessageListener<? super Client> listener, java.lang.Class... classes)
          Adds a listener that will be notified when messages of the specified types are received.
 void Client.removeErrorListener(ErrorListener<? super Client> listener)
          Removes a previously registered error listener.
 void Client.removeMessageListener(MessageListener<? super Client> listener)
          Removes a previously registered wildcard listener.
 void Client.removeMessageListener(MessageListener<? super Client> listener, java.lang.Class... classes)
          Removes a previously registered type-specific listener from the specified types.
 

com.jme3.network.base での Client の使用
 

Client を実装している com.jme3.network.base のクラス
 class DefaultClient
          A default implementation of the Client interface that delegates its network connectivity to a kernel.Connector.
 

Client 型の型引数を持つ com.jme3.network.base のメソッドパラメータ
 void DefaultClient.addErrorListener(ErrorListener<? super Client> listener)
           
 void DefaultClient.addMessageListener(MessageListener<? super Client> listener)
           
 void DefaultClient.addMessageListener(MessageListener<? super Client> listener, java.lang.Class... classes)
           
 void DefaultClient.removeErrorListener(ErrorListener<? super Client> listener)
           
 void DefaultClient.removeMessageListener(MessageListener<? super Client> listener)
           
 void DefaultClient.removeMessageListener(MessageListener<? super Client> listener, java.lang.Class... classes)
           
 

com.jme3.network.rmi での Client の使用
 

Client 型のパラメータを持つ com.jme3.network.rmi のメソッド
 void ObjectStore.ClientEventHandler.clientConnected(Client c)
           
 void ObjectStore.ClientEventHandler.clientDisconnected(Client c, ClientStateListener.DisconnectInfo info)
           
 

Client 型のパラメータを持つ com.jme3.network.rmi のコンストラクタ
ObjectStore(Client client)