gemfire::RegionEvent Class Reference


Detailed Description

Declares region events.

Public Member Functions

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

Protected Attributes

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

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