Package com.jme3.network.service
Class HostedServiceManager.ConnectionObserver
java.lang.Object
com.jme3.network.service.HostedServiceManager.ConnectionObserver
- All Implemented Interfaces:
ConnectionListener
- Enclosing class:
- HostedServiceManager
protected class HostedServiceManager.ConnectionObserver
extends Object
implements ConnectionListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconnectionAdded(Server server, HostedConnection hc) Called when a connection has been added to the specified server and is fully setup.voidconnectionRemoved(Server server, HostedConnection hc) Called when a connection has been removed from the specified server.
-
Constructor Details
-
ConnectionObserver
protected ConnectionObserver()
-
-
Method Details
-
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
-