VMware Tanzu GemFire Native C++ Reference  10.1.5
apache::geode::client::RegionEvent Class Reference

Declares region events. More...

Public Member Functions

std::shared_ptr< SerializablegetCallbackArgument () const
 Returns the callbackArgument passed to the method that generated this event. More...
 
std::shared_ptr< RegiongetRegion () const
 Return the region this event occurred in. More...
 
 RegionEvent ()
 Constructor. More...
 
 RegionEvent (const std::shared_ptr< Region > &region, const std::shared_ptr< Serializable > &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 std::shared_ptr< Serializablem_callbackArgument
 Callback argument for this event, if any. More...
 
const std::shared_ptr< Regionm_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

◆ RegionEvent() [1/2]

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

Constructor.

◆ RegionEvent() [2/2]

apache::geode::client::RegionEvent::RegionEvent ( const std::shared_ptr< Region > &  region,
const std::shared_ptr< Serializable > &  aCallbackArgument,
const bool  remoteOrigin 
)

Constructor, given the values.

◆ ~RegionEvent()

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

Destructor.

Member Function Documentation

◆ getCallbackArgument()

std::shared_ptr<Serializable> 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.

◆ getRegion()

std::shared_ptr<Region> apache::geode::client::RegionEvent::getRegion ( ) const
inline

Return the region this event occurred in.

◆ remoteOrigin()

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

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

Field Documentation

◆ m_callbackArgument

const std::shared_ptr<Serializable> apache::geode::client::RegionEvent::m_callbackArgument
protected

Callback argument for this event, if any.

◆ m_region

const std::shared_ptr<Region> apache::geode::client::RegionEvent::m_region
protected

Region for this event.

◆ m_remoteOrigin

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

True if from a remote process.


Apache Geode C++ Cache API Documentation