OW_NAMESPACE::CIMXMLListener Class Reference

#include <OW_CIMXMLListener.hpp>

Inheritance diagram for OW_NAMESPACE::CIMXMLListener:

Inheritance graph
[legend]
Collaboration diagram for OW_NAMESPACE::CIMXMLListener:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CIMXMLListener (const ConfigFile::ConfigMap &configItems, const CIMListenerCallbackRef &callback, const AuthenticatorIFCRef &authenticator=AuthenticatorIFCRef(SharedLibraryRef(0), 0), const LoggerRef &logger=LoggerRef(0))
virtual ~CIMXMLListener ()
void shutdownHttpServer ()
 Shut down the http server that is listening for indications.

Private Attributes

RequestHandlerIFCRef m_XMLListener
IntrusiveReference< HTTPServerm_httpServer
UInt16 m_httpListenPort
UInt16 m_httpsListenPort
IntrusiveReference< Threadm_httpThread
UnnamedPipeRef m_stopHttpPipe

Detailed Description

Definition at line 61 of file OW_CIMXMLListener.hpp.


Constructor & Destructor Documentation

OW_NAMESPACE::CIMXMLListener::CIMXMLListener const ConfigFile::ConfigMap configItems,
const CIMListenerCallbackRef callback,
const AuthenticatorIFCRef authenticator = AuthenticatorIFCRef(SharedLibraryRef(0), 0),
const LoggerRef logger = LoggerRef(0)
 

Parameters:
configItems Configuration settings for the HTTP server and such.
callback Callback to be called when indications are received.
authenticator HTTP authenticator. If none is provided, then allow_anonymous or enable_digest should be set in the config settings
logger If a logger specified then it will receive log messages, otherwise all log messages will be discarded.

Definition at line 289 of file OW_CIMXMLListener.cpp.

References env, logger, m_httpListenPort, m_httpServer, m_httpsListenPort, m_httpThread, and m_XMLListener.

OW_NAMESPACE::CIMXMLListener::~CIMXMLListener  )  [virtual]
 

Definition at line 316 of file OW_CIMXMLListener.cpp.

References shutdownHttpServer().


Member Function Documentation

void OW_NAMESPACE::CIMXMLListener::shutdownHttpServer  ) 
 

Shut down the http server that is listening for indications.

This function blocks until all threads that are running callbacks have terminated.

Definition at line 352 of file OW_CIMXMLListener.cpp.

References m_httpServer, and m_httpThread.

Referenced by ~CIMXMLListener().


Member Data Documentation

UInt16 OW_NAMESPACE::CIMXMLListener::m_httpListenPort [private]
 

Definition at line 99 of file OW_CIMXMLListener.hpp.

Referenced by CIMXMLListener().

IntrusiveReference<HTTPServer> OW_NAMESPACE::CIMXMLListener::m_httpServer [private]
 

Definition at line 98 of file OW_CIMXMLListener.hpp.

Referenced by CIMXMLListener(), and shutdownHttpServer().

UInt16 OW_NAMESPACE::CIMXMLListener::m_httpsListenPort [private]
 

Definition at line 100 of file OW_CIMXMLListener.hpp.

Referenced by CIMXMLListener().

IntrusiveReference<Thread> OW_NAMESPACE::CIMXMLListener::m_httpThread [private]
 

Definition at line 101 of file OW_CIMXMLListener.hpp.

Referenced by CIMXMLListener(), and shutdownHttpServer().

UnnamedPipeRef OW_NAMESPACE::CIMXMLListener::m_stopHttpPipe [private]
 

Definition at line 103 of file OW_CIMXMLListener.hpp.

RequestHandlerIFCRef OW_NAMESPACE::CIMXMLListener::m_XMLListener [private]
 

Definition at line 97 of file OW_CIMXMLListener.hpp.

Referenced by CIMXMLListener().


The documentation for this class was generated from the following files:
Generated on Thu Feb 9 09:13:10 2006 for openwbem by  doxygen 1.4.6