Ice::Current

Ice Reference Documentation
<<< Previous | Slice Documentation | Next >>>

# `Ice::Current`

## Overview

    local struct Current

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.

### Used By

`ServantLocator::finished`, `ServantLocator::locate`

### Data Member Index

adapter

  The object adapter.

con

  Information about the connection over which the current method invocation was received.

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

  The request id unless oneway (0) or collocated (-1).

## `adapter`

    ObjectAdapter adapter;

The object adapter.

## `con`

    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`

    Identity id;

The Ice object identity.

## `facet`

    string facet;

The facet.

## `operation`

    string operation;

The operation name.

## `mode`

    OperationMode mode;

The mode of the operation.

## `ctx`

    Context ctx;

The request context, as received from the client.

## `requestId`

    int requestId;

The request id unless oneway (0) or collocated (-1).

<<< Previous | Home | Next >>>
`Ice::ConnectionTimeoutException` | Up | `Ice::DNSException`