Package com.zeroc.Ice

Class Current

java.lang.Object
com.zeroc.Ice.Current
All Implemented Interfaces:
Cloneable

public class Current extends Object implements 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 Details

    • adapter

      public ObjectAdapter adapter
      The object adapter.
    • con

      public Connection 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

      public Identity id
      The Ice object identity.
    • facet

      public String facet
      The facet.
    • operation

      public String operation
      The operation name.
    • mode

      public OperationMode mode
      The mode of the operation.
    • ctx

      public Map<String,String> ctx
      The request context, as received from the client.
    • requestId

      public int requestId
      The request id unless oneway (0).
    • encoding

      public EncodingVersion encoding
      The encoding version used to encode the input and output parameters.
  • Constructor Details

  • Method Details