|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Service.CurrentState | |
---|---|
com.jniwrapper.win32.service | The com.jniwrapper.win32.service package contains classes for working with Windows services. |
Uses of Service.CurrentState in com.jniwrapper.win32.service |
---|
Fields in com.jniwrapper.win32.service declared as Service.CurrentState | |
---|---|
static Service.CurrentState |
Service.CurrentState.CONTINUE_PENDING
|
static Service.CurrentState |
Service.CurrentState.PAUSE_PENDING
|
static Service.CurrentState |
Service.CurrentState.PAUSED
|
static Service.CurrentState |
Service.CurrentState.RUNNING
|
static Service.CurrentState |
Service.CurrentState.START_PENDING
|
static Service.CurrentState |
Service.CurrentState.STOP_PENDING
|
static Service.CurrentState |
Service.CurrentState.STOPPED
|
Methods in com.jniwrapper.win32.service that return Service.CurrentState | |
---|---|
Service.CurrentState |
Service.getCurrentState()
Returns the current state of the service. |
Service.CurrentState |
Service.Status.getCurrentState()
Returns the current state of the service. |
Methods in com.jniwrapper.win32.service with parameters of type Service.CurrentState | |
---|---|
void |
Service.waitState(Service.CurrentState expectedState)
Periodically checks the current state of the service and returns from the method when the current state is equal to the expected state. |
void |
Service.waitState(Service.CurrentState[] expectedStates)
Periodically checks the current state of the service and returns from the method when the current state is equal to one of the expected states. |
void |
Service.waitState(Service.CurrentState[] expectedStates,
Service.StatusListener listener)
Periodically checks the current state of the service and returns from the method when the current state is equal to one of the expected states. |
void |
Service.waitState(Service.CurrentState expectedState,
Service.StatusListener listener)
Periodically checks the current state of the service and returns from the method when the current state is equal to the expected state. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |