|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use 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 |
Uses of Client in com.jme3.network |
---|
Subinterfaces of Client in com.jme3.network | |
---|---|
interface |
NetworkClient
A Client whose network connection information can be provided post-creation. |
Classes in com.jme3.network that implement Client | |
---|---|
protected static class |
Network.NetworkClientImpl
|
Methods in com.jme3.network that return Client | |
---|---|
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. |
Methods in com.jme3.network with parameters of type Client | |
---|---|
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. |
Method parameters in com.jme3.network with type arguments of type Client | |
---|---|
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. |
Uses of Client in com.jme3.network.base |
---|
Classes in com.jme3.network.base that implement Client | |
---|---|
class |
DefaultClient
A default implementation of the Client interface that delegates its network connectivity to a kernel.Connector. |
Method parameters in com.jme3.network.base with type arguments of type Client | |
---|---|
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)
|
Uses of Client in com.jme3.network.rmi |
---|
Methods in com.jme3.network.rmi with parameters of type Client | |
---|---|
void |
ObjectStore.ClientEventHandler.clientConnected(Client c)
|
void |
ObjectStore.ClientEventHandler.clientDisconnected(Client c,
ClientStateListener.DisconnectInfo info)
|
Constructors in com.jme3.network.rmi with parameters of type Client | |
---|---|
ObjectStore(Client client)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |