com.jme3.network.rmi
Class ObjectStore.ServerEventHandler

java.lang.Object
  extended by com.jme3.network.rmi.ObjectStore.ServerEventHandler
All Implemented Interfaces:
ConnectionListener, MessageListener<HostedConnection>
Enclosing class:
ObjectStore

public class ObjectStore.ServerEventHandler
extends java.lang.Object
implements MessageListener<HostedConnection>, ConnectionListener


Constructor Summary
ObjectStore.ServerEventHandler()
           
 
Method Summary
 void 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectStore.ServerEventHandler

public ObjectStore.ServerEventHandler()
Method Detail

messageReceived

public void messageReceived(HostedConnection source,
                            Message m)
Specified by:
messageReceived in interface MessageListener<HostedConnection>

connectionAdded

public void connectionAdded(Server server,
                            HostedConnection conn)
Description copied from interface: ConnectionListener
Called when a connection has been added to the specified server and is fully setup.

Specified by:
connectionAdded in interface ConnectionListener

connectionRemoved

public void connectionRemoved(Server server,
                              HostedConnection conn)
Description copied from interface: ConnectionListener
Called when a connection has been removed from the specified server.

Specified by:
connectionRemoved in interface ConnectionListener