VMware GemFire Native Client Cache Reference  9.0.6
CqEvent.hpp
Go to the documentation of this file.
1 #ifndef __GEMFIRE_CQ_EVENT_H__
2 #define __GEMFIRE_CQ_EVENT_H__
3 /*=========================================================================
4  * Copyright (c) 2002-2014 Pivotal Software, Inc. All Rights Reserved.
5  * This product is protected by U.S. and international copyright
6  * and intellectual property laws. Pivotal products are covered by
7  * more patents listed at http://www.pivotal.io/patents.
8  *========================================================================
9  */
10 
11 #include "gfcpp_globals.hpp"
12 #include "gf_types.hpp"
13 #include "Exception.hpp"
14 #include "CqOperation.hpp"
15 #include "Cacheable.hpp"
16 #include "CacheableKey.hpp"
17 #include "CacheableBuiltins.hpp"
18 
24 namespace gemfire
25 {
26 
39 {
40 
41  public:
42  CqEvent(){}
43 
44  virtual ~CqEvent(){}
50  virtual CqQueryPtr getCq() const = 0;
51 
56  virtual CqOperation::CqOperationType getBaseOperation() const = 0;
57 
63  virtual CqOperation::CqOperationType getQueryOperation() const = 0;
64 
70  virtual CacheableKeyPtr getKey() const = 0;
71 
78  virtual CacheablePtr getNewValue() const = 0;
79 
86  virtual CacheableBytesPtr getDeltaValue() const = 0;
87 
88  private:
89  CqEvent( const CqEvent& );
90  void operator = ( const CqEvent& );
91 };
92 } //namespace gemfire
93 
94 #endif //#ifndef __GEMFIRE_CQ_EVENT_H__
This interface provides methods to get all the information sent from the server about the CQ event...
Definition: CqEvent.hpp:38
Contains generic template definitions for Cacheable types and instantiations for built-in types...
Template class for CacheableArrayType SharedPtr's that adds [] operator.
Definition: CacheableBuiltins.hpp:154
This namespace contains all the GemFire C++ API classes, enumerations and globals.
Definition: Assert.hpp:19
#define CPPCACHE_EXPORT
Defines a GemFire CPPCACHE export.
Definition: gf_base.hpp:51
Defines a reference counted shared pointer.
Definition: SharedPtr.hpp:35

GemFire C++ Cache API Documentation