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
adapterObjectAdapterThe object adapter that received the request.
conConnectionThe connection that received the request. It's null for collocation-optimized dispatches.
idIdentityThe identity of the target Ice object.
facetstringThe facet of the target Ice object.
operationstringThe name of the operation.
modeOperationModeThe operation mode (idempotent or not).
ctxDictionary<string, string>The request context.
requestIdintThe request ID.
0means the request is one-way.encodingEncodingVersionThe 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
con
The connection that received the request. It's null for collocation-optimized dispatches.
public Connection? con { get; init; }
Property Value
ctx
The request context.
public Dictionary<string, string> ctx { get; init; }
Property Value
encoding
The Slice encoding version used to marshal the payload of the request.
public EncodingVersion encoding { get; init; }
Property Value
facet
The facet of the target Ice object.
public string facet { get; init; }
Property Value
id
The identity of the target Ice object.
public Identity id { get; init; }
Property Value
mode
The operation mode (idempotent or not).
public OperationMode mode { get; init; }
Property Value
operation
The name of the operation.
public string operation { get; init; }
Property Value
requestId
The request ID. 0 means the request is one-way.
public int requestId { get; init; }