gemfire::ManagedResultCollectorGeneric Class Reference


Detailed Description

Wraps the managed GemStone.GemFire.Cache.IResultCollector object and implements the native gemfire::ResultCollector interface.

Public Member Functions

 ManagedResultCollectorGeneric (GemStone::GemFire::Cache::Generic::ResultCollectorG^ userptr)
GemStone::GemFire::Cache::Generic::ResultCollectorG^ ptr () const
virtual ~ManagedResultCollectorGeneric ()

Static Public Member Functions

static
gemfire::ResultCollector * 
create (const char *assemblyPath, const char *factoryFunctionName)

Constructor & Destructor Documentation

gemfire::ManagedResultCollectorGeneric::ManagedResultCollectorGeneric ( GemStone::GemFire::Cache::Generic::ResultCollectorG^   userptr  )  [inline]

Constructor to initialize with the provided managed object.

Parameters:
userptr The managed object.

virtual gemfire::ManagedResultCollectorGeneric::~ManagedResultCollectorGeneric (  )  [inline, virtual]

Destructor -- does nothing.


Member Function Documentation

static gemfire::ResultCollector* gemfire::ManagedResultCollectorGeneric::create ( const char *  assemblyPath,
const char *  factoryFunctionName 
) [static]

Static function to create a ManagedResultCollector using given managed assembly path and given factory function.

Parameters:
assemblyPath The path of the managed assembly that contains the ICacheListener factory function.
factoryFunctionName The name of the factory function of the managed class for creating an object that implements IResultCollector. This should be a static function of the format {Namespace}.{Class Name}.{Method Name}.
Exceptions:
IllegalArgumentException If the managed library cannot be loaded or the factory function fails.

GemStone::GemFire::Cache::Generic::ResultCollectorG ^ gemfire::ManagedResultCollectorGeneric::ptr (  )  const [inline]

Returns the wrapped managed object reference.


GemFire C++ Cache .NET API Documentation