Public Member Functions

acsdaemon::CDBSpell Interface Reference

import "acsdaemon.idl";

Inheritance diagram for acsdaemon::CDBSpell:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void start_xml_cdb (in DaemonCallback callback, in short instance_number, in boolean recovery, in string xml_cdb_dir) raises (ACSErrTypeCommon::BadParameterEx, acsdaemonErrType::ServiceAlreadyRunningEx)
void start_rdb_cdb (in DaemonCallback callback, in short instance_number, in boolean recovery, in string config_name) raises (ACSErrTypeCommon::BadParameterEx, acsdaemonErrType::ServiceAlreadyRunningEx)
void stop_cdb (in DaemonCallback callback, in short instance_number) raises (ACSErrTypeCommon::BadParameterEx, acsdaemonErrType::ServiceNotRunningEx)

Detailed Description

CDB Spell interface.


Member Function Documentation

void acsdaemon::CDBSpell::start_rdb_cdb ( in DaemonCallback  callback,
in short  instance_number,
in boolean  recovery,
in string  config_name 
) raises (ACSErrTypeCommon::BadParameterEx, acsdaemonErrType::ServiceAlreadyRunningEx)

Asynchronously starts an RDB-based CDB service on the current host. Notification about service start problems or successful completion is passed to the client via the callback, on which the client may block.

Parameters:
callback DaemonCallback instance to receive notification about completion or problems with the service start.
instance_number ACS instance number
recovery if true then use recovery information from previous run.
config_name the name of the configuration to use.
Returns:
void
void acsdaemon::CDBSpell::start_xml_cdb ( in DaemonCallback  callback,
in short  instance_number,
in boolean  recovery,
in string  xml_cdb_dir 
) raises (ACSErrTypeCommon::BadParameterEx, acsdaemonErrType::ServiceAlreadyRunningEx)

Asynchronously starts an XML-based CDB service on the current host. Notification about service start problems or successful completion is passed to the client via the callback, on which the client may block.

Parameters:
callback DaemonCallback instance to receive notification about completion or problems with the service start.
instance_number ACS instance number
recovery if true then use recovery information from previous run.
xml_cdb_dir the directory which contains the CDB directory, see env var ACS_CDB.
Returns:
void
void acsdaemon::CDBSpell::stop_cdb ( in DaemonCallback  callback,
in short  instance_number 
) raises (ACSErrTypeCommon::BadParameterEx, acsdaemonErrType::ServiceNotRunningEx)

Asynchronously stops a CDB service on the current host. Notification about service stop problems or successful completion is passed to the client via the callback, on which the client may block.

Parameters:
callback DaemonCallback instance to receive notification about completion or problems with stopping the service.
instance_number ACS instance number
Returns:
void

The documentation for this interface was generated from the following file: