GemStone::GemFire::Cache::Generic::CqListener< TKey, TResult > Class Template Reference

Inherits GemStone::GemFire::Cache::Generic::Internal::SBWrap< gemfire::CqListener >, and GemStone::GemFire::Cache::Generic::ICqListener< TKey, TResult >< TKey, TResult >.


Detailed Description

template<class TKey, class TResult>
class GemStone::GemFire::Cache::Generic::CqListener< TKey, TResult >

This class wraps the native C++ gemfire::Serializable objects as managed ../../IGFSerializable objects.

Public Member Functions

virtual void Close ()
virtual void OnError (CqEvent< TKey, TResult >^ev)
virtual void OnEvent (CqEvent< TKey, TResult >^ev)

Protected Member Functions

void _SetNativePtr (gemfire::CqListener *nativeptr)
void AssignPtr (gemfire::CqListener *nativeptr)
void InternalCleanup ()
void SetPtr (gemfire::CqListener *nativeptr)

Member Function Documentation

void GemStone::GemFire::Cache::Generic::Internal::SBWrap< gemfire::CqListener >::_SetNativePtr ( gemfire::CqListener *  nativeptr  )  [inline, protected, inherited]

Set the native pointer to the new object without doing a preserveSB(). DO NOT USE UNLESS YOU KNOW WHAT YOU ARE DOING.

void GemStone::GemFire::Cache::Generic::Internal::SBWrap< gemfire::CqListener >::AssignPtr ( gemfire::CqListener *  nativeptr  )  [inline, protected, inherited]

Used to assign the native pointer to a new object.

Note the order of preserveSB() and releaseSB(). This handles the corner case when m_nativeptr is same as nativeptr.

template<class TKey, class TResult>
virtual void GemStone::GemFire::Cache::Generic::CqListener< TKey, TResult >::Close (  )  [inline, virtual]

Invoke on close

Implements GemStone::GemFire::Cache::Generic::ICqListener< TKey, TResult >.

void GemStone::GemFire::Cache::Generic::Internal::SBWrap< gemfire::CqListener >::InternalCleanup (  )  [inline, protected, inherited]

Internal cleanup function invoked by dispose/finalizer.

template<class TKey, class TResult>
virtual void GemStone::GemFire::Cache::Generic::CqListener< TKey, TResult >::OnError ( CqEvent< TKey, TResult >^  ev  )  [inline, virtual]

Invoke on an error

Implements GemStone::GemFire::Cache::Generic::ICqListener< TKey, TResult >.

template<class TKey, class TResult>
virtual void GemStone::GemFire::Cache::Generic::CqListener< TKey, TResult >::OnEvent ( CqEvent< TKey, TResult >^  ev  )  [inline, virtual]

Invoke on an event

Implements GemStone::GemFire::Cache::Generic::ICqListener< TKey, TResult >.

void GemStone::GemFire::Cache::Generic::Internal::SBWrap< gemfire::CqListener >::SetPtr ( gemfire::CqListener *  nativeptr  )  [inline, protected, inherited]

Used to set the native pointer to a new object. This should only be used when you know that the underlying object is NULL.


GemFire C++ Cache .NET API Documentation