Pivotal GemFire Native Client Cache Reference  9.0.6
gemfire::RegionEvent Class Reference

Declares region events. More...

Public Member Functions

UserDataPtr getCallbackArgument () const
 Returns the callbackArgument passed to the method that generated this event. More...
 
RegionPtr getRegion () const
 Return the region this event occurred in. More...
 
 RegionEvent ()
 Constructor. More...
 
 RegionEvent (const RegionPtr &region, const UserDataPtr &aCallbackArgument, const bool remoteOrigin)
 Constructor, given the values. More...
 
bool remoteOrigin () const
 If the event originated in a remote process, returns true. More...
 
 ~RegionEvent ()
 Destructor. More...
 

Protected Attributes

const UserDataPtr m_callbackArgument
 Callback argument for this event, if any. More...
 
const RegionPtr m_region
 Region for this event. More...
 
const bool m_remoteOrigin
 True if from a remote process. More...
 

Detailed Description

Declares region events.

Constructor & Destructor Documentation

gemfire::RegionEvent::RegionEvent ( )

Constructor.

gemfire::RegionEvent::RegionEvent ( const RegionPtr region,
const UserDataPtr aCallbackArgument,
const bool  remoteOrigin 
)

Constructor, given the values.

gemfire::RegionEvent::~RegionEvent ( )

Destructor.

Member Function Documentation

UserDataPtr gemfire::RegionEvent::getCallbackArgument ( ) const
inline

Returns the callbackArgument passed to the method that generated this event.

See the Region interface methods that take a callbackArgument parameter.

RegionPtr gemfire::RegionEvent::getRegion ( ) const
inline

Return the region this event occurred in.

bool gemfire::RegionEvent::remoteOrigin ( ) const
inline

If the event originated in a remote process, returns true.

Field Documentation

const UserDataPtr gemfire::RegionEvent::m_callbackArgument
protected

Callback argument for this event, if any.

const RegionPtr gemfire::RegionEvent::m_region
protected

Region for this event.

const bool gemfire::RegionEvent::m_remoteOrigin
protected

True if from a remote process.


GemFire C++ Cache API Documentation