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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconnectionAdded(Server server, HostedConnection conn) Called when a connection has been added to the specified server and is fully setup.voidconnectionRemoved(Server server, HostedConnection conn) Called when a connection has been removed from the specified server.voidmessageReceived(HostedConnection source, Message m)
-
Constructor Details
-
ServerEventHandler
public ServerEventHandler()
-
-
Method Details
-
messageReceived
- Specified by:
messageReceivedin interfaceMessageListener<HostedConnection>
-
connectionAdded
Description copied from interface:ConnectionListenerCalled when a connection has been added to the specified server and is fully setup.- Specified by:
connectionAddedin interfaceConnectionListener
-
connectionRemoved
Description copied from interface:ConnectionListenerCalled when a connection has been removed from the specified server.- Specified by:
connectionRemovedin interfaceConnectionListener
-