Package com.jme3.network.rmi
Class ObjectStore.ClientEventHandler
java.lang.Object
com.jme3.network.rmi.ObjectStore.ClientEventHandler
- All Implemented Interfaces:
ClientStateListener
,MessageListener
- Enclosing class:
- ObjectStore
public class ObjectStore.ClientEventHandler
extends Object
implements MessageListener, ClientStateListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.jme3.network.ClientStateListener
ClientStateListener.DisconnectInfo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Called when the specified client is fully connected to the remote server.void
Called when the client has disconnected from the remote server.void
messageReceived
(Object source, Message m)
-
Constructor Details
-
ClientEventHandler
public ClientEventHandler()
-
-
Method Details
-
messageReceived
- Specified by:
messageReceived
in interfaceMessageListener
-
clientConnected
Description copied from interface:ClientStateListener
Called when the specified client is fully connected to the remote server.- Specified by:
clientConnected
in interfaceClientStateListener
-
clientDisconnected
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 interfaceClientStateListener
-