OW_NAMESPACE::RemoteMethodProvider Class Reference

#include <OW_RemoteMethodProvider.hpp>

Inheritance diagram for OW_NAMESPACE::RemoteMethodProvider:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RemoteMethodProvider (const ProviderEnvironmentIFCRef &env, const String &url, const ClientCIMOMHandleConnectionPoolRef &pool, bool alwaysSendCredentials, bool useConnectionCredentials)
virtual ~RemoteMethodProvider ()
virtual CIMValue invokeMethod (const ProviderEnvironmentIFCRef &env, const String &ns, const CIMObjectPath &path, const String &methodName, const CIMParamValueArray &in, CIMParamValueArray &out)
 The CIMOM calls this method when the method specified in the parameters is to be invoked.

Private Attributes

ClientCIMOMHandleConnectionPoolRef m_pool
String m_url
bool m_alwaysSendCredentials
bool m_useConnectionCredentials

Detailed Description

Definition at line 48 of file OW_RemoteMethodProvider.hpp.


Constructor & Destructor Documentation

OW_NAMESPACE::RemoteMethodProvider::RemoteMethodProvider const ProviderEnvironmentIFCRef env,
const String url,
const ClientCIMOMHandleConnectionPoolRef pool,
bool  alwaysSendCredentials,
bool  useConnectionCredentials
 

Definition at line 55 of file OW_RemoteMethodProvider.cpp.

OW_NAMESPACE::RemoteMethodProvider::~RemoteMethodProvider  )  [virtual]
 

Definition at line 65 of file OW_RemoteMethodProvider.cpp.


Member Function Documentation

CIMValue OW_NAMESPACE::RemoteMethodProvider::invokeMethod const ProviderEnvironmentIFCRef env,
const String ns,
const CIMObjectPath path,
const String methodName,
const CIMParamValueArray in,
CIMParamValueArray out
[virtual]
 

The CIMOM calls this method when the method specified in the parameters is to be invoked.

Parameters:
cop Contains the path to the instance whose method must be invoked.
methodName The name of the method.
inParams An array of CIMValues which are the input parameters for this method.
outParams An array of CIMValues which are the output parameters for this method.
Returns:
CIMValue - The return value of the method. Must be a valid CIMValue.
Exceptions:
CIMException 

Implements OW_NAMESPACE::MethodProviderIFC.

Definition at line 70 of file OW_RemoteMethodProvider.cpp.

References OW_NAMESPACE::CIMNULL, OW_NAMESPACE::COMPONENT_NAME, env, OW_NAMESPACE::CIMException::FAILED, OW_NAMESPACE::CIMException::getErrNo(), OW_NAMESPACE::RemoteProviderUtils::getRemoteClientCIMOMHandle(), hdl, m_alwaysSendCredentials, m_pool, m_url, m_useConnectionCredentials, OW_NAMESPACE::CIMException::NOT_SUPPORTED, ns, OW_LOG_DEBUG, OW_LOG_INFO, and OW_NAMESPACE::CIMException::setErrNo().


Member Data Documentation

bool OW_NAMESPACE::RemoteMethodProvider::m_alwaysSendCredentials [private]
 

Definition at line 66 of file OW_RemoteMethodProvider.hpp.

Referenced by invokeMethod().

ClientCIMOMHandleConnectionPoolRef OW_NAMESPACE::RemoteMethodProvider::m_pool [private]
 

Definition at line 64 of file OW_RemoteMethodProvider.hpp.

Referenced by invokeMethod().

String OW_NAMESPACE::RemoteMethodProvider::m_url [private]
 

Definition at line 65 of file OW_RemoteMethodProvider.hpp.

Referenced by invokeMethod().

bool OW_NAMESPACE::RemoteMethodProvider::m_useConnectionCredentials [private]
 

Definition at line 67 of file OW_RemoteMethodProvider.hpp.

Referenced by invokeMethod().


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