ListenerOptions Class
Namespace: Hazelcast.Models
Assembly: Hazelcast.Net.dll
Represents the configuration for a listener.
public class ListenerOptions : IIdentifiedDataSerializable
Implements
Inherited Members
Remarks
The .NET implementation of listener configuration does not support registering an actual listener implementation, as that implementation would need to be written in Java. The only thing that is supported here is a Java class name, which must be already available on the cluster.
Constructors
Name | Description |
---|---|
ListenerOptions() | Initializes a new instance of the ListenerOptions class. |
ListenerOptions(ListenerOptions) | Initializes a new instance of the ListenerOptions class. |
ListenerOptions(string) | Initializes a new instance of the ListenerOptions class. |
Properties
Name | Description |
---|---|
ClassId | Gets the identifier of the class. |
ClassName | Gets or sets the class name of the event listener. |
FactoryId | Gets the identifier of the IDataSerializableFactory that can create instances of the class. |
IncludeValue | |
Local |
Methods
Name | Description |
---|---|
ReadData(IObjectDataInput) | Deserializes the object by reading from an IObjectDataInput. |
ToString() | Returns a string that represents the current object. |
WriteData(IObjectDataOutput) | Serializes the object by writing to an IObjectDataOutput. |