| |
|
| org.tanukisoftware.wrapper.event.WrapperEvent org.tanukisoftware.wrapper.event.WrapperServiceEvent org.tanukisoftware.wrapper.event.WrapperServiceControlEvent
WrapperServiceControlEvent | public class WrapperServiceControlEvent extends WrapperServiceEvent (Code) | | WrapperServiceControlEvents are used to notify the listener whenever a
Service Control Event is received by the service. These events will
only be fired on Windows platforms when the Wrapper is running as a
service.
- WrapperManager.SERVICE_CONTROL_CODE_STOP (1)
- The service was requested to stop.
- WrapperManager.SERVICE_CONTROL_CODE_PAUSE (2)
- The system requested that the service be paused.
- WrapperManager.SERVICE_CONTROL_CODE_CONTINUE (3)
- The system requested that the paused service be resumed.
- WrapperManager.SERVICE_CONTROL_CODE_INTERROGATE (4)
- The service manager queried the service to make sure it is still alive.
- WrapperManager.SERVICE_CONTROL_CODE_SHUTDOWN (5)
- The system is shutting down.
- User code (128-255)
- User defined code.
author: Leif Mortenson |
WrapperServiceControlEvent | public WrapperServiceControlEvent(int serviceControlCode)(Code) | | Creates a new WrapperServiceControlEvent.
Parameters: serviceControlCode - Service Control Code. |
getServiceControlCode | public int getServiceControlCode()(Code) | | Returns the event code of the Service Control Code.
The event code of the Service Control Code. |
toString | public String toString()(Code) | | Returns a string representation of the event.
A string representation of the event. |
Methods inherited from org.tanukisoftware.wrapper.event.WrapperServiceEvent | public long getFlags()(Code)(Java Doc)
|
Methods inherited from org.tanukisoftware.wrapper.event.WrapperEvent | public long getFlags()(Code)(Java Doc)
|
|
|
|