Ice.Current

class Ice.Current(adapter: ObjectAdapter, con: Connection | None, id: Identity, facet: str, operation: str, mode: OperationMode, ctx: dict[str, str], requestId: int, encoding: EncodingVersion)

Bases: object

Provides information about an incoming request being dispatched.

Parameters:
adapter

The object adapter that received the request.

Type:

Ice.ObjectAdapter

con

The connection that received the request. It’s None when the invocation and dispatch are collocated.

Type:

IcePy.Connection | None

id

The identity of the target Ice object.

Type:

Ice.Identity

facet

The facet of the target Ice object.

Type:

str

operation

The name of the operation.

Type:

str

mode

The operation mode (idempotent or not).

Type:

Ice.OperationMode

ctx

The request context.

Type:

dict[str, str]

requestId

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

Type:

int

encoding

The encoding of the request payload.

Type:

Ice.EncodingVersion