| Package | Description |
|---|---|
| com.jme3.network |
The network package contains the public API for the jME3
SpiderMonkey networking module.
|
| com.jme3.network.base | |
| com.jme3.network.rmi | |
| com.jme3.network.service.serializer | |
| com.jme3.network.util |
| Modifier and Type | Method and Description |
|---|---|
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 |
Server.addMessageListener(MessageListener<? super HostedConnection> listener)
Adds a listener that will be notified when any message or object
is received from one of the clients.
|
void |
Server.addMessageListener(MessageListener<? super HostedConnection> listener,
java.lang.Class... classes)
Adds a listener that will be notified when messages of the specified
types are received from one of the clients.
|
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.
|
void |
Server.removeMessageListener(MessageListener<? super HostedConnection> listener)
Removes a previously registered wildcard listener.
|
void |
Server.removeMessageListener(MessageListener<? super HostedConnection> listener,
java.lang.Class... classes)
Removes a previously registered type-specific listener from
the specified types.
|
| Modifier and Type | Class and Description |
|---|---|
protected class |
DefaultClient.Redispatch |
protected class |
DefaultServer.Redispatch |
class |
MessageListenerRegistry<S>
Keeps track of message listeners registered to specific
types or to any type.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<MessageListener<? super S>> |
MessageListenerRegistry.getListeners(java.lang.Class c,
boolean create) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultClient.addMessageListener(MessageListener<? super Client> listener) |
void |
DefaultClient.addMessageListener(MessageListener<? super Client> listener,
java.lang.Class... classes) |
void |
DefaultServer.addMessageListener(MessageListener<? super HostedConnection> listener) |
void |
DefaultServer.addMessageListener(MessageListener<? super HostedConnection> listener,
java.lang.Class... classes) |
void |
MessageListenerRegistry.addMessageListener(MessageListener<? super S> listener) |
void |
MessageListenerRegistry.addMessageListener(MessageListener<? super S> listener,
java.lang.Class... classes) |
void |
DefaultClient.removeMessageListener(MessageListener<? super Client> listener) |
void |
DefaultClient.removeMessageListener(MessageListener<? super Client> listener,
java.lang.Class... classes) |
void |
DefaultServer.removeMessageListener(MessageListener<? super HostedConnection> listener) |
void |
DefaultServer.removeMessageListener(MessageListener<? super HostedConnection> listener,
java.lang.Class... classes) |
void |
MessageListenerRegistry.removeMessageListener(MessageListener<? super S> listener) |
void |
MessageListenerRegistry.removeMessageListener(MessageListener<? super S> listener,
java.lang.Class... classes) |
| Constructor and Description |
|---|
ConnectorAdapter(Connector connector,
MessageListener<java.lang.Object> dispatcher,
ErrorListener<java.lang.Object> errorHandler,
boolean reliable) |
KernelAdapter(DefaultServer server,
Kernel kernel,
MessageListener<HostedConnection> messageDispatcher,
boolean reliable) |
| Modifier and Type | Class and Description |
|---|---|
class |
ObjectStore.ClientEventHandler |
class |
ObjectStore.ServerEventHandler |
| Modifier and Type | Class and Description |
|---|---|
class |
ClientSerializerRegistrationsService |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractMessageDelegator<S extends MessageConnection>
A MessageListener implementation that will forward messages to methods
of a delegate object.
|
class |
ObjectMessageDelegator<S extends MessageConnection>
A MessageListener implementation that will forward messages to methods
of a specified delegate object.
|
class |
SessionDataDelegator
A MessageListener implementation that will forward messages to methods
of a delegate specified as a HostedConnection session attribute.
|