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 Details

    • connectionAdded

      void connectionAdded(Server server, HostedConnection conn)
      Called when a connection has been added to the specified server and is fully setup.
    • connectionRemoved

      void connectionRemoved(Server server, HostedConnection conn)
      Called when a connection has been removed from the specified server.