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_SECONDARY_INSTANCE_PROVIDER_HPP_INCLUDE_GUARD_
00036 #define OW_REMOTE_SECONDARY_INSTANCE_PROVIDER_HPP_INCLUDE_GUARD_
00037 #include "OW_config.h"
00038 #include "OW_SecondaryInstanceProviderIFC.hpp"
00039 #include "OW_ClientCIMOMHandleConnectionPool.hpp"
00040
00041
00042
00043
00044 namespace OW_NAMESPACE
00045 {
00046
00047 class RemoteSecondaryInstanceProvider : public SecondaryInstanceProviderIFC
00048 {
00049 public:
00050 RemoteSecondaryInstanceProvider(const ProviderEnvironmentIFCRef& env, const String& url, const ClientCIMOMHandleConnectionPoolRef& pool,
00051 bool alwaysSendCredentials, bool useConnectionCredentials);
00052 virtual ~RemoteSecondaryInstanceProvider();
00053
00054 #ifndef OW_DISABLE_INSTANCE_MANIPULATION
00055 virtual void modifyInstance(const ProviderEnvironmentIFCRef &env, const String &ns, const CIMInstance &modifiedInstance, const CIMInstance &previousInstance, WBEMFlags:: EIncludeQualifiersFlag includeQualifiers, const StringArray *propertyList, const CIMClass &theClass);
00056 virtual void deleteInstance(const ProviderEnvironmentIFCRef &env, const String &ns, const CIMObjectPath &cop);
00057 virtual void createInstance(const ProviderEnvironmentIFCRef &env, const String &ns, const CIMInstance &cimInstance);
00058 #endif // #ifndef OW_DISABLE_INSTANCE_MANIPULATION
00059 virtual void filterInstances(const ProviderEnvironmentIFCRef &env, const String &ns, const String &className, CIMInstanceArray &instances, WBEMFlags:: ELocalOnlyFlag localOnly, WBEMFlags:: EDeepFlag deep, WBEMFlags:: EIncludeQualifiersFlag includeQualifiers, WBEMFlags:: EIncludeClassOriginFlag includeClassOrigin, const StringArray *propertyList, const CIMClass &requestedClass, const CIMClass &cimClass);
00060
00061 private:
00062 ClientCIMOMHandleConnectionPoolRef m_pool;
00063 String m_url;
00064 bool m_alwaysSendCredentials;
00065 bool m_useConnectionCredentials;
00066 };
00067
00068
00069 }
00070
00071 #endif
00072
00073