Package com.jme3.network
Interface ConnectionListener
- All Known Subinterfaces:
HostedService
- All Known Implementing Classes:
AbstractHostedConnectionService,AbstractHostedService,HostedServiceManager.ConnectionObserver,ObjectStore.ServerEventHandler,RmiHostedService,RpcHostedService,ServerSerializerRegistrationsService
public interface ConnectionListener
Listener that is notified about connection arrivals and
removals within a server.
-
Method Summary
Modifier and TypeMethodDescriptionvoidconnectionAdded(Server server, HostedConnection conn) Called when a connection has been added to the specified server and is fully setup.voidconnectionRemoved(Server server, HostedConnection conn) Called when a connection has been removed from the specified server.
-
Method Details
-
connectionAdded
Called when a connection has been added to the specified server and is fully setup. -
connectionRemoved
Called when a connection has been removed from the specified server.
-