| org.quickserver.net.Service
All known Subclasses: org.quickserver.net.server.QuickServer,
Service | public interface Service (Code) | | This interface is for any class that would like to follow
Service Configurator Pattern.
Thanks to Markus Elfring for his email.
author: Akshathkumar Shetty since: 1.2 |
INIT | public static int INIT(Code) | | |
RUNNING | public static int RUNNING(Code) | | |
STOPPED | public static int STOPPED(Code) | | |
SUSPENDED | public static int SUSPENDED(Code) | | |
UNKNOWN | public static int UNKNOWN(Code) | | Un initialised or unknown
|
getServiceError | public Throwable getServiceError()(Code) | | Returns service error if any.
since: 1.4.7 |
getServiceState | public int getServiceState()(Code) | | Returns the state of the process
As any constant of
Service interface.
|
info | public String info()(Code) | | Information about the service, recommended format given below.
<<ServiceName>> v<<Version_No>>\n
<<IP_ADDRESS>> <<PORT_NO>>\n
<<ANY OTHET INFORMATION>>
|
initService | public boolean initService(Object config)(Code) | | Initialise and create the service
|
resumeService | public boolean resumeService()(Code) | | Resume the service
|
startService | public boolean startService()(Code) | | Start the service
|
stopService | public boolean stopService()(Code) | | Stop the service
|
suspendService | public boolean suspendService()(Code) | | Suspend the service
|
|
|