Adaptive Framework
0.9.0
|
Runtime service struct. More...
#include <afw_service.h>
Data Fields | |
const afw_pool_t * | p |
Pool that holds service's resources. | |
afw_utf8_t | service_id |
Service's name. More... | |
const afw_utf8_t * | type |
The part before the dash ('-') in service_id. More... | |
const afw_service_type_t * | service_type |
afw_service_type instance for this service_type_id. | |
const afw_utf8_t * | conf_id |
The part after the dash ('-') in the service id. | |
const afw_utf8_t * | conf_subtype |
This is the value of the subtype property from conf or NULL. | |
const afw_utf8_t * | source_location |
The source location associated with this service. | |
const afw_object_t * | properties |
The properties object containing runtime and conf properties. | |
const afw_utf8_t * | conf_source_location |
The source location associated with the conf for this service. | |
afw_service_status_t | status |
The status of the service. | |
afw_dateTime_t | start_time |
Start time. | |
const afw_utf8_t * | status_message |
Optional status message. More... | |
const afw_utf8_t * | status_debug |
Optional status debug. More... | |
afw_thread_mutex_t * | mutex |
Mutex used when changing status. | |
void * | data |
afw_boolean_t | has_service_conf |
Has a service conf object. | |
Runtime service struct.
There is one of these for each service that is registered.
Definition at line 46 of file afw_service.h.
void* data |
Definition at line 110 of file afw_service.h.
afw_utf8_t service_id |
Service's name.
The service name is a type followed by a dash ('-') followed by an associated id. The type must be a registered configuration type that has isService=true. The id an appropriate id based on the type. For example, for type adaptor, the associated id is the adaptorId.
Definition at line 59 of file afw_service.h.
const afw_utf8_t* status_debug |
Optional status debug.
This is a debug version of status_message.
Definition at line 104 of file afw_service.h.
const afw_utf8_t* status_message |
Optional status message.
In the case of status=error, this is the error message.
Definition at line 97 of file afw_service.h.
const afw_utf8_t* type |
The part before the dash ('-') in service_id.
This is also the conf_type.
Definition at line 66 of file afw_service.h.