/export/rook1/users/build/gfcppsancout64/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  * (c) Copyright 2002-2006, GemStone Systems, Inc. All Rights Reserved.
00005  * 1260 NW Waterhouse Ave., Suite 200,  Beaverton, OR 97006
00006  *========================================================================
00007  */
00008 
00009 #include "gfcpp_globals.hpp"
00010 #include "gf_types.hpp"
00011 #include "CqEvent.hpp"
00012 
00018 namespace gemfire
00019 {
00020 
00032 class CPPCACHE_EXPORT CqListener : public SharedBase
00033 {
00034   public:
00040   virtual void onEvent(const CqEvent& aCqEvent);
00041 
00049   virtual void onError(const CqEvent& aCqEvent);
00050   virtual void close();
00051   protected:
00055     CqListener();
00056 
00057 private:
00058 // never implemented.
00059     CqListener( const CacheListener& other );
00060     void operator = (const CqListener& other );
00061 };
00062 } //namespace gemfire
00063 
00064 #endif //#ifndef __GEMFIRE_CQ_LISTENER_H__

GemFire C++ Cache API Documentation