Table of Contents

Interface IIceFeature

Namespace
IceRpc.Features
Assembly
IceRpc.Ice.dll

Represents a feature used to customize the encoding and decoding of request and response payloads.

public interface IIceFeature

Properties

Activator

Gets the activator to use when decoding Ice-encoded classes and exceptions.

IActivator? Activator { get; }

Property Value

IActivator

The activator. When null, the decoding of a request or response payload uses the activator injected by the generated code.

BaseProxy

Gets the base proxy used when decoding a service address into a proxy.

IIceProxy? BaseProxy { get; }

Property Value

IIceProxy

The base proxy.

EncodeOptions

Gets the options to use when encoding the payload of an outgoing response.

IceEncodeOptions? EncodeOptions { get; }

Property Value

IceEncodeOptions

The Ice encode options. null is equivalent to Default.

MaxCollectionAllocation

Gets the maximum collection allocation when decoding a payload, in bytes.

int MaxCollectionAllocation { get; }

Property Value

int

The maximum collection allocation.

MaxDepth

Gets the maximum depth when decoding a class recursively.

int MaxDepth { get; }

Property Value

int

The maximum depth.

MaxPayloadSize

Gets the maximum size of an Ice-encoded payload, in bytes. An Ice-encoded payload corresponds to the encoded arguments of an operation, or the encoded return values of an operation.

int MaxPayloadSize { get; }

Property Value

int

The maximum size of an Ice-encoded payload, in bytes.

Remarks

The payload size does not include the size of any header for this payload, such as the encapsulation header with the ice protocol.