build-artifacts/win/product/include/gfcpp/CqListener.hpp

Go to the documentation of this file.
00001 #ifndef __GEMFIRE_CQ_LISTENER_H__
00002 #define __GEMFIRE_CQ_LISTENER_H__
00003 /*=========================================================================
00004  * Copyright (c) 2002-2014 Pivotal Software, Inc. All Rights Reserved.
00005  * This product is protected by U.S. and international copyright
00006  * and intellectual property laws. Pivotal products are covered by
00007  * more patents listed at http://www.pivotal.io/patents.
00008  *========================================================================
00009  */
00010 
00011 #include "gfcpp_globals.hpp"
00012 #include "gf_types.hpp"
00013 #include "CqEvent.hpp"
00014 
00020 namespace gemfire
00021 {
00022 
00034 class CPPCACHE_EXPORT CqListener : public SharedBase
00035 {
00036   public:
00042   virtual void onEvent(const CqEvent& aCqEvent);
00043 
00051   virtual void onError(const CqEvent& aCqEvent);
00052 
00070   virtual void close();
00071   protected:
00075     CqListener();
00076 
00077 private:
00078 // never implemented.
00079     CqListener( const CacheListener& other );
00080     void operator = (const CqListener& other );
00081 };
00082 } //namespace gemfire
00083 
00084 #endif //#ifndef __GEMFIRE_CQ_LISTENER_H__

GemFire C++ Cache API Documentation