Sets the library path for the library that will be invoked for the listener of the region.
@cacheserver
If the region is being created from a client on a server, or on a server directly, then
this must be used to set the ICacheListener or the native C++ CacheListener.
@endcacheserver
Namespace: GemStone.GemFire.Cache
Assembly: GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll)
Version: 2.5.0.1
Syntax
| C# |
|---|
public void SetCacheListener( string libPath, string factoryFunctionName ) |
| Visual Basic (Declaration) |
|---|
Public Sub SetCacheListener ( _ libPath As String, _ factoryFunctionName As String _ ) |
| Visual C++ |
|---|
public: void SetCacheListener ( String^ libPath, String^ factoryFunctionName ) |
Parameters
- libPath
- String
library pathname containing the factory function.
- factoryFunctionName
- String
Name of factory function that creates a CacheListener for a native library, or the name of the method in the form {Namespace}.{Class Name}.{Method Name} that creates an ICacheListener for a managed library.
See Also
AttributesFactory Class
GemStone.GemFire.Cache Namespace