.NET Client Documentation
5.5.0
Search Results for

    Show / Hide Table of Contents

    ListenerOptions Class

    Namespace: Hazelcast.Models
    Assembly: Hazelcast.Net.dll

    Represents the configuration for a listener.

    public class ListenerOptions : IIdentifiedDataSerializable
    Inheritance
    object
    ListenerOptions
    EntryListenerOptions
    MapPartitionLostListenerOptions
    Implements
    IIdentifiedDataSerializable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    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.

    In this article
    Back to top Copyright © 2010-2024 Hazelcast, Inc. All rights reserved.
    Generated by DocFX.