java.lang.Object
com.zeroc.Ice.IncomingRequest
Represents a request received by a connection.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal CurrentThe Current object of the request.final InputStreamThe input stream buffer of the request.final intThe number of bytes in the request. -
Constructor Summary
ConstructorsConstructorDescriptionIncomingRequest(int requestId, Connection connection, ObjectAdapter adapter, InputStream inputStream) Constructs an incoming request. -
Method Summary
-
Field Details
-
current
The Current object of the request. -
inputStream
The input stream buffer of the request. -
size
public final int sizeThe 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's0for one-way requests.connection- the connection that received the request. It'snullfor collocated invocations.adapter- the object adapter to set incurrent.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.
-