#include <OW_XMLListener.hpp>
Inheritance diagram for OW_NAMESPACE::XMLListener:
Public Member Functions | |
XMLListener (const CIMListenerCallbackRef &callback) | |
Create a new XMLListener. | |
virtual | ~XMLListener () |
virtual RequestHandlerIFC * | clone () const |
virtual StringArray | getSupportedContentTypes () const |
virtual String | getContentType () const |
virtual String | getName () const |
Every service may have a name. | |
virtual void | init (const ServiceEnvironmentIFCRef &env) |
init() will be called to give the derived class an opportunity to initialize itself. | |
virtual void | shutdown () |
The service must shutdown completely before returning from this function. | |
Protected Member Functions | |
virtual int | executeXML (CIMXMLParser &parser, std::ostream *ostrEntity, std::ostream *ostrError, OperationContext &context) |
After doProcess is called, and the XML is parsed, executeXML is called on the root node. | |
virtual void | doOptions (CIMFeatures &cf, OperationContext &context) |
Based on a path, what options are available? | |
virtual void | outputError (CIMException::ErrNoType errorCode, const String &msg, std::ostream &ostr) |
Private Member Functions | |
void | processSimpleExpReq (CIMXMLParser &parser, std::ostream &ostrEntity, std::ostream &ostrError, const String &messageId, OperationContext &context) |
Private Attributes | |
CIMListenerCallbackRef | m_callback |
Definition at line 50 of file OW_XMLListener.hpp.
|
Create a new XMLListener.
Definition at line 56 of file OW_XMLListener.cpp. Referenced by clone(). |
|
Definition at line 61 of file OW_XMLListener.cpp. |
|
Implements OW_NAMESPACE::RequestHandlerIFC. Definition at line 72 of file OW_XMLListener.cpp. References XMLListener(). |
|
Based on a path, what options are available?
Implements OW_NAMESPACE::RequestHandlerIFC. Definition at line 129 of file OW_XMLListener.cpp. References OW_NAMESPACE::CIMFeatures::cimom, OW_NAMESPACE::CIMFeatures::cimProduct, OW_NAMESPACE::Array< T >::clear(), OW_NAMESPACE::CIMFeatures::extURL, OW_NAMESPACE::CIMFeatures::LISTENER, OW_NAMESPACE::CIMFeatures::protocolVersion, OW_NAMESPACE::Array< T >::push_back(), OW_NAMESPACE::CIMFeatures::supportedGroups, OW_NAMESPACE::CIMFeatures::supportedQueryLanguages, OW_NAMESPACE::CIMFeatures::supportsBatch, and OW_NAMESPACE::CIMFeatures::validation. |
|
After doProcess is called, and the XML is parsed, executeXML is called on the root node.
Implements OW_NAMESPACE::RequestHandlerIFCXML. |
|
Reimplemented from OW_NAMESPACE::RequestHandlerIFCXML. Definition at line 214 of file OW_XMLListener.cpp. |
|
Every service may have a name. The name is used to calculate dependencies, other services can return the name from getDependencies(), to instruct the cimom about which order to start and shutdown all the services. The default is to have no name, in that case, no other service can depend on it. Reimplemented from OW_NAMESPACE::ServiceIFC. Definition at line 66 of file OW_XMLListener.cpp. References OW_NAMESPACE::ServiceIFCNames::XMLListener. |
|
Reimplemented from OW_NAMESPACE::RequestHandlerIFCXML. Definition at line 205 of file OW_XMLListener.cpp. References OW_NAMESPACE::Array< T >::push_back(). |
|
init() will be called to give the derived class an opportunity to initialize itself. Do not create threads which interact with the environment until start() is called. During the loading/initializing phase, the environment is single-threaded.
Implements OW_NAMESPACE::ServiceIFC. Definition at line 221 of file OW_XMLListener.cpp. |
|
Implements OW_NAMESPACE::RequestHandlerIFCXML. |
|
|
|
The service must shutdown completely before returning from this function. All copies of the service environment or objects obtained from it should be set to 0 to avoid circular reference counts. Implements OW_NAMESPACE::ServiceIFC. Definition at line 227 of file OW_XMLListener.cpp. |
|
Definition at line 89 of file OW_XMLListener.hpp. |