Public Member Functions

acsdaemon::NotificationServiceSpell Interface Reference

import "acsdaemon.idl";

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

List of all members.

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)

Detailed Description

Notification Service Spell interface.


Member Function Documentation

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.

Parameters:
name Notification service name
callback DaemonCallback instance to receive notification about completion or problems with the service start.
instance_number ACS instance number
Returns:
void
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.

Parameters:
name Notification service name
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: