#include <abstract_service.hpp>
|
| bool | initialized () const |
| | Checks whether service has been successfully initialized.
|
| |
| bool | running () const |
| | Checks whether service is running.
|
| |
| | ServiceState (int State=Undefined, string description=string()) |
| | c++ constructor
|
| |
| bool | stopped () const |
| | Checks whether service is stopped.
|
| |
◆ State
| Enumerator |
|---|
| Undefined | -> not initialized. hardly ever exposed to outside.
|
| Initializing | -> under initialization.
|
| Running | Running.
|
| Stopped | Stopped.
|
| Failed | Some error occurred.
|
| Upgrading | under upgrade.
|
◆ ServiceState()
| kanzi::connect::AbstractService::ServiceState::ServiceState |
( |
int | State = Undefined, |
|
|
string | description = string() ) |
◆ initialized()
| bool kanzi::connect::AbstractService::ServiceState::initialized |
( |
| ) |
const |
|
inline |
Checks whether service has been successfully initialized.
- Returns
- true if service is initialized.
◆ running()
| bool kanzi::connect::AbstractService::ServiceState::running |
( |
| ) |
const |
|
inline |
Checks whether service is running.
- Returns
- true if service is running.
◆ stopped()
| bool kanzi::connect::AbstractService::ServiceState::stopped |
( |
| ) |
const |
|
inline |
Checks whether service is stopped.
- Returns
- true if service is stopped.
◆ m_state
| int kanzi::connect::AbstractService::ServiceState::m_state |
◆ m_stateDescription
| string kanzi::connect::AbstractService::ServiceState::m_stateDescription |
The documentation for this class was generated from the following file:
- connect/interface/abstract_service.hpp