VMware Tanzu GemFire Native C++ Reference 10.3.0
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
25namespace apache {
26namespace geode {
27namespace client {
28
37class 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_
Application plug-in interface for handling continuous query events after they occur.
Definition: CqListener.hpp:40
Extension of CqListener.
Definition: CqStatusListener.hpp:37
virtual void onCqConnected()
Called when the cq establishes a connection with a server.
virtual void onCqDisconnected()
Called when the cq loses connection with all servers.

Apache Geode C++ Cache API Documentation