OW_NAMESPACE::IndicationExporter Class Reference

#include <OW_IndicationExporter.hpp>

Collaboration diagram for OW_NAMESPACE::IndicationExporter:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 IndicationExporter (CIMProtocolIFCRef prot)
void exportIndication (const String &ns, const CIMInstance &ci)
 Export the indication.

Private Member Functions

void sendXMLHeader (std::ostream &ostr, const String &cimProtocolVersion)
void sendXMLTrailer (std::ostream &ostr)
void doSendRequest (Reference< std::iostream > ostr, const String &methodName, const String &ns, const String &cimProtocolVersion)
void checkNodeForCIMError (CIMXMLParser &parser, const String &operation)
 
Exceptions:
CIMException 


Private Attributes

CIMProtocolIFCRef m_protocol
Int32 m_iMessageID

Detailed Description

Definition at line 45 of file OW_IndicationExporter.hpp.


Constructor & Destructor Documentation

OW_NAMESPACE::IndicationExporter::IndicationExporter CIMProtocolIFCRef  prot  ) 
 

Definition at line 60 of file OW_IndicationExporter.cpp.

References m_protocol.


Member Function Documentation

void OW_NAMESPACE::IndicationExporter::checkNodeForCIMError CIMXMLParser parser,
const String operation
[private]
 

Exceptions:
CIMException 

Definition at line 126 of file OW_IndicationExporter.cpp.

References OW_NAMESPACE::CIMXMLParser::E_CIM, OW_NAMESPACE::CIMException::FAILED, OW_THROWCIMMSG, and OW_NAMESPACE::CIMXMLParser::tokenIsId().

void OW_NAMESPACE::IndicationExporter::doSendRequest Reference< std::iostream >  ostr,
const String methodName,
const String ns,
const String cimProtocolVersion
[private]
 

Referenced by exportIndication().

void OW_NAMESPACE::IndicationExporter::exportIndication const String ns,
const CIMInstance ci
 

Export the indication.

Parameters:
ci The indication to export.
Exceptions:
CIMException 

Definition at line 66 of file OW_IndicationExporter.cpp.

References OW_NAMESPACE::CIMInstancetoXML(), doSendRequest(), ns, OW_NAMESPACE::PROTOCOL_VERSION_1_1, sendXMLHeader(), and sendXMLTrailer().

void OW_NAMESPACE::IndicationExporter::sendXMLHeader std::ostream &  ostr,
const String cimProtocolVersion
[private]
 

Referenced by exportIndication().

void OW_NAMESPACE::IndicationExporter::sendXMLTrailer std::ostream &  ostr  )  [private]
 

Referenced by exportIndication().


Member Data Documentation

Int32 OW_NAMESPACE::IndicationExporter::m_iMessageID [private]
 

Definition at line 67 of file OW_IndicationExporter.hpp.

CIMProtocolIFCRef OW_NAMESPACE::IndicationExporter::m_protocol [private]
 

Definition at line 66 of file OW_IndicationExporter.hpp.

Referenced by IndicationExporter().


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