Skip to content

TCurrentStatus

Current daemon status.

Declaration

Source position: daemonapp.pp line 44

type
  TCurrentStatus = (csStopped,csStartPending,csStopPending,csRunning,
                  csContinuePending,csPausePending,csPaused)

Values

Value Description
csStopped The daemon is stopped, i.e. inactive.
csStartPending The daemon is starting, but not yet fully running.
csStopPending The daemon is stopping, but not yet fully stopped.
csRunning The daemon is running (it is operational).
csContinuePending The daemon is continuing, but not yet running.
csPausePending The daemon is about to be paused.
csPaused The daemon is paused: running but not active.

Description

TCurrentStatus indicates the current state of the daemon. It changes from one state to the next during the time the instance is active. The daemon application changes the state of the daemon, depending on signals it gets from the operating system, by calling the appropriate methods.