version 1.9.18.2, 2008/02/12 19:46:16
|
version 1.10, 2007/05/25 20:48:47
|
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
|
// Author: Carol Ann Krug Graves, Hewlett-Packard Company |
|
// (carolann_graves@hp.com) |
|
// |
|
// Modified By: |
|
// |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#ifndef Pegasus_SubscriptionRepository_h | #ifndef Pegasus_SubscriptionRepository_h |
|
|
#include <Pegasus/Common/AcceptLanguageList.h> | #include <Pegasus/Common/AcceptLanguageList.h> |
#include <Pegasus/Common/ContentLanguageList.h> | #include <Pegasus/Common/ContentLanguageList.h> |
#include <Pegasus/Repository/CIMRepository.h> | #include <Pegasus/Repository/CIMRepository.h> |
#include "NormalizedSubscriptionTable.h" |
|
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
|
|
subscription | subscription |
@param queryLanguage Output query language in which the filter | @param queryLanguage Output query language in which the filter |
query is expressed | query is expressed |
|
@param filterName Output name of the filter |
*/ | */ |
void getFilterProperties ( | void getFilterProperties ( |
const CIMInstance & subscription, | const CIMInstance & subscription, |
String & query, | String & query, |
CIMNamespaceName & sourceNameSpace, | CIMNamespaceName & sourceNameSpace, |
String & queryLanguage); |
String & queryLanguage, |
|
String & filterName); |
| |
/** | /** |
Retrieves the values of the filter query and source namespace | Retrieves the values of the filter query and source namespace |
|
|
const CIMNamespaceName & nameSpace, | const CIMNamespaceName & nameSpace, |
const CIMName & className); | const CIMName & className); |
| |
void beginCreateSubscription(const CIMObjectPath &subPath); |
|
void cancelCreateSubscription(const CIMObjectPath &subPath); |
|
void commitCreateSubscription(const CIMObjectPath &subPath); |
|
private: | private: |
| |
/** | /** |
|
|
const CIMInstance subscription); | const CIMInstance subscription); |
| |
CIMRepository * _repository; | CIMRepository * _repository; |
|
|
AutoPtr<NormalizedSubscriptionTable> _normalizedSubscriptionTable; |
|
Mutex _normalizedSubscriptionTableMutex; |
|
}; | }; |
| |
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |