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 #ifndef OW_Perl_INDICATION_PROVIDER_PROXY_HPP_
00031 #define OW_Perl_INDICATION_PROVIDER_PROXY_HPP_
00032 #include "OW_config.h"
00033 #include "OW_IndicationProviderIFC.hpp"
00034 #include "OW_FTABLERef.hpp"
00035 
00036 namespace OW_NAMESPACE
00037 {
00038 
00039 class PerlIndicationProviderProxy : public IndicationProviderIFC
00040 {
00041 public:
00042    PerlIndicationProviderProxy(const FTABLERef& f)
00043    : m_ftable(f)
00044    , m_activationCount(0)
00045    {
00046    }
00047    virtual ~PerlIndicationProviderProxy()
00048    {
00049    }
00050    virtual void deActivateFilter(
00051       const ProviderEnvironmentIFCRef& env,
00052       const WQLSelectStatement& filter, 
00053       const String& eventType, 
00054       const String& nameSpace,
00055       const StringArray& classes
00056       ); 
00057    virtual void activateFilter(
00058       const ProviderEnvironmentIFCRef& env,
00059       const WQLSelectStatement& filter, 
00060       const String& eventType, 
00061       const String& nameSpace,
00062       const StringArray& classes
00063       );
00064    virtual void authorizeFilter(
00065       const ProviderEnvironmentIFCRef& env,
00066       const WQLSelectStatement& filter, 
00067       const String& eventType, 
00068       const String& nameSpace,
00069       const StringArray& classes, 
00070       const String& owner
00071       );
00072    virtual int mustPoll(
00073       const ProviderEnvironmentIFCRef& env,
00074       const WQLSelectStatement& filter, 
00075       const String& eventType, 
00076       const String& nameSpace,
00077       const StringArray& classes
00078       );
00079 private:
00080    FTABLERef m_ftable;
00081    unsigned int m_activationCount;
00082 };
00083 
00084 } 
00085 
00086 #endif