OW_NAMESPACE::CIMXMLCIMOMHandle Class Reference

This class encapsulates the details of encoding WBEM requests into CIM/XML. More...

#include <OW_CIMXMLCIMOMHandle.hpp>

Inheritance diagram for OW_NAMESPACE::CIMXMLCIMOMHandle:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CIMXMLCIMOMHandle (const CIMProtocolIFCRef &prot)
virtual CIMProtocolIFCRef getWBEMProtocolHandler () const
 Get a Reference to the WBEM protocol handler (HTTPClient).
virtual void close ()
 Close the connetion to the CIMOM.
virtual void enumClass (const String &ns, const String &className, CIMClassResultHandlerIFC &result, WBEMFlags::EDeepFlag deep=WBEMFlags::E_SHALLOW, WBEMFlags::ELocalOnlyFlag localOnly=WBEMFlags::E_NOT_LOCAL_ONLY, WBEMFlags::EIncludeQualifiersFlag includeQualifiers=WBEMFlags::E_INCLUDE_QUALIFIERS, WBEMFlags::EIncludeClassOriginFlag includeClassOrigin=WBEMFlags::E_INCLUDE_CLASS_ORIGIN)
 Enumerates the class specified by the CIMObjectPath.
virtual void enumClassNames (const String &ns, const String &className, StringResultHandlerIFC &result, WBEMFlags::EDeepFlag deep=WBEMFlags::E_DEEP)
 Enumerates the class specified by the CIMObjectPath.
virtual CIMInstance getInstance (const String &ns, const CIMObjectPath &instanceName, WBEMFlags::ELocalOnlyFlag localOnly=WBEMFlags::E_NOT_LOCAL_ONLY, WBEMFlags::EIncludeQualifiersFlag includeQualifiers=WBEMFlags::E_EXCLUDE_QUALIFIERS, WBEMFlags::EIncludeClassOriginFlag includeClassOrigin=WBEMFlags::E_EXCLUDE_CLASS_ORIGIN, const StringArray *propertyList=0)
 Gets the CIM instance for the specified CIM object path.
virtual void enumInstances (const String &ns, const String &className, CIMInstanceResultHandlerIFC &result, WBEMFlags::EDeepFlag deep=WBEMFlags::E_DEEP, WBEMFlags::ELocalOnlyFlag localOnly=WBEMFlags::E_NOT_LOCAL_ONLY, WBEMFlags::EIncludeQualifiersFlag includeQualifiers=WBEMFlags::E_EXCLUDE_QUALIFIERS, WBEMFlags::EIncludeClassOriginFlag includeClassOrigin=WBEMFlags::E_EXCLUDE_CLASS_ORIGIN, const StringArray *propertyList=0)
 Returns all instances (the whole instance and not just the names) belonging to the class specified in the path.
virtual CIMQualifierType getQualifierType (const String &ns, const String &qualifierName)
 Gets the CIM qualifier type specified in the CIM object path.
virtual void enumInstanceNames (const String &ns, const String &className, CIMObjectPathResultHandlerIFC &result)
 Returns all instances (the the names) belonging to the class specified in the path.
virtual CIMClass getClass (const String &ns, const String &className, WBEMFlags::ELocalOnlyFlag localOnly=WBEMFlags::E_NOT_LOCAL_ONLY, WBEMFlags::EIncludeQualifiersFlag includeQualifiers=WBEMFlags::E_INCLUDE_QUALIFIERS, WBEMFlags::EIncludeClassOriginFlag includeClassOrigin=WBEMFlags::E_INCLUDE_CLASS_ORIGIN, const StringArray *propertyList=NULL)
 Gets the CIM class for the specified CIM object path.
virtual CIMValue invokeMethod (const String &ns, const CIMObjectPath &path, const String &methodName, const CIMParamValueArray &inParams, CIMParamValueArray &outParams)
 Executes the specified method on the specified object.
virtual void createClass (const String &ns, const CIMClass &cc)
 Adds the CIM class to the specified namespace.
virtual void modifyClass (const String &ns, const CIMClass &cc)
 Updates the CIM class associated with the specified namespace.
virtual void deleteClass (const String &ns, const String &className)
virtual void setQualifierType (const String &ns, const CIMQualifierType &qt)
 Updates the specified CIM qualifier type to the specified namespace.
virtual void enumQualifierTypes (const String &ns, CIMQualifierTypeResultHandlerIFC &result)
 Enumerates the qualifiers defined in a namespace.
virtual void deleteQualifierType (const String &ns, const String &qualName)
 Deletes the CIM qualfier for the object specified by the CIM object path.
virtual CIMObjectPath createInstance (const String &ns, const CIMInstance &ci)
 Add the specified CIM instance to the specified namespace.
virtual void modifyInstance (const String &ns, const CIMInstance &modifiedInstance, WBEMFlags::EIncludeQualifiersFlag includeQualifiers, const StringArray *propertyList)
 Update the specified CIM instance associated with the specified namespace.
virtual void deleteInstance (const String &ns, const CIMObjectPath &path)
 Deletes the CIM instance specified by the CIM object path.
virtual void setProperty (const String &ns, const CIMObjectPath &name, const String &propertyName, const CIMValue &cv)
 Set the specified CIM instance property.
virtual CIMValue getProperty (const String &ns, const CIMObjectPath &name, const String &propertyName)
 Get the specified CIM instance property.
virtual void associators (const String &ns, const CIMObjectPath &path, CIMInstanceResultHandlerIFC &result, const String &assocClass, const String &resultClass, const String &role, const String &resultRole, WBEMFlags::EIncludeQualifiersFlag includeQualifiers, WBEMFlags::EIncludeClassOriginFlag includeClassOrigin, const StringArray *propertyList)
 This operation is used to enumerate CIMInstances that are associated to a particular source CIM Object.
virtual void associatorsClasses (const String &ns, const CIMObjectPath &path, CIMClassResultHandlerIFC &result, const String &assocClass=String(), const String &resultClass=String(), const String &role=String(), const String &resultRole=String(), WBEMFlags::EIncludeQualifiersFlag includeQualifiers=WBEMFlags::E_EXCLUDE_QUALIFIERS, WBEMFlags::EIncludeClassOriginFlag includeClassOrigin=WBEMFlags::E_EXCLUDE_CLASS_ORIGIN, const StringArray *propertyList=0)
 This operation is used to enumerate CIMClasses that are associated to a particular source CIM Object.
