Package com.jme3.network.rmi
Class ObjectStore.ServerEventHandler
java.lang.Object
com.jme3.network.rmi.ObjectStore.ServerEventHandler
- All Implemented Interfaces:
ConnectionListener
,MessageListener<HostedConnection>
- Enclosing class:
- ObjectStore
public class ObjectStore.ServerEventHandler
extends Object
implements MessageListener<HostedConnection>, ConnectionListener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
connectionAdded
(Server server, HostedConnection conn) Called when a connection has been added to the specified server and is fully setup.void
connectionRemoved
(Server server, HostedConnection conn) Called when a connection has been removed from the specified server.void
messageReceived
(HostedConnection source, Message m)
-
Constructor Details
-
ServerEventHandler
public ServerEventHandler()
-
-
Method Details
-
messageReceived
- Specified by:
messageReceived
in interfaceMessageListener<HostedConnection>
-
connectionAdded
Description copied from interface:ConnectionListener
Called when a connection has been added to the specified server and is fully setup.- Specified by:
connectionAdded
in interfaceConnectionListener
-
connectionRemoved
Description copied from interface:ConnectionListener
Called when a connection has been removed from the specified server.- Specified by:
connectionRemoved
in interfaceConnectionListener
-