VMware Tanzu GemFire Native C++ Reference
10.1.5
CqStatusListener.hpp
1
#pragma once
2
3
#ifndef GEODE_CQSTATUSLISTENER_H_
4
#define GEODE_CQSTATUSLISTENER_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 "CqListener.hpp"
24
25
namespace
apache {
26
namespace
geode {
27
namespace
client {
28
37
class
APACHE_GEODE_EXPORT
CqStatusListener
:
public
CqListener
{
38
public
:
42
virtual
void
onCqDisconnected
();
43
47
virtual
void
onCqConnected
();
48
};
49
}
// namespace client
50
}
// namespace geode
51
}
// namespace apache
52
53
#endif // GEODE_CQSTATUSLISTENER_H_
apache::geode::client::CqStatusListener::onCqDisconnected
virtual void onCqDisconnected()
Called when the cq loses connection with all servers.
apache::geode::client::CqStatusListener::onCqConnected
virtual void onCqConnected()
Called when the cq establishes a connection with a server.
apache::geode::client::CqStatusListener
Extension of CqListener.
Definition:
CqStatusListener.hpp:37
apache::geode::client::CqListener
Application plug-in interface for handling continuous query events after they occur.
Definition:
CqListener.hpp:40
Apache Geode C++ Cache API Documentation