org.jacorb.orb.dsi
public class ServerRequest extends ServerRequest implements ResponseHandler
Version: $Id: ServerRequest.java,v 1.46 2006/07/20 11:16:01 alphonse.bendt Exp $
| Constructor Summary | |
|---|---|
| ServerRequest(ORB orb, RequestInputStream inStream, GIOPConnection _connection) | |
| Method Summary | |
|---|---|
| NVList | arguments() |
| void | arguments(NVList list) |
| OutputStream | createExceptionReply() |
| OutputStream | createReply() |
| Context | ctx() |
| Any | except() |
| GIOPConnection | getConnection() |
| Object | getForwardReference() |
| CDRInputStream | getInputStream() |
| Object | getReference() |
| UtcT | getReplyEndTime()
Returns the time after which a reply to this request may no longer
be obtained or returned to the client; null if no such time has
been specified. |
| ReplyOutputStream | getReplyOutputStream() |
| UtcT | getRequestEndTime()
Returns the time after which this request may no longer be
delivered to its target; null if no such time has been specified. |
| UtcT | getRequestStartTime()
Returns the time after which this request may be delivered to
its target; null if no such time has been specified. |
| List | getScopes()getScopes returns the cached list of poa_names.
|
| ServiceContext[] | getServiceContext() |
| SystemException | getSystemException() |
| RequestInputStream | get_in() |
| ReplyOutputStream | get_out()
If a new output stream has to be created, the request itself isn't fixed
to stream-based. |
| byte[] | objectId() |
| byte[] | objectKey() |
| String | operation() |
| String[] | remainingPOAName()remainingPOAName retrieves (if any) the target poa's
name in relation to parent. |
| void | reply() |
| int | requestId() |
| boolean | responseExpected() |
| Any | result()
The resulting any must be used to create an input stream from
which the result value can be read. |
| void | setLocationForward(ForwardRequest request) |
| void | setReference(Object obj) |
| void | setRemainingPOAName(String[] rest_of_name) |
| void | setServerRequestInfo(ServerRequestInfoImpl info) |
| void | setSystemException(SystemException exception) our own: |
| void | setUsePreconstructedReply(boolean use) |
| void | set_exception(Any exception) |
| void | set_result(Any res) |
| ReplyStatusType_1_2 | status() |
| boolean | streamBased() |
| short | syncScope()
Returns the SyncScope of this request, as expressed in the
header's response_flags. |
Returns: the InputStream. This operation sets the request be stream-based, ie. all attempts to extract data using DII-based operations will throw exceptions For internal access to the stream use get_in()
getScopes returns the cached list of poa_names.
Returns: a List value containing Strings separated by
OBJECT_KEY_SEPARATOR
remainingPOAName retrieves (if any) the target poa's
name in relation to parent.Returns: a String[] value