Package com.zeroc.Ice
Class Current
java.lang.Object
com.zeroc.Ice.Current
- All Implemented Interfaces:
Cloneable
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.-
Field Summary
FieldsModifier and TypeFieldDescriptionThe object adapter.Information about the connection over which the current method invocation was received.The request context, as received from the client.The encoding version used to encode the input and output parameters.The facet.The Ice object identity.The mode of the operation.The operation name.int
The request id unless oneway (0). -
Constructor Summary
ConstructorsConstructorDescriptionCurrent()
Current
(ObjectAdapter adapter, Connection con, Identity id, String facet, String operation, OperationMode mode, Map<String, String> ctx, int requestId, EncodingVersion encoding) -
Method Summary
-
Field Details
-
adapter
The object adapter. -
con
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. -
id
The Ice object identity. -
facet
The facet. -
operation
The operation name. -
mode
The mode of the operation. -
ctx
The request context, as received from the client. -
requestId
public int requestIdThe request id unless oneway (0). -
encoding
The encoding version used to encode the input and output parameters.
-
-
Constructor Details
-
Current
public Current() -
Current
public Current(ObjectAdapter adapter, Connection con, Identity id, String facet, String operation, OperationMode mode, Map<String, String> ctx, int requestId, EncodingVersion encoding)
-
-
Method Details