com.jme3.network.rmi
Class ObjectStore.ClientEventHandler

java.lang.Object
  extended by com.jme3.network.rmi.ObjectStore.ClientEventHandler
All Implemented Interfaces:
ClientStateListener, MessageListener
Enclosing class:
ObjectStore

public class ObjectStore.ClientEventHandler
extends java.lang.Object
implements MessageListener, ClientStateListener


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.jme3.network.ClientStateListener
ClientStateListener.DisconnectInfo
 
Constructor Summary
ObjectStore.ClientEventHandler()
           
 
Method Summary
 void clientConnected(Client c)
          Called when the specified client is fully connected to the remote server.
 void clientDisconnected(Client c, ClientStateListener.DisconnectInfo info)
          Called when the client has disconnected from the remote server.
 void messageReceived(java.lang.Object source, Message m)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectStore.ClientEventHandler

public ObjectStore.ClientEventHandler()
Method Detail

messageReceived

public void messageReceived(java.lang.Object source,
                            Message m)
Specified by:
messageReceived in interface MessageListener

clientConnected

public void clientConnected(Client c)
Description copied from interface: ClientStateListener
Called when the specified client is fully connected to the remote server.

Specified by:
clientConnected in interface ClientStateListener

clientDisconnected

public void clientDisconnected(Client c,
                               ClientStateListener.DisconnectInfo info)
Description copied from interface: ClientStateListener
Called when the client has disconnected from the remote server. If info is null then the client shut down the connection normally, otherwise the info object contains additional information about the disconnect.

Specified by:
clientDisconnected in interface ClientStateListener