.NET Client Documentation
5.5.0
Search Results for

    Show / Hide Table of Contents

    IIdentifiedDataSerializable Interface

    Namespace: Hazelcast.Serialization
    Assembly: Hazelcast.Net.dll

    Defines the interface that classes of objects can implement to take control of their own serialization.

    public interface IIdentifiedDataSerializable
    Remarks

    Classes that implement IIdentifiedDataSerializable rely on a declared factory to create instances, and deserialize fields, thus avoiding the costs otherwise associated with reflection.

    Properties

    Name Description
    ClassId

    Gets the identifier of the class.

    FactoryId

    Gets the identifier of the IDataSerializableFactory that can create instances of the class.

    Methods

    Name Description
    ReadData(IObjectDataInput)

    Deserializes the object by reading from an IObjectDataInput.

    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.