VMware GemFire Native C++ Reference  9.1
CqListener.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #ifndef GEODE_CQLISTENER_H_
4 #define GEODE_CQLISTENER_H_
5 
6 /*
7  * Licensed to the Apache Software Foundation (ASF) under one or more
8  * contributor license agreements. See the NOTICE file distributed with
9  * this work for additional information regarding copyright ownership.
10  * The ASF licenses this file to You under the Apache License, Version 2.0
11  * (the "License"); you may not use this file except in compliance with
12  * the License. You may obtain a copy of the License at
13  *
14  * http://www.apache.org/licenses/LICENSE-2.0
15  *
16  * Unless required by applicable law or agreed to in writing, software
17  * distributed under the License is distributed on an "AS IS" BASIS,
18  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19  * See the License for the specific language governing permissions and
20  * limitations under the License.
21  */
22 
23 #include "geode_globals.hpp"
24 #include "geode_types.hpp"
25 #include "CqEvent.hpp"
26 
31 namespace apache {
32 namespace geode {
33 namespace client {
34 
47  public:
53  virtual void onEvent(const CqEvent& aCqEvent);
54 
62  virtual void onError(const CqEvent& aCqEvent);
63 
82  virtual void close();
83 
84  protected:
88  CqListener();
89 
90  private:
91  // never implemented.
92  CqListener(const CacheListener& other);
93  void operator=(const CqListener& other);
94 };
95 } // namespace client
96 } // namespace geode
97 } // namespace apache
98 
99 #endif // GEODE_CQLISTENER_H_
An application plug-in that can be installed on a region.
Definition: CacheListener.hpp:78
Each enum represents a predefined RegionAttributes in a Cache.
Definition: Assert.hpp:31
#define CPPCACHE_EXPORT
Defines a Geode CPPCACHE export.
Definition: geode_base.hpp:58
This interface provides methods to get all the information sent from the server about the CQ event...
Definition: CqEvent.hpp:54
This abstract base class is the base class of all user objects that have the shared capability of ref...
Definition: SharedBase.hpp:40
Application plug-in interface for handling continuous query events after they occur.
Definition: CqListener.hpp:46
This namespace contains all the Geode C++ API classes, enumerations and globals.

Pivotal GemFire C++ Cache API Documentation