00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00035 #ifndef OW_REMOTE_ASSOCIATOR_PROVIDER_HPP_INCLUDE_GUARD_
00036 #define OW_REMOTE_ASSOCIATOR_PROVIDER_HPP_INCLUDE_GUARD_
00037 #include "OW_config.h"
00038 #ifndef OW_DISABLE_ASSOCIATION_TRAVERSAL
00039 #include "OW_AssociatorProviderIFC.hpp"
00040 #include "OW_ClientCIMOMHandleConnectionPool.hpp"
00041
00042
00043
00044
00045 namespace OW_NAMESPACE
00046 {
00047
00048 class RemoteAssociatorProvider : public AssociatorProviderIFC
00049 {
00050 public:
00051 RemoteAssociatorProvider(const ProviderEnvironmentIFCRef& env, const String& url, const ClientCIMOMHandleConnectionPoolRef& pool,
00052 bool alwaysSendCredentials, bool useConnectionCredentials);
00053 virtual ~RemoteAssociatorProvider();
00054 virtual void references(const ProviderEnvironmentIFCRef &env, CIMInstanceResultHandlerIFC &result, const String &ns, const CIMObjectPath &objectName, const String &resultClass, const String &role, WBEMFlags:: EIncludeQualifiersFlag includeQualifiers, WBEMFlags:: EIncludeClassOriginFlag includeClassOrigin, const StringArray *propertyList);
00055 virtual void associators(const ProviderEnvironmentIFCRef &env, CIMInstanceResultHandlerIFC &result, const String &ns, const CIMObjectPath &objectName, const String &assocClass, const String &resultClass, const String &role, const String &resultRole, WBEMFlags:: EIncludeQualifiersFlag includeQualifiers, WBEMFlags:: EIncludeClassOriginFlag includeClassOrigin, const StringArray *propertyList);
00056 virtual void associatorNames(const ProviderEnvironmentIFCRef &env, CIMObjectPathResultHandlerIFC &result, const String &ns, const CIMObjectPath &objectName, const String &assocClass, const String &resultClass, const String &role, const String &resultRole);
00057 virtual void referenceNames(const ProviderEnvironmentIFCRef &env, CIMObjectPathResultHandlerIFC &result, const String &ns, const CIMObjectPath &objectName, const String &resultClass, const String &role);
00058
00059 private:
00060 ClientCIMOMHandleConnectionPoolRef m_pool;
00061 String m_url;
00062 bool m_alwaysSendCredentials;
00063 bool m_useConnectionCredentials;
00064 };
00065
00066
00067 }
00068
00069 #endif // #ifndef OW_DISABLE_ASSOCIATION_TRAVERSAL
00070
00071 #endif
00072
00073
00074
00075