public interface HostedService extends Service<HostedServiceManager>, ConnectionListener
| Modifier and Type | Method and Description | 
|---|---|
void | 
initialize(HostedServiceManager serviceManager)
Called when the service is first attached to the service
  manager. 
 | 
void | 
start()
Called when the service manager is started or if the 
  service is added to an already started service manager. 
 | 
void | 
stop()
Called when the service is shutting down. 
 | 
void | 
terminate(HostedServiceManager serviceManager)
The service manager is fully shutting down. 
 | 
connectionAdded, connectionRemovedvoid initialize(HostedServiceManager serviceManager)
initialize in interface Service<HostedServiceManager>void start()
start in interface Service<HostedServiceManager>void stop()
stop in interface Service<HostedServiceManager>void terminate(HostedServiceManager serviceManager)
terminate in interface Service<HostedServiceManager>