VMware GemFire Native C++ Reference  9.1
apache::geode::client::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

apache::geode::client::RegionEvent::RegionEvent ( )

Constructor.

apache::geode::client::RegionEvent::RegionEvent ( const RegionPtr region,
const UserDataPtr aCallbackArgument,
const bool  remoteOrigin 
)

Constructor, given the values.

apache::geode::client::RegionEvent::~RegionEvent ( )

Destructor.

Member Function Documentation

UserDataPtr apache::geode::client::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 apache::geode::client::RegionEvent::getRegion ( ) const
inline

Return the region this event occurred in.

bool apache::geode::client::RegionEvent::remoteOrigin ( ) const
inline

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

Field Documentation

const UserDataPtr apache::geode::client::RegionEvent::m_callbackArgument
protected

Callback argument for this event, if any.

const RegionPtr apache::geode::client::RegionEvent::m_region
protected

Region for this event.

const bool apache::geode::client::RegionEvent::m_remoteOrigin
protected

True if from a remote process.


Pivotal GemFire C++ Cache API Documentation