virtual void references (const String &ns, const CIMObjectPath &path, CIMInstanceResultHandlerIFC &result, const String &resultClass, const String &role, WBEMFlags::EIncludeQualifiersFlag includeQualifiers, WBEMFlags::EIncludeClassOriginFlag includeClassOrigin, const StringArray *propertyList)
 This operation is used to enumerate the association objects that refer to a particular target CIM Object (Class or Instance).
virtual void referencesClasses (const String &ns, const CIMObjectPath &path, CIMClassResultHandlerIFC &result, const String &resultClass, const String &role, WBEMFlags::EIncludeQualifiersFlag includeQualifiers, WBEMFlags::EIncludeClassOriginFlag includeClassOrigin, const StringArray *propertyList)
 This operation is used to enumerate the association objects that refer to a particular target CIM Class.
virtual void associatorNames (const String &ns, const CIMObjectPath &path, CIMObjectPathResultHandlerIFC &result, const String &assocClass, const String &resultClass, const String &role, const String &resultRole)
 This method is used to enumerate the names of CIM Objects (Classes or Instances) that are associated to a particular CIM Object.
virtual void referenceNames (const String &ns, const CIMObjectPath &path, CIMObjectPathResultHandlerIFC &result, const String &resultClass, const String &role)
 This operation is used to enumerate the association objects that refer to a particular target CIM Object (Class or Instance).
CIMInstanceEnumeration execQuery (const String &ns, const String &query, int wqlLevel)
 Executes a query to retrieve objects.
virtual void execQuery (const String &ns, CIMInstanceResultHandlerIFC &result, const String &query, const String &queryLanguage)
 Executes a query to retrieve or modify objects.
virtual CIMFeatures getServerFeatures ()
 Get the features of the CIMOM server.
virtual bool setHTTPRequestHeader (const String &hdrName, const String &hdrValue)
 Set/Add an HTTP header and its associated value.
virtual bool getHTTPResponseHeader (const String &hdrName, String &valueOut) const
 Get the value of an HTTP header that was returned in the CIMOM's response.

Private Member Functions

void sendCommonXMLHeader (std::ostream &ostr, const String &cimProtocolVersion)
void sendIntrinsicXMLHeader (const String &, const String &ns, std::ostream &ostr, const String &cimProtocolVersion)
void sendExtrinsicXMLHeader (const String &, const String &ns, const CIMObjectPath &path, std::ostream &ostr, const String &cimProtocolVersion)
void sendXMLTrailer (std::ostream &ostr, bool intrinsic=true)
void doSendRequest (const Reference< std::iostream > &ostr, const String &methodName, const String &cimObject, bool isIntrinsic, ClientOperation &op, const String &cimProtocolVersion)
void checkNodeForCIMError (CIMXMLParser &reply, const String &operation, bool isIntrinsic)
void intrinsicMethod (const String &ns, const String &operation, ClientOperation &op, const String &cimProtocolVersion, const Array< Param > &params=Array< Param >(), const String &extra=String())
void associatorsCommon (const String &ns, const CIMObjectPath &path, CIMInstanceResultHandlerIFC *iresult, CIMClassResultHandlerIFC *cresult, const String &assocClass, const String &resultClass, const String &role, const String &resultRole, WBEMFlags::EIncludeQualifiersFlag includeQualifiers, WBEMFlags::EIncludeClassOriginFlag includeClassOrigin, const StringArray *propertyList)
void referencesCommon (const String &ns, const CIMObjectPath &path, CIMInstanceResultHandlerIFC *iresult, CIMClassResultHandlerIFC *cresult, const String &resultClass, const String &role, WBEMFlags::EIncludeQualifiersFlag includeQualifiers, WBEMFlags::EIncludeClassOriginFlag includeClassOrigin, const StringArray *propertyList)
 CIMXMLCIMOMHandle (const CIMXMLCIMOMHandle &)
CIMXMLCIMOMHandleoperator= (const CIMXMLCIMOMHandle &)

Private Attributes

CIMProtocolIFCRef m_protocol
UInt32 m_iMessageID
bool m_performStrictChecks

Classes

class  ClientOperation

Detailed Description

This class encapsulates the details of encoding WBEM requests into CIM/XML.

It requires a CIMProtocolIFCRef which it uses to send the CIM/XML to a server. Currently the only available implementation is HTTPClient.

Thread safety: non-reentrant Copy semantics: Non-copyable Exception safety: Basic

Definition at line 59 of file OW_CIMXMLCIMOMHandle.hpp.


Constructor & Destructor Documentation

OW_NAMESPACE::CIMXMLCIMOMHandle::CIMXMLCIMOMHandle const CIMProtocolIFCRef prot  ) 
 

Definition at line 93 of file OW_CIMXMLCIMOMHandle.cpp.

References m_iMessageID, and m_protocol.

OW_NAMESPACE::CIMXMLCIMOMHandle::CIMXMLCIMOMHandle const CIMXMLCIMOMHandle  )  [private]
 


Member Function Documentation

void OW_NAMESPACE::CIMXMLCIMOMHandle::associatorNames const String ns,
const CIMObjectPath path,
CIMObjectPathResultHandlerIFC result,
const String assocClass,
const String resultClass,
const String role,
const String resultRole
[virtual]
 

This method is used to enumerate the names of CIM Objects (Classes or Instances) that are associated to a particular CIM Object.

Parameters:
path Defines the source CIM Object whose associated Objects are to be returned. This may be either a Class name or Instance name (modelpath).
assocClass The AssocClass input parameter, if not NULL, MUST be a valid CIM Association Class name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Instance of this Class or one of its subclasses.
resultClass The ResultClass input parameter, if not NULL, MUST be a valid CIM Class name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be either an Instance of this Class (or one of its subclasses) or be this Class (or one of its subclasses).
role The Role input parameter, if not NULL, MUST be a valid Property name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Association in which the source Object plays the specified role (i.e. the name of the Property in the Association Class that refers to the source Object MUST match the value of this parameter).
resultRole The ResultRole input parameter, if not NULL, MUST be a valid Property name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Association in which the returned Object plays the specified role (i.e. the name of the Property in the Association Class that refers to the returned Object MUST match the value of this parameter).
Returns:
If successful, the method returns zero or more full CIM Class paths or Instance paths of Objects meeting the requested criteria.
Exceptions:
CIMException - as defined in the associator method

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 1175 of file OW_CIMXMLCIMOMHandle.cpp.

References OW_NAMESPACE::String::empty(), OW_NAMESPACE::CIMXMLParser::P_Role, and OW_NAMESPACE::Array< T >::push_back().

void OW_NAMESPACE::CIMXMLCIMOMHandle::associators const String ns,
const CIMObjectPath path,
CIMInstanceResultHandlerIFC result,
const String assocClass,
const String resultClass,
const String role,
const String resultRole,
WBEMFlags::EIncludeQualifiersFlag  includeQualifiers,
WBEMFlags::EIncludeClassOriginFlag  includeClassOrigin,
const StringArray propertyList
[virtual]
 

This operation is used to enumerate CIMInstances that are associated to a particular source CIM Object.

Parameters:
objectName Defines the source CIM Object whose associated Instances are to be returned. This may be either a Class name or Instance name (modelpath).
assocClass The AssocClass input parameter, if not "", MUST be a valid CIM Association Class name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Instance of this Class or one of its subclasses.
resultClass The ResultClass input parameter, if not "", MUST be a valid CIM Class name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be either an Instance of this Class (or one of its subclasses) or be this Class (or one of its subclasses).
role The Role input parameter, if not "", MUST be a valid Property name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Association in which the source Object plays the specified role (i.e. the name of the Property in the Association Class that refers to the source Object MUST match the value of this parameter).
resultRole The ResultRole input parameter, if not NULL, "" be a valid Property name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Association in which the returned Object plays the specified role (i.e. the name of the Property in the Association Class that refers to the returned Object MUST match the value of this parameter).
includeQualifiers If the IncludeQualifiers input parameter is true this specifies that all Qualifiers for each Object (including Qualifiers on the Object and on any returned Properties) MUST be included as elements in the response.If false no elements are present in each returned Object.
includeClassOrigin If the IncludeClassOrigin input parameter is true, this specifies that the CLASSORIGIN attribute MUST be present on all appropriate elements in each returned Object. If false, no CLASSORIGIN attributes are present in each returned Object.
propertyList If the PropertyList input parameter is not NULL, the members of the array define one or more Property names. Each returned Object MUST NOT include elements for any Properties missing from this list. Note that if LocalOnly is specified as true (or DeepInheritance is specified as false) this acts as an additional filter on the set of Properties returned (for example, if Property A is included in the PropertyList but LocalOnly is set to true and A is not local to a returned Instance, then it will not be included in that Instance). If the PropertyList input parameter is an empty array this signifies that no Properties are included in each returned Object. If the PropertyList input parameter is NULL this specifies that all Properties (subject to the conditions expressed by the other parameters) are included in each returned Object. If the PropertyList contains duplicate elements, the Server ignores the duplicates but otherwise process the request normally. If the PropertyList contains elements which are invalid Property names for any target Object, the Server ignores such entries but otherwise process the request normally. Clients SHOULD NOT explicitly specify properties in the PropertyList parameter unless they have specified a non-NULL value for the ResultClass parameter.
Returns:
If successful, the method returns zero or more CIM Instances meeting the requested criteria.
Exceptions:
CIMException. The following IDs can be expected. CIM_ERR_ACCESS_DENIED CIM_ERR_NOT_SUPPORTED CIM_ERR_INVALID_NAMESPACE CIM_ERR_INVALID_PARAMETER (including missing, duplicate, unrecognized or otherwise incorrect parameters) CIM_ERR_FAILED (some other unspecified error occurred)

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 1223 of file OW_CIMXMLCIMOMHandle.cpp.

References OW_NAMESPACE::CIMObjectPath::isInstancePath(), and OW_THROWCIMMSG.

void OW_NAMESPACE::CIMXMLCIMOMHandle::associatorsClasses const String ns,
const CIMObjectPath path,
CIMClassResultHandlerIFC result,
const String assocClass = String(),
const String resultClass = String(),
const String role = String(),
const String resultRole = String(),
WBEMFlags::EIncludeQualifiersFlag  includeQualifiers = WBEMFlags::E_EXCLUDE_QUALIFIERS,
WBEMFlags::EIncludeClassOriginFlag  includeClassOrigin = WBEMFlags::E_EXCLUDE_CLASS_ORIGIN,
const StringArray propertyList = 0
[virtual]
 

This operation is used to enumerate CIMClasses that are associated to a particular source CIM Object.

Parameters:
ns The namspace.
path Defines the path of the source CIM Object whose associated Objects are to be returned. This may be a path to either a Class name or Instance name (model path).
result A callback object that will handle the CIMClasses as they are received.
assocClass The AssocClass input parameter, if not empty (""), MUST be a valid CIM Association Class name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Instance of this Class or one of its subclasses.
resultClass The ResultClass input parameter, if not empty (""), MUST be a valid CIM Class name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be either an Instance of this Class (or one of its subclasses) or be this Class (or one of its subclasses).
role The Role input parameter, if not empty (""), MUST be a valid Property name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Association in which the source Object plays the specified role (i.e. the name of the Property in the Association Class that refers to the source Object MUST match the value of this parameter).
resultRole The ResultRole input parameter, if not empty (""), MUST be a valid Property name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Association in which the returned Object plays the specified role (i.e. the name of the Property in the Association Class that refers to the returned Object MUST match the value of this parameter).
includeQualifiers If set to E_INCLUDE_QUALIFIERS then all Qualifiers for each Object (including Qualifiers on the Object and on any returned Properties) MUST be included as elements in the response.If set to E_EXCLUDE_QUALIFIERS, then no qualifiers will be present in the returned object(s).
includeClassOrigin If the IncludeClassOrigin input parameter is set to E_INCLUDE_ORIGIN, then the CLASSORIGIN attribute MUST be present on all appropriate elements in each returned Object. If set to E_EXCLUDE_ORIGIN, no CLASSORIGIN attributes are present in each returned Object.
propertyList If the PropertyList input parameter is not NULL, the members of the array define one or more Property names. Each returned Object MUST NOT include elements for any Properties missing from this list. If the PropertyList input parameter is an empty array this signifies that no Properties are included in each returned Object. If the PropertyList input parameter is NULL this specifies that all Properties (subject to the conditions expressed by the other parameters) are included in each returned Object.
If the PropertyList contains duplicate elements, the Server MUST ignore the duplicates but otherwise process the request normally. If the PropertyList contains elements which are invalid Property names for any target Object, the Server MUST ignore such entries but otherwise process the request normally.

Clients SHOULD NOT explicitly specify properties in the PropertyList parameter unless they have specified a non-empty ("") value for the ResultClass parameter.

Exceptions:
CIMException. The following IDs can be expected: CIM_ERR_ACCESS_DENIED, CIM_ERR_NOT_SUPPORTED, CIM_ERR_INVALID_NAMESPACE, CIM_ERR_INVALID_PARAMETER (including missing, duplicate, unrecognized or otherwise incorrect parameters), CIM_ERR_FAILED (some other unspecified error occurred)

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 1242 of file OW_CIMXMLCIMOMHandle.cpp.

References OW_NAMESPACE::CIMObjectPath::isClassPath(), and OW_THROWCIMMSG.

void OW_NAMESPACE::CIMXMLCIMOMHandle::associatorsCommon const String ns,
const CIMObjectPath path,
CIMInstanceResultHandlerIFC iresult,
CIMClassResultHandlerIFC cresult,
const String assocClass,
const String resultClass,
const String role,
const String resultRole,
WBEMFlags::EIncludeQualifiersFlag  includeQualifiers,
WBEMFlags::EIncludeClassOriginFlag  includeClassOrigin,
const StringArray propertyList
[private]
 

Definition at line 1261 of file OW_CIMXMLCIMOMHandle.cpp.

References OW_NAMESPACE::String::empty(), OW_NAMESPACE::CIMXMLParser::P_Role, and OW_NAMESPACE::Array< T >::push_back().

void OW_NAMESPACE::CIMXMLCIMOMHandle::checkNodeForCIMError CIMXMLParser reply,
const String operation,
bool  isIntrinsic
[private]
 

Definition at line 239 of file OW_CIMXMLCIMOMHandle.cpp.

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

Referenced by doSendRequest().

void OW_NAMESPACE::CIMXMLCIMOMHandle::close  )  [virtual]
 

Close the connetion to the CIMOM.

This will free resources used for the client session.

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 109 of file OW_CIMXMLCIMOMHandle.cpp.

References m_protocol.

void OW_NAMESPACE::CIMXMLCIMOMHandle::createClass const String ns,
const CIMClass cc
[virtual]
 

Adds the CIM class to the specified namespace.

Parameters:
name An CIMObjectPath that identifies the CIM class to be added.
cc The CIMClass to be added
Exceptions:
CIMException If the CIM class already exists in the namespace.

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 904 of file OW_CIMXMLCIMOMHandle.cpp.

References OW_NAMESPACE::CIMtoXML(), intrinsicMethod(), ns, ostr, and OW_NAMESPACE::PROTOCOL_VERSION_1_0.

CIMObjectPath OW_NAMESPACE::CIMXMLCIMOMHandle::createInstance const String ns,
const CIMInstance ci
[virtual]
 

Add the specified CIM instance to the specified namespace.

Parameters:
name The CIMObjectPath that identifies the CIM instance to be added.
ci the CIMInstance to be added
Returns:
An CIMObjectPath of the created instance.
Exceptions:
CIMException If the CIM instance already exists in the namespace

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 1000 of file OW_CIMXMLCIMOMHandle.cpp.

References OW_NAMESPACE::CIMInstancetoXML(), OW_NAMESPACE::CIMNULL, intrinsicMethod(), ns, ostr, OW_NAMESPACE::PROTOCOL_VERSION_1_0, and OW_NAMESPACE::CIMObjectPath::setNameSpace().

void OW_NAMESPACE::CIMXMLCIMOMHandle::deleteClass const String ns,
const String className
[virtual]
 

Parameters:
ns The namespace containing the class to delete.
className The class to delete
Exceptions:
CIMException If the object does not exist

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 918 of file OW_CIMXMLCIMOMHandle.cpp.

References className, OW_NAMESPACE::CIMXMLParser::P_ClassName, OW_NAMESPACE::Array< T >::push_back(), and OW_NAMESPACE::Param::VALUESET.

void OW_NAMESPACE::CIMXMLCIMOMHandle::deleteInstance const String ns,
const CIMObjectPath path
[virtual]
 

Deletes the CIM instance specified by the CIM object path.

A CIM object path consists of two parts: namespace + model path. The model path is created by concatenating the properties of a class that are qualified with the KEY qualifier.

Parameters:
path The CIMObjectPath identifying the instance to delete.
Exceptions:
CIMException If the instance does not exist.

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 1023 of file OW_CIMXMLCIMOMHandle.cpp.

References inst, OW_NAMESPACE::instanceNameToKey(), intrinsicMethod(), ns, and OW_NAMESPACE::PROTOCOL_VERSION_1_0.

void OW_NAMESPACE::CIMXMLCIMOMHandle::deleteQualifierType const String ns,
const String qualName
[virtual]
 

Deletes the CIM qualfier for the object specified by the CIM object path.

Parameters:
path The CIMObjectPath identifying the qualifier type to delete.
Exceptions:
CIMException If the qualifier type does not exist.

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 848 of file OW_CIMXMLCIMOMHandle.cpp.

References intrinsicMethod(), ns, OW_NAMESPACE::CIMXMLParser::P_QualifierName, OW_NAMESPACE::PROTOCOL_VERSION_1_0, and OW_NAMESPACE::Array< T >::push_back().

void OW_NAMESPACE::CIMXMLCIMOMHandle::doSendRequest const Reference< std::iostream > &  ostr,
const String methodName,
const String cimObject,
bool  isIntrinsic,
ClientOperation op,
const String cimProtocolVersion
[private]
 

Definition at line 183 of file OW_CIMXMLCIMOMHandle.cpp.

References checkNodeForCIMError(), OW_NAMESPACE::CIMProtocolIFC::E_CIM_OPERATION_REQUEST, OW_NAMESPACE::CIMXMLParser::E_IRETURNVALUE, OW_NAMESPACE::HTTPUtils::eatEntity(), OW_NAMESPACE::ClientCIMOMHandle::getHTTPTrailers(), m_protocol, OW_NAMESPACE::XMLPullParser::mustGetEndTag(), OW_NAMESPACE::XMLPullParser::mustGetNextTag(), and OW_NAMESPACE::CIMXMLParser::tokenIsId().

void OW_NAMESPACE::CIMXMLCIMOMHandle::enumClass const String ns,
const String className,
CIMClassResultHandlerIFC result,
WBEMFlags::EDeepFlag  deep = WBEMFlags::E_SHALLOW,
WBEMFlags::ELocalOnlyFlag  localOnly = WBEMFlags::E_NOT_LOCAL_ONLY,
WBEMFlags::EIncludeQualifiersFlag  includeQualifiers = WBEMFlags::E_INCLUDE_QUALIFIERS,
WBEMFlags::EIncludeClassOriginFlag  includeClassOrigin = WBEMFlags::E_INCLUDE_CLASS_ORIGIN
[virtual]
 

Enumerates the class specified by the CIMObjectPath.

Parameters:
path The CIMObjectPath identifying the class to be enumerated.
deep If set to DEEP, the enumeration returned will contain the names of all classes derived from the enumerated class. If set to SHALLOW the enumermation will return only the names of the first level children of the enumerated class.
localOnly If set to LOCAL_ONLY, only the non-inherited properties are returned on each instance, otherwise all properties are returned.
includeQualifiers If set toWBEMFlags::E_INCLUDE_QUALIFIERS, then all class, property and method qualifiers will be returned.
includeClassOrigin If true, then the class origin attribute will be included with all appropriate elements of each class.
Exceptions:
CIMException If the specified CIMObjectPath object cannot be found

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 421 of file OW_CIMXMLCIMOMHandle.cpp.

References className, OW_NAMESPACE::CIMXMLParser::P_ClassName, OW_NAMESPACE::Array< T >::push_back(), and OW_NAMESPACE::Param::VALUESET.

void OW_NAMESPACE::CIMXMLCIMOMHandle::enumClassNames const String ns,
const String className,
StringResultHandlerIFC result,
WBEMFlags::EDeepFlag  deep = WBEMFlags::E_DEEP
[virtual]
 

Enumerates the class specified by the CIMObjectPath.

Parameters:
path The CIMObjectPath identifying the class to be enumerated.
deep If set to CIMClient::DEEP, the enumeration returned will contain the names of all classes derived from the enumerated class. If set to CIMClient::SHALLOW the enumermation will return only the names of the first level children of the enumerated class.
Exceptions:
CIMException If the specified CIMObjectPath object cannot be found.

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 381 of file OW_CIMXMLCIMOMHandle.cpp.

References className, OW_NAMESPACE::CIMXMLParser::P_ClassName, OW_NAMESPACE::Array< T >::push_back(), and OW_NAMESPACE::Param::VALUESET.

void OW_NAMESPACE::CIMXMLCIMOMHandle::enumInstanceNames const String ns,
const String className,
CIMObjectPathResultHandlerIFC result
[virtual]
 

Returns all instances (the the names) belonging to the class specified in the path.

This could include instances of all the classes in the specified class' hierarchy.

Parameters:
path The CIMObjectPath identifying the class whose instances are to be enumerated.
Exceptions:
CIMException If the object cannot be found

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 480 of file OW_CIMXMLCIMOMHandle.cpp.

References className, OW_NAMESPACE::CIMXMLParser::P_ClassName, OW_NAMESPACE::Array< T >::push_back(), and OW_NAMESPACE::Param::VALUESET.

void OW_NAMESPACE::CIMXMLCIMOMHandle::enumInstances const String ns,
const String className,
CIMInstanceResultHandlerIFC result,
WBEMFlags::EDeepFlag  deep = WBEMFlags::E_DEEP,
WBEMFlags::ELocalOnlyFlag  localOnly = WBEMFlags::E_NOT_LOCAL_ONLY,
WBEMFlags::EIncludeQualifiersFlag  includeQualifiers = WBEMFlags::E_EXCLUDE_QUALIFIERS,
WBEMFlags::EIncludeClassOriginFlag  includeClassOrigin = WBEMFlags::E_EXCLUDE_CLASS_ORIGIN,
const StringArray propertyList = 0
[virtual]
 

Returns all instances (the whole instance and not just the names) belonging to the class specified in the path.

This could include instances of all the classes in the specified class' hierarchy.

Parameters:
path The CIMObjectPath identifying the class whose instances are to be enumerated.
deep If set to CIMClient::DEEP, the enumeration returned will contain instances of the specified class and all classes derived from it. If set to CIMClient::SHALLOW only instances belonging to the specified class are returned.
localOnly if true, only the non-inherited properties are returned on each instance, otherwise all properties are returned.
includeQualifiers If true, then all of the qualifiers from the class will be returned with the each instance.
includeClassOrigin If true, then the class origin attribute will be returned on all appropriate elements.
propertyList If not NULL and has 0 or more elements, the returned instances will not contain properties missing from this list. If not NULL and it contains NO elements, then no properties will be included in the instances. If propertyList IS NULL, then it is ignored and all properties are returned with the instances subject to constraints specified in the other parameters.
Exceptions:
CIMException If the object cannot be found

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 544 of file OW_CIMXMLCIMOMHandle.cpp.

References className, OW_NAMESPACE::CIMException::NOT_FOUND, and OW_THROWCIMMSG.

void OW_NAMESPACE::CIMXMLCIMOMHandle::enumQualifierTypes const String ns,
CIMQualifierTypeResultHandlerIFC result
[virtual]
 

Enumerates the qualifiers defined in a namespace.

Parameters:
path The CIMObjectPath identifying the namespace whose qualifier definitions are to be enumerated.
Exceptions:
CIMException If the specified CIMObjectPath cannot be found

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 878 of file OW_CIMXMLCIMOMHandle.cpp.

References intrinsicMethod(), ns, OW_NAMESPACE::PROTOCOL_VERSION_1_0, and result.

void OW_NAMESPACE::CIMXMLCIMOMHandle::execQuery const String ns,
CIMInstanceResultHandlerIFC result,
const String query,
const String queryLanguage
[virtual]
 

Executes a query to retrieve or modify objects.

Parameters:
ns CIMNameSpace that identifies the namespace in which to query.
query A string containing the text of the query. This parameter cannot be null.
queryLanguage A string containing the query language the query is written in.
Returns:
CIMInstanceArray A deep enumeration of all instances of the specified class and all classes derived from the specified class, that match the query string.
Exceptions:
CIMException If any of the following errors occur: The user does not have permission to view the result. The requested query language is not supported. The query specifies a class that does not exist.

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 1452 of file OW_CIMXMLCIMOMHandle.cpp.

References intrinsicMethod(), ns, OW_NAMESPACE::CIMXMLParser::P_Query, OW_NAMESPACE::CIMXMLParser::P_QueryLanguage, OW_NAMESPACE::PROTOCOL_VERSION_1_0, OW_NAMESPACE::Array< T >::push_back(), result, and OW_NAMESPACE::XMLEscape().

CIMInstanceEnumeration OW_NAMESPACE::CIMXMLCIMOMHandle::execQuery const String ns,
const String query,
int  wqlLevel
 

Executes a query to retrieve objects.

The WBEM Query Language (WQL) is a subset of standard American National Standards Institute Structured Query Language (ANSI SQL) with semantic changes to support WBEM on Solaris. Only queries on class instances are supported.

Parameters:
ns CIMNameSpace that identifies the namespace in which to query.
query A string containing the text of the query. This parameter cannot be null.
wqlLevel - Static integer that identifies the query language to use for parsing the query string. WQL levels 1 and 2 are the only currently supported query language.
Returns:
CIMInstanceEnumeration A deep enumeration of all instances of the specified class and all classes derived from the specified class, that match the query string.
Exceptions:
CIMException If any of the following errors occur: The user does not have permission to view the result. The requested query language is not supported. The query specifies a class that does not exist.

Definition at line 1443 of file OW_CIMXMLCIMOMHandle.cpp.

References OW_NAMESPACE::CIMOMHandleIFC::execQueryE(), and ns.

CIMClass OW_NAMESPACE::CIMXMLCIMOMHandle::getClass const String ns,
const String className,
WBEMFlags::ELocalOnlyFlag  localOnly = WBEMFlags::E_NOT_LOCAL_ONLY,
WBEMFlags::EIncludeQualifiersFlag  includeQualifiers = WBEMFlags::E_INCLUDE_QUALIFIERS,
WBEMFlags::EIncludeClassOriginFlag  includeClassOrigin = WBEMFlags::E_INCLUDE_CLASS_ORIGIN,
const StringArray propertyList = NULL
[virtual]
 

Gets the CIM class for the specified CIM object path.

Parameters:
name The CIMObjectPath that identifies the CIM class
localOnly If set to LOCAL_ONLY, only the non-inherited properties and methods are returned, otherwise all properties and methods are returned.
includeQualifiers If set toWBEMFlags::E_INCLUDE_QUALIFIERS, then all class, property and method qualifiers will be included in the CIMClass. Otherwise qualifiers will be excluded.
includeClassOrigin If true, then the classOrigin attribute will be present on all appropriate elements of the CIMClass
propertyList If not NULL, only properties contained in this array will be included in the CIMClass. If NULL, all properties will be returned.
Returns:
CIMClass the CIM class indentified by the CIMObjectPath
Exceptions:
CIMException If the namespace or the model path identifying the object cannot be found

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 598 of file OW_CIMXMLCIMOMHandle.cpp.

References className, OW_NAMESPACE::CIMXMLParser::P_ClassName, OW_NAMESPACE::Array< T >::push_back(), and OW_NAMESPACE::Param::VALUESET.

bool OW_NAMESPACE::CIMXMLCIMOMHandle::getHTTPResponseHeader const String hdrName,
String valueOut
const [virtual]
 

Get the value of an HTTP header that was returned in the CIMOM's response.

Parameters:
hdrName The of the HTTP Header value to retrieve. (e.g. "Content-Language")
valueOut An output param that will hold the value of the header on return.
Returns:
true if the header exists. Otherwise false.

Implements OW_NAMESPACE::ClientCIMOMHandle.

Definition at line 1512 of file OW_CIMXMLCIMOMHandle.cpp.

References OW_NAMESPACE::IntrusiveReference< T >::cast_to(), OW_NAMESPACE::HTTPUtils::getHeaderValue(), OW_NAMESPACE::HTTPUtils::headerHasKey(), m_protocol, and OW_NAMESPACE::ClientCIMOMHandle::m_trailers.

CIMInstance OW_NAMESPACE::CIMXMLCIMOMHandle::getInstance const String ns,
const CIMObjectPath instanceName,
WBEMFlags::ELocalOnlyFlag  localOnly = WBEMFlags::E_NOT_LOCAL_ONLY,
WBEMFlags::EIncludeQualifiersFlag  includeQualifiers = WBEMFlags::E_EXCLUDE_QUALIFIERS,
WBEMFlags::EIncludeClassOriginFlag  includeClassOrigin = WBEMFlags::E_EXCLUDE_CLASS_ORIGIN,
const StringArray propertyList = 0
[virtual]
 

Gets the CIM instance for the specified CIM object path.

Parameters:
name the CIMObjectPath that identifies this CIM instance
localOnly If true, only the non-inherited properties are returned, otherwise all properties are returned.
includeQualifiers If true, then all of the qualifiers from the class will be returned with the instance
includeClassOrigin If true, then the class origin attribute will be returned on all appropriate elements
propertyList If not NULL and has 0 or more elements, the returned instance will not contain properties missing from this list. If not NULL and it contains NO elements, then no properties will be included in the instance. If propertyList IS NULL, then it is ignored and all properties are returned with the instance subject to constraints specified in the other parameters.
Returns:
The CIMInstance identified by the CIMObjectPath
Exceptions:
CIMException If the specified CIMObjectPath cannot be found

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 656 of file OW_CIMXMLCIMOMHandle.cpp.

References OW_NAMESPACE::CIMNULL, OW_NAMESPACE::WBEMFlags::E_EXCLUDE_CLASS_ORIGIN, OW_NAMESPACE::WBEMFlags::E_EXCLUDE_QUALIFIERS, OW_NAMESPACE::WBEMFlags::E_LOCAL_ONLY, OW_NAMESPACE::generatePropertyListXML(), OW_NAMESPACE::instanceNameToKey(), intrinsicMethod(), ns, OW_NAMESPACE::CIMXMLParser::P_IncludeClassOrigin, OW_NAMESPACE::CIMXMLParser::P_IncludeQualifiers, OW_NAMESPACE::CIMXMLParser::P_LocalOnly, propertyList, OW_NAMESPACE::PROTOCOL_VERSION_1_0, OW_NAMESPACE::Array< T >::push_back(), OW_NAMESPACE::CIMObjectPath::setNameSpace(), and OW_NAMESPACE::OStringStream::toString().

CIMValue OW_NAMESPACE::CIMXMLCIMOMHandle::getProperty const String ns,
const CIMObjectPath name,
const String propertyName
[virtual]
 

Get the specified CIM instance property.

Parameters:
name An CIMObjectPath that identifies the CIM instance to be accessed
propertyName The name of the property to retrieve.
Returns:
The CIMvalue for property identified by propertyName.
Exceptions:
CIMException 

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 1079 of file OW_CIMXMLCIMOMHandle.cpp.

References OW_NAMESPACE::CIMNULL, OW_NAMESPACE::instanceNameToKey(), intrinsicMethod(), ns, OW_NAMESPACE::CIMXMLParser::P_PropertyName, OW_NAMESPACE::PROTOCOL_VERSION_1_0, and OW_NAMESPACE::Array< T >::push_back().

CIMQualifierType OW_NAMESPACE::CIMXMLCIMOMHandle::getQualifierType const String ns,
const String qualifierName
[virtual]
 

Gets the CIM qualifier type specified in the CIM object path.

Parameters:
name The CIMObjectPath that identifies the CIM qualifier type.
Returns:
An CIMQualifierType identified by name.
Exceptions:
CIMException If the CIM qualifier type cannot be found

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 820 of file OW_CIMXMLCIMOMHandle.cpp.

References intrinsicMethod(), ns, OW_NAMESPACE::CIMXMLParser::P_QualifierName, OW_NAMESPACE::PROTOCOL_VERSION_1_0, and OW_NAMESPACE::Array< T >::push_back().

CIMFeatures OW_NAMESPACE::CIMXMLCIMOMHandle::getServerFeatures  )  [virtual]
 

Get the features of the CIMOM server.

Returns:
The features of the CIMOM this CIMOMHandleIFC is connected to as an CIMFeatures object.

Reimplemented from OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 1466 of file OW_CIMXMLCIMOMHandle.cpp.

References m_protocol.

CIMProtocolIFCRef OW_NAMESPACE::CIMXMLCIMOMHandle::getWBEMProtocolHandler  )  const [virtual]
 

Get a Reference to the WBEM protocol handler (HTTPClient).

Implements OW_NAMESPACE::ClientCIMOMHandle.

Definition at line 103 of file OW_CIMXMLCIMOMHandle.cpp.

References m_protocol.

void OW_NAMESPACE::CIMXMLCIMOMHandle::intrinsicMethod const String ns,
const String operation,
ClientOperation op,
const String cimProtocolVersion,
const Array< Param > &  params = ArrayParam >(),
const String extra = String()
[private]
 

Definition at line 1472 of file OW_CIMXMLCIMOMHandle.cpp.

References i, m_protocol, ns, sendIntrinsicXMLHeader(), and OW_NAMESPACE::Array< T >::size().

Referenced by createClass(), createInstance(), deleteInstance(), deleteQualifierType(), enumQualifierTypes(), execQuery(), getInstance(), getProperty(), getQualifierType(), modifyClass(), modifyInstance(), setProperty(), and setQualifierType().

CIMValue OW_NAMESPACE::CIMXMLCIMOMHandle::invokeMethod const String ns,
const CIMObjectPath path,
const String methodName,
const CIMParamValueArray inParams,
CIMParamValueArray outParams
[virtual]
 

Executes the specified method on the specified object.

A method is a declaration containing the method name, return type, and parameters in the method.

Parameters:
name An CIMObjectPath that identifies the method
methodName The string name of the method to be invoked
inParams The input parameters specified as an CIMValueArray.
outParams The output parameters.
Returns:
A non-null CIMValue on success. Otherwise a null CIMValue.
Exceptions:
CIMException If the specified method cannot be found

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 764 of file OW_CIMXMLCIMOMHandle.cpp.

References OW_NAMESPACE::CIMtoXML(), OW_NAMESPACE::CIMValue::getCIMDataType(), i, m_protocol, ns, OW_NAMESPACE::PROTOCOL_VERSION_1_0, sendExtrinsicXMLHeader(), OW_NAMESPACE::Array< T >::size(), OW_NAMESPACE::CIMDataType::toString(), and type.

void OW_NAMESPACE::CIMXMLCIMOMHandle::modifyClass const String ns,
const CIMClass cc
[virtual]
 

Updates the CIM class associated with the specified namespace.

Parameters:
name An CIMObjectPath that identifies the CIM class to be updated.
cc The CIMClass to be updated
Exceptions:
CIMException If the class does not exists

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 890 of file OW_CIMXMLCIMOMHandle.cpp.

References OW_NAMESPACE::CIMtoXML(), intrinsicMethod(), ns, OW_NAMESPACE::CIMXMLParser::P_ModifiedClass, OW_NAMESPACE::PROTOCOL_VERSION_1_0, and OW_NAMESPACE::OStringStream::toString().

void OW_NAMESPACE::CIMXMLCIMOMHandle::modifyInstance const String ns,
const CIMInstance modifiedInstance,
WBEMFlags::EIncludeQualifiersFlag  includeQualifiers,
const StringArray propertyList
[virtual]
 

Update the specified CIM instance associated with the specified namespace.

Parameters:
name An CIMObjectPath that identifies the CIM instance to be updated.
ci The CIMInstance to be updated.
Exceptions:
CIMException 

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 939 of file OW_CIMXMLCIMOMHandle.cpp.

References OW_NAMESPACE::CIMInstanceNameAndInstancetoXML(), OW_NAMESPACE::WBEMFlags::E_INCLUDE_QUALIFIERS, OW_NAMESPACE::generatePropertyListXML(), intrinsicMethod(), ns, ostr, OW_NAMESPACE::CIMXMLParser::P_IncludeQualifiers, propertyList, OW_NAMESPACE::PROTOCOL_VERSION_1_0, OW_NAMESPACE::PROTOCOL_VERSION_1_1, and OW_NAMESPACE::Array< T >::push_back().

CIMXMLCIMOMHandle& OW_NAMESPACE::CIMXMLCIMOMHandle::operator= const CIMXMLCIMOMHandle  )  [private]
 

void OW_NAMESPACE::CIMXMLCIMOMHandle::referenceNames const String ns,
const CIMObjectPath path,
CIMObjectPathResultHandlerIFC result,
const String resultClass,
const String role
[virtual]
 

This operation is used to enumerate the association objects that refer to a particular target CIM Object (Class or Instance).

Parameters:
objectName refer to reference method.
resultClass refer to reference method.
role refer to reference method.
Returns:
If successful, the method returns the names of zero or more full CIM Class paths or Instance paths of Objects meeting the requested criteria.
Exceptions:
CIMException As defined for associators method.

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 1320 of file OW_CIMXMLCIMOMHandle.cpp.

References OW_NAMESPACE::String::empty(), OW_NAMESPACE::CIMXMLParser::P_Role, and OW_NAMESPACE::Array< T >::push_back().

void OW_NAMESPACE::CIMXMLCIMOMHandle::references const String ns,
const CIMObjectPath path,
CIMInstanceResultHandlerIFC result,
const String resultClass,
const String role,
WBEMFlags::EIncludeQualifiersFlag  includeQualifiers,
WBEMFlags::EIncludeClassOriginFlag  includeClassOrigin,
const StringArray propertyList
[virtual]
 

This operation is used to enumerate the association objects that refer to a particular target CIM Object (Class or Instance).

Parameters:
objectName The ObjectName input parameter defines the target CIM Object whose referring Objects are to be returned. This is either a Class name or Instance name (model path).
resultClass The ResultClass input parameter, if not NULL, MUST be a valid CIM Class name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be an Instance of this Class (or one of its subclasses), or this Class (or one of its subclasses).
role The Role input parameter, if not NULL, MUST be a valid Property name. It acts as a filter on the returned set of Objects by mandating that each returned Objects MUST refer to the target Object via a Property whose name matches the value of this parameter.
includeQualifiers Refer to includeQualifiers for associators.
includeClassOrigin Refer to includeQualifiers for associators.
propertyList Refer to includeQualifiers for associators.
Returns:
If successful, the method returns zero or more CIM Classes or Instances meeting the requested criteria.
Exceptions:
CIMException - as defined for associators method.

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 1357 of file OW_CIMXMLCIMOMHandle.cpp.

References OW_NAMESPACE::CIMObjectPath::isInstancePath(), and OW_THROWCIMMSG.

void OW_NAMESPACE::CIMXMLCIMOMHandle::referencesClasses const String ns,
const CIMObjectPath path,
CIMClassResultHandlerIFC result,
const String resultClass,
const String role,
WBEMFlags::EIncludeQualifiersFlag  includeQualifiers,
WBEMFlags::EIncludeClassOriginFlag  includeClassOrigin,
const StringArray propertyList
[virtual]
 

This operation is used to enumerate the association objects that refer to a particular target CIM Class.

See also:
references
Exceptions:
CIMException - as defined for associators method.

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 1375 of file OW_CIMXMLCIMOMHandle.cpp.

References OW_NAMESPACE::CIMObjectPath::isClassPath(), and OW_THROWCIMMSG.

void OW_NAMESPACE::CIMXMLCIMOMHandle::referencesCommon const String ns,
const CIMObjectPath path,
CIMInstanceResultHandlerIFC iresult,
CIMClassResultHandlerIFC cresult,
const String resultClass,
const String role,
WBEMFlags::EIncludeQualifiersFlag  includeQualifiers,
WBEMFlags::EIncludeClassOriginFlag  includeClassOrigin,
const StringArray propertyList
[private]
 

Definition at line 1393 of file OW_CIMXMLCIMOMHandle.cpp.

References OW_NAMESPACE::String::empty(), OW_NAMESPACE::CIMXMLParser::P_Role, and OW_NAMESPACE::Array< T >::push_back().

void OW_NAMESPACE::CIMXMLCIMOMHandle::sendCommonXMLHeader std::ostream &  ostr,
const String cimProtocolVersion
[private]
 

void OW_NAMESPACE::CIMXMLCIMOMHandle::sendExtrinsicXMLHeader const String ,
const String ns,
const CIMObjectPath path,
std::ostream &  ostr,
const String cimProtocolVersion
[private]
 

Referenced by invokeMethod().

void OW_NAMESPACE::CIMXMLCIMOMHandle::sendIntrinsicXMLHeader const String ,
const String ns,
std::ostream &  ostr,
const String cimProtocolVersion
[private]
 

Referenced by intrinsicMethod().

void OW_NAMESPACE::CIMXMLCIMOMHandle::sendXMLTrailer std::ostream &  ostr,
bool  intrinsic = true
[private]
 

bool OW_NAMESPACE::CIMXMLCIMOMHandle::setHTTPRequestHeader const String hdrName,
const String hdrValue
[virtual]
 

Set/Add an HTTP header and its associated value.

This header will be sent to the CIMOM on every request.

Parameters:
hdrName The name of the HTTP Header (e.g. "Accept-Language")
hdrValue The value of the HTTP Header (e.g. "en-US, en")
Returns:
true if successful. Otherwise false.

Implements OW_NAMESPACE::ClientCIMOMHandle.

Definition at line 1496 of file OW_CIMXMLCIMOMHandle.cpp.

References OW_NAMESPACE::IntrusiveReference< T >::cast_to(), and m_protocol.

void OW_NAMESPACE::CIMXMLCIMOMHandle::setProperty const String ns,
const CIMObjectPath name,
const String propertyName,
const CIMValue cv
[virtual]
 

Set the specified CIM instance property.

Parameters:
name An CIMObjectPath that identifies the CIM instance to be accessed
propertyName The name of the property to set the value on.
newValue The new value for property propertyName.
Exceptions:
CIMException 

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 1034 of file OW_CIMXMLCIMOMHandle.cpp.

References OW_NAMESPACE::CIMtoXML(), OW_NAMESPACE::instanceNameToKey(), intrinsicMethod(), ns, ostr, OW_NAMESPACE::CIMXMLParser::P_NewValue, OW_NAMESPACE::CIMXMLParser::P_PropertyName, OW_NAMESPACE::PROTOCOL_VERSION_1_0, OW_NAMESPACE::Array< T >::push_back(), and OW_NAMESPACE::Param::VALUESET.

void OW_NAMESPACE::CIMXMLCIMOMHandle::setQualifierType const String ns,
const CIMQualifierType qt
[virtual]
 

Updates the specified CIM qualifier type to the specified namespace.

Parameters:
name Am CIMObjectPath that identifies the CIM qualifier type.
qt The CIM qualifier type to be updated.
Exceptions:
CIMException If the qualifier type cannot be found or the user does not have write permission to the namespace.

Implements OW_NAMESPACE::CIMOMHandleIFC.

Definition at line 834 of file OW_CIMXMLCIMOMHandle.cpp.

References OW_NAMESPACE::CIMtoXML(), intrinsicMethod(), ns, OW_NAMESPACE::PROTOCOL_VERSION_1_0, and OW_NAMESPACE::OStringStream::toString().


Member Data Documentation

UInt32 OW_NAMESPACE::CIMXMLCIMOMHandle::m_iMessageID [private]
 

Definition at line 724 of file OW_CIMXMLCIMOMHandle.hpp.

Referenced by CIMXMLCIMOMHandle().

bool OW_NAMESPACE::CIMXMLCIMOMHandle::m_performStrictChecks [private]
 

Definition at line 725 of file OW_CIMXMLCIMOMHandle.hpp.

CIMProtocolIFCRef OW_NAMESPACE::CIMXMLCIMOMHandle::m_protocol [private]
 

Definition at line 718 of file OW_CIMXMLCIMOMHandle.hpp.

Referenced by CIMXMLCIMOMHandle(), close(), doSendRequest(), getHTTPResponseHeader(), getServerFeatures(), getWBEMProtocolHandler(), intrinsicMethod(), invokeMethod(), and setHTTPRequestHeader().


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