import "acsdaemon.idl";
Public Member Functions | |
void | start_notification_service (in string name, in DaemonCallback callback, in short instance_number) raises (ACSErrTypeCommon::BadParameterEx, acsdaemonErrType::ServiceAlreadyRunningEx) |
void | stop_notification_service (in string name, in DaemonCallback callback, in short instance_number) raises (ACSErrTypeCommon::BadParameterEx, acsdaemonErrType::ServiceNotRunningEx) |
Notification Service Spell interface.
void acsdaemon::NotificationServiceSpell::start_notification_service | ( | in string | name, | |
in DaemonCallback | callback, | |||
in short | instance_number | |||
) | raises (ACSErrTypeCommon::BadParameterEx, acsdaemonErrType::ServiceAlreadyRunningEx) |
Asynchronously starts a notification 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.
The daemon will choose the port for the notification service. For system-defined services, the fixed port allocation will be used, while for user-defined optional notification services a port will be chosen by the daemon. The same port must be used when restarting a notification service of the same name, and also when restarting the services daemon.
name | Notification service name | |
callback | DaemonCallback instance to receive notification about completion or problems with the service start. | |
instance_number | ACS instance number |
void acsdaemon::NotificationServiceSpell::stop_notification_service | ( | in string | name, | |
in DaemonCallback | callback, | |||
in short | instance_number | |||
) | raises (ACSErrTypeCommon::BadParameterEx, acsdaemonErrType::ServiceNotRunningEx) |
Asynchronously stops a notification 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.
name | Notification service name | |
callback | DaemonCallback instance to receive notification about completion or problems with stopping the service. | |
instance_number | ACS instance number |