H:/gfcppsancout/product/include/gfcpp/CqEvent.hpp

Go to the documentation of this file.
00001 #ifndef __GEMFIRE_CQ_EVENT_H__
00002 #define __GEMFIRE_CQ_EVENT_H__
00003 /*=========================================================================
00004  * (c) Copyright 2002-2006, GemStone Systems, Inc. All Rights Reserved.
00005  * 1260 NW Waterhouse Ave., Suite 200,  Beaverton, OR 97006
00006  *========================================================================
00007  */
00008 
00009 #include "gfcpp_globals.hpp"
00010 #include "gf_types.hpp"
00011 #include "Exception.hpp"
00012 #include "CqOperation.hpp"
00013 #include "Cacheable.hpp"
00014 #include "CacheableKey.hpp"
00015 #include "CacheableBuiltins.hpp"
00016 
00022 namespace gemfire
00023 {
00024 
00036 class CPPCACHE_EXPORT CqEvent
00037 {
00038 
00039   public:
00040   CqEvent(){}
00041 
00042   virtual ~CqEvent(){}
00048   virtual CqQueryPtr getCq() const = 0;
00049 
00054   virtual CqOperation::CqOperationType getBaseOperation() const = 0;
00055 
00061   virtual CqOperation::CqOperationType getQueryOperation() const = 0;
00062 
00068   virtual CacheableKeyPtr getKey() const = 0;
00069 
00076   virtual CacheablePtr getNewValue() const = 0;
00077 
00078   virtual CacheableBytesPtr getDeltaValue() const = 0;
00079 
00080   private:
00081     CqEvent( const CqEvent& );
00082     void operator = ( const CqEvent& );
00083 };
00084 } //namespace gemfire
00085 
00086 #endif //#ifndef __GEMFIRE_CQ_EVENT_H__

GemFire C++ Cache API Documentation