Table of Contents

Class Current

Namespace
Ice
Assembly
Ice.dll

Provides information about an incoming request being dispatched.

public sealed record Current : IEquatable<Current>
Inheritance
Current
Implements
Inherited Members
Extension Methods

Constructors

Current(ObjectAdapter, Connection?, Identity, string, string, OperationMode, Dictionary<string, string>, int, EncodingVersion)

Provides information about an incoming request being dispatched.

public Current(ObjectAdapter adapter, Connection? con, Identity id, string facet, string operation, OperationMode mode, Dictionary<string, string> ctx, int requestId, EncodingVersion encoding)

Parameters

adapter ObjectAdapter

The object adapter that received the request.

con Connection

The connection that received the request. It's null for collocation-optimized dispatches.

id Identity

The identity of the target Ice object.

facet string

The facet of the target Ice object.

operation string

The name of the operation.

mode OperationMode

The operation mode (idempotent or not).

ctx Dictionary<string, string>

The request context.

requestId int

The request ID. 0 means the request is one-way.

encoding EncodingVersion

The Slice encoding version used to marshal the payload of the request.

Properties

adapter

The object adapter that received the request.

public ObjectAdapter adapter { get; init; }

Property Value

ObjectAdapter

con

The connection that received the request. It's null for collocation-optimized dispatches.

public Connection? con { get; init; }

Property Value

Connection

ctx

The request context.

public Dictionary<string, string> ctx { get; init; }

Property Value

Dictionary<string, string>

encoding

The Slice encoding version used to marshal the payload of the request.

public EncodingVersion encoding { get; init; }

Property Value

EncodingVersion

facet

The facet of the target Ice object.

public string facet { get; init; }

Property Value

string

id

The identity of the target Ice object.

public Identity id { get; init; }

Property Value

Identity

mode

The operation mode (idempotent or not).

public OperationMode mode { get; init; }

Property Value

OperationMode

operation

The name of the operation.

public string operation { get; init; }

Property Value

string

requestId

The request ID. 0 means the request is one-way.

public int requestId { get; init; }

Property Value

int