H:/gfcppsancout/product/include/gfcpp/RegionEvent.hpp

Go to the documentation of this file.
00001 #ifndef _GEMFIRE_REGIONEVENT_HPP_
00002 #define _GEMFIRE_REGIONEVENT_HPP_
00003 /*=========================================================================
00004  * (c) Copyright 2002-2007, GemStone Systems, Inc. All Rights Reserved.  
00005  * 1260 NW Waterhouse Ave., Suite 200,  Beaverton, OR 97006
00006  *=========================================================================
00007  */
00008 #include "gfcpp_globals.hpp"
00009 #include "gf_types.hpp"
00010 #include "CacheableKey.hpp"
00011 #include "UserData.hpp"
00012 
00016 namespace gemfire {
00017 
00021 class CPPCACHE_EXPORT RegionEvent
00022 {
00023   protected:
00024     const RegionPtr m_region;  
00025     const bool m_remoteOrigin; 
00027   public:
00028 
00030   RegionEvent();
00032   RegionEvent( const RegionPtr& region,
00033                const bool remoteOrigin );
00034 
00036   ~RegionEvent( );
00037 
00039   RegionPtr getRegion() const;
00040 
00042   bool remoteOrigin() const;
00043 
00044 
00045   private:
00046 
00047   // never implemented.
00048   RegionEvent( const RegionEvent& other );
00049   void operator = ( const RegionEvent& other );
00050 
00051 
00052 };
00053 
00054 }
00055 
00056 
00057 #endif

GemFire C++ Cache API Documentation