Current class

Information about the current method invocation for servers. Each operation on the server has a Current as its implicit final parameter. Current is mostly used for Ice services. Most applications ignore this parameter.

Constructors

Current({required ObjectAdapter? adapter, required Connection con, required Identity id, required String facet, required String operation, required OperationMode mode, required Context ctx, required int requestId, required EncodingVersion encoding})

Properties

adapter ObjectAdapter?
The object adapter.
final
con Connection
Information about the connection over which the current method invocation was received. If the invocation is direct due to collocation optimization, this value is set to null.
final
ctx Context
The request context, as received from the client.
final
encoding EncodingVersion
The encoding version used to encode the input and output parameters.
final
facet String
The facet.
final
hashCode int
The hash code for this object.
no setterinherited
id Identity
The Ice object identity.
final
mode OperationMode
The mode of the operation.
final
operation String
The operation name.
final
requestId int
The request id unless oneway (0).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited