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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled when the specified client is fully connected to the remote server.voidCalled when the client has disconnected from the remote server.voidmessageReceived(Object source, Message m)
-
Constructor Details
-
ClientEventHandler
public ClientEventHandler()
-
-
Method Details
-
messageReceived
- Specified by:
messageReceivedin interfaceMessageListener
-
clientConnected
Description copied from interface:ClientStateListenerCalled when the specified client is fully connected to the remote server.- Specified by:
clientConnectedin interfaceClientStateListener
-
clientDisconnected
Description copied from interface:ClientStateListenerCalled 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:
clientDisconnectedin interfaceClientStateListener
-