#include <acsNotificationServiceImpHandlerImpl.h>
Public Member Functions | |
ACSNotificationServiceImpHandlerImpl () | |
virtual | ~ACSNotificationServiceImpHandlerImpl () |
void | start_notification_service (const char *name, acsdaemon::DaemonCallback_ptr callback, CORBA::Short instance_number) throw (( ACSErrTypeCommon::BadParameterEx, acsdaemonErrType::ServiceAlreadyRunningEx )) |
void | stop_notification_service (const char *name, acsdaemon::DaemonCallback_ptr callback, CORBA::Short instance_number) throw (( ACSErrTypeCommon::BadParameterEx, acsdaemonErrType::ServiceNotRunningEx )) |
acsdaemon::ServiceState | get_service_status (const char *name, CORBA::Short instance_number) throw (( ACSErrTypeCommon::BadParameterEx )) |
virtual acsdaemon::ServiceState | getDetailedServiceState (ACSServiceRequestDescription *desc, CORBA::Object_ptr obj) |
Private Attributes | |
MonitorMap | monitorMap |
int | intervalCount |
ACSNotificationServiceImpHandlerImpl::ACSNotificationServiceImpHandlerImpl | ( | ) | [inline] |
virtual ACSNotificationServiceImpHandlerImpl::~ACSNotificationServiceImpHandlerImpl | ( | ) | [inline, virtual] |
References NotificationServiceMonitor::destroy(), and monitorMap.
acsdaemon::ServiceState ACSNotificationServiceImpHandlerImpl::get_service_status | ( | const char * | name, | |
CORBA::Short | instance_number | |||
) | throw (( ACSErrTypeCommon::BadParameterEx )) [inline] |
virtual acsdaemon::ServiceState ACSNotificationServiceImpHandlerImpl::getDetailedServiceState | ( | ACSServiceRequestDescription * | desc, | |
CORBA::Object_ptr | obj | |||
) | [inline, virtual] |
Default implementation, to be overriden by specific handler.
Reimplemented from ACSImpBaseHandlerImpl< ACSNotificationServiceImpHandlerImpl >.
References ACS_SHORT_LOG, NotificationServiceMonitor::destroy(), NotificationServiceMonitor::getAndResetRTT(), ACSServiceRequestDescription::getName(), NotificationServiceMonitor::init(), NotificationServiceMonitor::issuePingEvent(), and monitorMap.
void ACSNotificationServiceImpHandlerImpl::start_notification_service | ( | const char * | name, | |
acsdaemon::DaemonCallback_ptr | callback, | |||
CORBA::Short | instance_number | |||
) | throw (( ACSErrTypeCommon::BadParameterEx, acsdaemonErrType::ServiceAlreadyRunningEx )) [inline] |
References ACS_SHORT_LOG, ACSImpBaseHandlerImpl< ACSNotificationServiceImpHandlerImpl >::context, LOCAL, NOTIFICATION_SERVICE, NOTIFY_FACTORY_NAME_STRING, NULL, ACSDaemonContext::processRequest(), ACSServiceRequestDescription::setCorbalocName(), ACSServiceRequestDescription::setName(), and START_SERVICE.
void ACSNotificationServiceImpHandlerImpl::stop_notification_service | ( | const char * | name, | |
acsdaemon::DaemonCallback_ptr | callback, | |||
CORBA::Short | instance_number | |||
) | throw (( ACSErrTypeCommon::BadParameterEx, acsdaemonErrType::ServiceNotRunningEx )) [inline] |
int ACSNotificationServiceImpHandlerImpl::intervalCount [private] |
Referenced by getDetailedServiceState(), and ~ACSNotificationServiceImpHandlerImpl().