[an error occurred while processing this directive]
[an error occurred while processing this directive] [an error occurred while processing this directive]

Pegasus CIM Object Broker Documentation

[an error occurred while processing this directive]


[an error occurred while processing this directive]

 

Contents

o Introduction
o Objectives
o Overview
o Credits
o Pegasus Architecture
   o Design Goals
   o The Broker
   o Pegasus Providers.
   o Extension Services
   o Pegasus Clients.
   o Functional Flow
o Pegasus Components
   o Component Descriptions
   o Pegasus Directory Structure
o Pegasus Utilization
   o Pegasus Availability
   o Pegasus Installation
   o Pegasus Operation
   o Pegasus CIM Clients
   o Pegasus Providers
   o Pegasus MOF Compiler
o Programming Pegasus
   o CIM Objects in Pegasus
   o CIM Object Table
   o Class Definitions
o Pegasus Interfaces
   o CIM Operations over HTTP
   o Pegasus Client Interfaces
   o Pegasus Provider Interfaces
   o Pegasus Service Extension Interfaces
   o Repository Interfaces
o Writing Providers.
o Glossary
o Pegasus Code Examples
   o Client Examples
   o Client Coding Examples
   o Provider Coding Examples
o Document References
o Pegausus FAQ
o
In file ../../src/Pegasus/Provider/CIMOMHandle.h:

class PEGASUS_PROVIDER_LINKAGE CIMOMHandle

Provides an interface through which a provider may communicate with the CIM Server.

Documentation

Provides an interface through which a provider may communicate with the CIM Server. Most of the methods of this class mirror the CIMClient interface and allow a provider to perform CIM operations. The semantics of these methods are the same as the CIMClient interface, and their documentation is not repeated here. Please refer to the CIMClient documentation for further details. The interface differs slightly by the use of an OperationContext parameter. This parameter is used to communicate context information such as language data, for which the CIMClient uses state settings.

The CIMOMHandle may serialize requests from different threads, and therefore may not be a good choice for multi-threaded access. Use of the CIMClient interface by a provider is permitted and may be considered when multiple threads need to perform client operations concurrently.


Inheritance:


Public Methods

[more] CIMOMHandle ()
Constructs a default CIMOMHandle object
[more] ~CIMOMHandle ()
Destructs a CIMOMHandle object
[more]CIMOMHandle& operator= (const CIMOMHandle& handle)
Assigns the CIMOMHandle from a specified CIMOMHandle object.
[more]void disallowProviderUnload ()
Provides a hint to the CIM Server that the provider calling this method prefers not to be unloaded.
[more]void allowProviderUnload ()
Provides a hint to the CIM Server that the provider calling this method no longer prefers not to be unloaded.
[more]OperationContext getResponseContext ()
Returns the context of the response to the last request.

o CIMOMHandle()
Constructs a default CIMOMHandle object

o ~CIMOMHandle()
Destructs a CIMOMHandle object

oCIMOMHandle& operator=(const CIMOMHandle& handle)
Assigns the CIMOMHandle from a specified CIMOMHandle object.
Parameters:
handle - The CIMOMHandle object to copy.
Returns:
A reference to this CIMOMHandle object with the new assignment.

ovoid disallowProviderUnload()
Provides a hint to the CIM Server that the provider calling this method prefers not to be unloaded. This hint applies in situations where a provider unload is not necessary, such as when the CIM Server unloads idle providers for efficiency reasons. A provider may rescind this hint by using the allowProviderUnload method. Note that disallowProviderUnload is cumulative, such that each call to disallowProviderUnload must be matched with a call to allowProviderUnload.

ovoid allowProviderUnload()
Provides a hint to the CIM Server that the provider calling this method no longer prefers not to be unloaded. This hint applies in situations where a provider unload is not necessary, such as when the CIM Server unloads idle providers for efficiency reasons. This method is used to rescind a hint that was given using the disallowProviderUnload method. Note that each allowProviderUnload call should be preceded by a disallowProviderUnload call.

oOperationContext getResponseContext()
Returns the context of the response to the last request. Currently, the context only contains the ContentLanguageListContainer from the response. Note: this method should be called directly after the call to the CIM request method (getClass, etc), and can only be called once per request.

Returns:
An OperationContext object containing the context of the most recent response.


This class has no child classes.
Friends:
class ProviderStatus
class CMPIProvider
class CMPI_BrokerHdl

Alphabetic index HTML hierarchy of classes or Java


[an error occurred while processing this directive]