ACSNotificationServiceImpHandlerImpl

NAME
SYNOPSIS
Constructor & Destructor Documentation
Member Function Documentation
Member Data Documentation
Author

NAME

ACSNotificationServiceImpHandlerImpl −

SYNOPSIS

#include <acsNotificationServiceImpHandlerImpl.h>

Inherits ACSImpBaseHandlerImpl< ACSNotificationServiceImpHandlerImpl >.

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

Constructor & Destructor Documentation

ACSNotificationServiceImpHandlerImpl::ACSNotificationServiceImpHandlerImpl () [inline]

virtual ACSNotificationServiceImpHandlerImpl::~ACSNotificationServiceImpHandlerImpl () [inline, virtual]

References NotificationServiceMonitor::destroy(), and monitorMap.

Member Function Documentation

acsdaemon::ServiceState ACSNotificationServiceImpHandlerImpl::get_service_status (const char * name, CORBA::Short instance_number) throw (ACSErrTypeCommon::BadParameterEx) [inline]

References ACSImpBaseHandlerImpl< ACSNotificationServiceImpHandlerImpl >::context, and ACSDaemonContext::getACSServiceState().

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, 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]

References ACS_SHORT_LOG, ACSImpBaseHandlerImpl< ACSNotificationServiceImpHandlerImpl >::context, LOCAL, NOTIFICATION_SERVICE, ACSDaemonContext::processRequest(), ACSServiceRequestDescription::setName(), and STOP_SERVICE.

Member Data Documentation

int ACSNotificationServiceImpHandlerImpl::intervalCount [private]

MonitorMap ACSNotificationServiceImpHandlerImpl::monitorMap [private]

Referenced by getDetailedServiceState(), and ~ACSNotificationServiceImpHandlerImpl().

Author

Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code.