VMware GemFire Native C++ Reference
9.2.4
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
46
class
CPPCACHE_EXPORT
CqListener
:
public
SharedBase
{
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_
apache
Each enum represents a predefined RegionAttributes in a {}.
Definition:
Assert.hpp:31
apache::geode::client::CqEvent
Definition:
CqEvent.hpp:54
apache::geode::client::CacheListener
Definition:
CacheListener.hpp:78
geode_types.hpp
geode
CPPCACHE_EXPORT
#define CPPCACHE_EXPORT
Defines a Geode CPPCACHE export.
Definition:
geode_base.hpp:58
CqEvent.hpp
apache::geode::client::SharedBase
Definition:
SharedBase.hpp:40
apache::geode::client::CqListener
Definition:
CqListener.hpp:46
Pivotal GemFire C++ Cache API Documentation