#include <OW_CppIndicationExportXMLHTTPProvider.hpp>
Inheritance diagram for OW_NAMESPACE::CppIndicationExportXMLHTTPProvider:
Public Member Functions | |
CppIndicationExportXMLHTTPProvider () | |
~CppIndicationExportXMLHTTPProvider () | |
virtual void | exportIndication (const ProviderEnvironmentIFCRef &env, const String &ns, const CIMInstance &indHandlerInst, const CIMInstance &indicationInst) |
Export the given indication. | |
virtual StringArray | getHandlerClassNames () |
virtual void | initialize (const ProviderEnvironmentIFCRef &) |
Called by the CIMOM when the provider is initialized. | |
virtual void | doCooperativeCancel () |
This function is available for subclasses to override if they wish to be notified when a cooperative cancel is being invoked on the thread. | |
Private Attributes | |
std::list< HTTPClientRef > | m_httpClients |
Mutex | m_guard |
bool | m_cancelled |
Definition at line 46 of file OW_CppIndicationExportXMLHTTPProvider.hpp.
|
Definition at line 79 of file OW_CppIndicationExportXMLHTTPProvider.cpp. |
|
Definition at line 85 of file OW_CppIndicationExportXMLHTTPProvider.cpp. |
|
This function is available for subclasses to override if they wish to be notified when a cooperative cancel is being invoked on the thread. Note that this function will be invoked in a separate thread. For instance, a thread may use this function to write to a pipe or socket, if Thread::run() is blocked in select(), it can be unblocked and instructed to exit. It is also possible for an individual thread to override the cancellation request, if it knows that cancellation at this time may crash the system or cause a deadlock. To do this, the thread should throw an CancellationDeniedException. Note that threads are usually only cancelled in the event of a system shutdown or restart, so a thread should make a best effort to actually shutdown.
Reimplemented from OW_NAMESPACE::CppIndicationExportProviderIFC. Definition at line 161 of file OW_CppIndicationExportXMLHTTPProvider.cpp. References m_cancelled, m_guard, and m_httpClients. |
|
|
Implements OW_NAMESPACE::CppIndicationExportProviderIFC. Definition at line 147 of file OW_CppIndicationExportXMLHTTPProvider.cpp. References OW_NAMESPACE::Array< T >::append(). |
|
Called by the CIMOM when the provider is initialized.
Reimplemented from OW_NAMESPACE::CppProviderBaseIFC. Definition at line 69 of file OW_CppIndicationExportXMLHTTPProvider.hpp. |
|
Definition at line 77 of file OW_CppIndicationExportXMLHTTPProvider.hpp. Referenced by doCooperativeCancel(). |
|
Definition at line 76 of file OW_CppIndicationExportXMLHTTPProvider.hpp. Referenced by doCooperativeCancel(). |
|
Definition at line 75 of file OW_CppIndicationExportXMLHTTPProvider.hpp. Referenced by doCooperativeCancel(). |