Package com.zeroc.Ice

Class IncomingRequest

java.lang.Object
com.zeroc.Ice.IncomingRequest

public final class IncomingRequest extends Object
Represents a request received by a connection.
See Also:
  • Field Details

    • current

      public final Current current
      The Current object of the request.
    • inputStream

      public final InputStream inputStream
      The input stream buffer of the request.
    • size

      public final int size
      The number of bytes in the request. These are all the bytes starting with the identity of the target object.
  • Constructor Details

    • IncomingRequest

      public IncomingRequest(int requestId, Connection connection, ObjectAdapter adapter, InputStream inputStream)
      Constructs an incoming request.
      Parameters:
      requestId - the request ID. It's 0 for one-way requests.
      connection - the connection that received the request. It's null for collocated invocations.
      adapter - the object adapter to set in current.
      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 object.