|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use HostedConnection | |
---|---|
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 HostedConnection in com.jme3.network |
---|
Methods in com.jme3.network that return HostedConnection | |
---|---|
HostedConnection |
Server.getConnection(int id)
Retrieves a hosted connection by ID. |
Methods in com.jme3.network that return types with arguments of type HostedConnection | |
---|---|
java.util.Collection<HostedConnection> |
Server.getConnections()
Retrieves a read-only collection of all currently connected connections. |
Methods in com.jme3.network with parameters of type HostedConnection | |
---|---|
void |
ConnectionListener.connectionAdded(Server server,
HostedConnection conn)
Called when a connection has been added to the specified server and is fully setup. |
void |
ConnectionListener.connectionRemoved(Server server,
HostedConnection conn)
Called when a connection has been removed from the specified server. |
Method parameters in com.jme3.network with type arguments of type HostedConnection | |
---|---|
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 |
Server.broadcast(Filter<? super HostedConnection> filter,
Message message)
Sends the specified message to all connected clients that match the filter. |
void |
Server.broadcast(int channel,
Filter<? super HostedConnection> filter,
Message message)
Sends the specified message over the specified alternate channel to all connected clients that match the filter. |
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. |
Uses of HostedConnection in com.jme3.network.base |
---|
Classes in com.jme3.network.base that implement HostedConnection | |
---|---|
protected class |
DefaultServer.Connection
|
Methods in com.jme3.network.base that return HostedConnection | |
---|---|
protected HostedConnection |
DefaultServer.getConnection(Endpoint endpoint)
|
protected HostedConnection |
KernelAdapter.getConnection(Endpoint p)
|
HostedConnection |
DefaultServer.getConnection(int id)
|
Methods in com.jme3.network.base that return types with arguments of type HostedConnection | |
---|---|
java.util.Collection<HostedConnection> |
DefaultServer.getConnections()
|
Methods in com.jme3.network.base with parameters of type HostedConnection | |
---|---|
protected void |
DefaultServer.dispatch(HostedConnection source,
Message m)
|
protected void |
DefaultServer.fireConnectionAdded(HostedConnection conn)
|
protected void |
DefaultServer.fireConnectionRemoved(HostedConnection conn)
|
void |
DefaultServer.Redispatch.messageReceived(HostedConnection source,
Message m)
|
Method parameters in com.jme3.network.base with type arguments of type HostedConnection | |
---|---|
void |
DefaultServer.addMessageListener(MessageListener<? super HostedConnection> listener)
|
void |
DefaultServer.addMessageListener(MessageListener<? super HostedConnection> listener,
java.lang.Class... classes)
|
void |
DefaultServer.broadcast(Filter<? super HostedConnection> filter,
Message message)
|
void |
DefaultServer.broadcast(int channel,
Filter<? super HostedConnection> filter,
Message message)
|
void |
DefaultServer.removeMessageListener(MessageListener<? super HostedConnection> listener)
|
void |
DefaultServer.removeMessageListener(MessageListener<? super HostedConnection> listener,
java.lang.Class... classes)
|
Constructor parameters in com.jme3.network.base with type arguments of type HostedConnection | |
---|---|
DefaultServer.FilterAdapter(Filter<? super HostedConnection> delegate)
|
|
KernelAdapter(DefaultServer server,
Kernel kernel,
MessageListener<HostedConnection> messageDispatcher,
boolean reliable)
|
Uses of HostedConnection in com.jme3.network.rmi |
---|
Methods in com.jme3.network.rmi with parameters of type HostedConnection | |
---|---|
void |
ObjectStore.ServerEventHandler.connectionAdded(Server server,
HostedConnection conn)
|
void |
ObjectStore.ServerEventHandler.connectionRemoved(Server server,
HostedConnection conn)
|
void |
ObjectStore.ServerEventHandler.messageReceived(HostedConnection source,
Message m)
|
Constructors in com.jme3.network.rmi with parameters of type HostedConnection | |
---|---|
RemoteObject(ObjectStore store,
HostedConnection client)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |