CimObject

The CimObject class builds the CIM object that will be sent to the Intel AMT device embedded in a WS-Management structure. It also extracts elements from the object. CimObject deals with field names in string format and does not validate that the fields exist in the object. An application that works with CimObject directly is using the untyped mechanism. CimBase translates its requests into invocations of CimObject.

Public Member Functions

Function

Description

CimObject();

Constructor for the CimObject class.

CimObject(const CimObject &Other)

Constructor for the CimObject class.

CimObject(ICimWsmanClient *client, const string &objectName, const string &xmlNameSpace, const string &xmlPrefix, const string &resourceURI)

Copy constructor.

VectorFieldData GetAllFields()

Return sorted (lexicographically) version of the vector.

void WsmanClient(ICimWsmanClient *client)

Identifies the WS-Management client.

ICimWsmanClient WsmanClient()

Identifies the transport layer WS-Management client.

void Get()

Get a CIM object.

void Get(const CimKeys &keys)

Get a CIM Object.

void Get(const CimReference &reference)

Get a CIM Object.

void Delete(const CimKeys &keys)

Delete a CIM object from the Intel AMT device.

void Put(const CimKeys &keys)

Update a CIM object in the Intel AMT device.

CimReference Create()

Create a CIM object in the Intel AMT device.

unsigned int Invoke(const string &methodName, const CimKeys &keys,

const CimParam &input, CimParam &output);

Invoke a CIM object method.

CimObject CreateObject(ICimWsmanClient *client, string resourceUri, const string &xml)

Create a CIM object in the Intel AMT device.

 

Static Public Member Functions

Function

Description

vector<shared_ptr<CimObject> > Enumerate(ICimWsmanClient *client,

const string &resourceURI, const CimKeys &keys = CimKeys());

Enumerate CIM objects identified by a resource URI and with enumeration options.

vector<shared_ptr<CimObject> > Enumerate(ICimWsmanClient *client,

const EnumerateFilter &filter);

 

Enumerate CIM objects identified by a resource URI and one or more keys and with enumeration options.

vector<shared_ptr<CimReference> > EnumerateRef(ICimWsmanClient *client,

const EnumerateFilter &filter);

Enumerate CIM objects identified by a resource URI and one or more keys.

void Delete(ICimWsmanClient *client, const CimReference &reference)

Delete a CIM object from an Intel AMT device based on a given endpoint reference.

void Delete(ICimWsmanClient *client, const string &resourceURI, const CimKeys &keys)

Delete a CIM object from an Intel AMT device identified by a resource URI and one or more keys.

void Delete(ICimWsmanClient *client, const string &resourceURI)

Delete a CIM object from an Intel AMT device identified by a resource URI. This method will succeed only if there is one instance of this type.

WsManSelectors KeysToSelectors(const CimKeys &keys)

convert from keys to selectors and back

CimKeys SelectorsToKeys(const WsManSelectors &selectors)

convert from keys to selectors and back

 

Properties

Function

Description

ICimWsmanClient *WsmanClient [get, set]

Identifies the transport layer WS-Management client.

vector<Key> &Keys [get, set]

Identifies the transport layer WS-Management client.

string &XmlNameSpace [get, set]

Defines the namespace of the object.

string &XmlPrefix [get, set]

Defines the prefix of the object.

string &ResourceURI [get, set]

Defines the resource URI used in Get and Set operations.

string &ObjectType()

Defines The "type" of the data

 

Copyright © 2006-2022, Intel Corporation. All rights reserved.