Interface ClientService

All Superinterfaces:
Service<ClientServiceManager>
All Known Implementing Classes:
AbstractClientService, ClientSerializerRegistrationsService, RmiClientService, RpcClientService

public interface ClientService extends Service<ClientServiceManager>
Interface implemented by Client-side services that augment a network Client's functionality.
Author:
Paul Speed
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when the service is first attached to the service manager.
    void
    Called when the service manager is started or if the service is added to an already started service manager.
    void
    Called when the service is shutting down.
    void
    The service manager is fully shutting down.
  • Method Details

    • initialize

      void initialize(ClientServiceManager serviceManager)
      Called when the service is first attached to the service manager.
      Specified by:
      initialize in interface Service<ClientServiceManager>
      Parameters:
      serviceManager - the manager that is initializing this service
    • start

      void start()
      Called when the service manager is started or if the service is added to an already started service manager.
      Specified by:
      start in interface Service<ClientServiceManager>
    • stop

      void stop()
      Called when the service is shutting down. All services are stopped and any service manager resources are closed before the services are terminated.
      Specified by:
      stop in interface Service<ClientServiceManager>
    • terminate

      void terminate(ClientServiceManager serviceManager)
      The service manager is fully shutting down. All services have been stopped and related connections closed.
      Specified by:
      terminate in interface Service<ClientServiceManager>
      Parameters:
      serviceManager - the manager that is terminating this service