acsDaemonImpl

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

NAME

acsDaemonImpl −

SYNOPSIS

#include <acsDaemonImpl.h>

Public Member Functions

acsDaemonImpl (int argc, char *argv[])

~acsDaemonImpl ()

void usage (const char *argv)

int run ()

void shutdown ()

Private Attributes

ACSDaemonServiceImpl< T > * service

ACE_CString iorFile

ACE_CString ORBEndpoint

int m_serverThreads

int nargc

char ** nargv

LoggingProxy * m_logger

Detailed Description

template<typename T> class acsDaemonImpl< T >

ACS Daemon Implementation class.

acsDaemonImpl provides a common implementation for the container and service daemons of ACS.

Constructor & Destructor Documentation

template<typename T > acsDaemonImpl< T >::acsDaemonImpl (int argc, char * argv[]) Constructor.

References ACS_SHORT_LOG, AsyncRequestThreadPool::configure(), DEFAULT_LOG_FILE_NAME, ACSPorts::getIP(), getopt_long(), getStringifiedTimeStamp(), getTempFileName(), acsQoS::init(), acsDaemonImpl< T >::iorFile, acsDaemonImpl< T >::m_logger, acsDaemonImpl< T >::m_serverThreads, acsDaemonImpl< T >::nargc, acsDaemonImpl< T >::nargv, optarg, acsDaemonImpl< T >::ORBEndpoint, LoggingProxy::ProcessName(), acsDaemonImpl< T >::service, LoggingProxy::ThreadName(), and acsDaemonImpl< T >::usage().

template<typename T > acsDaemonImpl< T >::~acsDaemonImpl () Destructor.

References acsQoS::done(), acsDaemonImpl< T >::m_logger, and acsDaemonImpl< T >::service.

Member Function Documentation

template<typename T > int acsDaemonImpl< T >::run (void) Process client requests.

References ACS_SHORT_LOG, ACS_TRACE, acsDaemonImpl< T >::iorFile, acsDaemonImpl< T >::nargc, acsDaemonImpl< T >::nargv, acsDaemonImpl< T >::service, and acsDaemonImpl< T >::shutdown().

template<typename T > void acsDaemonImpl< T >::shutdown () Terminate the daemon.

References acsDaemonImpl< T >::service.

Referenced by acsDaemonImpl< T >::run().

template<typename T > void acsDaemonImpl< T >::usage (const char * argv) Display help information for the daemon.

Referenced by acsDaemonImpl< T >::acsDaemonImpl().

Member Data Documentation

template<typename T > ACE_CString acsDaemonImpl< T >::iorFile [private] File name where the IOR information is to be written

Referenced by acsDaemonImpl< T >::acsDaemonImpl(), and acsDaemonImpl< T >::run().

template<typename T > LoggingProxy* acsDaemonImpl< T >::m_logger [private] logger

Referenced by acsDaemonImpl< T >::acsDaemonImpl(), and acsDaemonImpl< T >::~acsDaemonImpl().

template<typename T > int acsDaemonImpl< T >::m_serverThreads [private] Number of threads to handle CORBA requests

Referenced by acsDaemonImpl< T >::acsDaemonImpl().

template<typename T > int acsDaemonImpl< T >::nargc [private] Configuration information for the service

Referenced by acsDaemonImpl< T >::acsDaemonImpl(), and acsDaemonImpl< T >::run().

template<typename T > char** acsDaemonImpl< T >::nargv [private]

Referenced by acsDaemonImpl< T >::acsDaemonImpl(), and acsDaemonImpl< T >::run().

template<typename T > ACE_CString acsDaemonImpl< T >::ORBEndpoint [private] Description of where the provided service listens for requests

Referenced by acsDaemonImpl< T >::acsDaemonImpl().

template<typename T > ACSDaemonServiceImpl<T>* acsDaemonImpl< T >::service [private] Manager for the service provided by this daemon

Referenced by acsDaemonImpl< T >::acsDaemonImpl(), acsDaemonImpl< T >::run(), acsDaemonImpl< T >::shutdown(), and acsDaemonImpl< T >::~acsDaemonImpl().

Author

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