@zeroc/ice
    Preparing search index...

    Class IncomingRequest

    Represents a request received by a connection. It's the argument to the dispatch function on Object.

    Index

    Constructors

    Properties

    Constructors

    • Constructs an incoming request.

      Parameters

      • requestId: number

        The request ID. It's 0 for oneway requests.

      • connection: Connection

        The connection that received the request.

      • adapter: ObjectAdapter

        The object adapter to set in current.

      • inputStream: InputStream

        The input stream buffer over the incoming Ice protocol request message. The stream is positioned at the beginning of the request header - the next data to read is the identity of the target.

      Returns IncomingRequest

      This constructor reads the request header from the input stream. When it completes, the input stream is positioned at the beginning of encapsulation carried by the request.

      The Ice runtime calls this constructor when it dispatches an incoming request. You may want to call it in a middleware unit test.

    Properties

    current: Current

    The current object of the request.

    inputStream: InputStream

    The input stream buffer of the request.

    size: number

    The number of bytes in the request. These are all the bytes starting with the identity of the target.