| | 1 | | // Copyright (c) ZeroC, Inc. |
| | 2 | |
|
| | 3 | | #nullable enable |
| | 4 | |
|
| | 5 | | namespace Ice; |
| | 6 | |
|
| | 7 | | /// <summary> |
| | 8 | | /// Provides information about an incoming request being dispatched. |
| | 9 | | /// </summary> |
| | 10 | | /// <param name="adapter">The object adapter that received the request.</param> |
| | 11 | | /// <param name="con">The connection that received the request. It's null when the invocation and dispatch are |
| | 12 | | /// collocated.</param> |
| | 13 | | /// <param name="id">The identity of the target Ice object.</param> |
| | 14 | | /// <param name="facet">The facet of the target Ice object.</param> |
| | 15 | | /// <param name="operation">The name of the operation.</param> |
| | 16 | | /// <param name="mode">The operation mode (idempotent or not).</param> |
| | 17 | | /// <param name="ctx">The request context.</param> |
| | 18 | | /// <param name="requestId">The request ID. 0 means the request is a one-way request.</param> |
| | 19 | | /// <param name="encoding">The encoding of the request payload.</param> |
| 1 | 20 | | public sealed record class Current( |
| 1 | 21 | | ObjectAdapter adapter, |
| 1 | 22 | | Connection? con, |
| 1 | 23 | | Identity id, |
| 1 | 24 | | string facet, |
| 1 | 25 | | string operation, |
| 1 | 26 | | OperationMode mode, |
| 1 | 27 | | Dictionary<string, string> ctx, |
| 1 | 28 | | int requestId, |
| 1 | 29 | | EncodingVersion encoding); |