public static class Service.Status
extends com.jniwrapper.Structure
Modifier and Type | Class and Description |
---|---|
static class |
Service.Status.ControlsAccepted |
Constructor and Description |
---|
Status() |
Status(Service.Status that) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
long |
getCheckPoint()
Returns check-point value the service increments periodically to report its progress during a lengthy start, stop, pause, or continue operation.
|
Service.Status.ControlsAccepted |
getControlsAccepted()
Returns control codes the service accepts and processes in its handler function.
|
Service.CurrentState |
getCurrentState()
Returns the current state of the service.
|
long |
getServiceSpecificExitCode()
Returns service-specific error code that the service returns when an error occurs while the service is starting or stopping.
|
Service.Type |
getServiceType()
Returns type of the service.
|
long |
getWaitHint()
Returns estimated time required for a pending start, stop, pause, or continue operation, in milliseconds.
|
long |
getWin32ExitCode()
Returns error code the service uses to report an error that occurs when it is starting or stopping.
|
void |
setServiceType(Service.Type serviceType)
Sets type of the service.
|
acceptIOPerformer, addMembers, computeLength, equals, getAlignmentRequirement, getDebugInfo, getFirstMemberSize, getLength, getMember, getMembers, getOffsets, init, init, initFrom, pop, push, read, setDataBuffer, write
public Status(Service.Status that)
public Status()
public Service.Type getServiceType()
public void setServiceType(Service.Type serviceType)
serviceType
- type of service.public Service.CurrentState getCurrentState()
public Service.Status.ControlsAccepted getControlsAccepted()
public long getWin32ExitCode()
public long getServiceSpecificExitCode()
public long getCheckPoint()
public long getWaitHint()
public java.lang.Object clone()
clone
in class com.jniwrapper.Structure