public class ServerRequest extends ServerRequest implements ResponseHandler
| Constructor and Description |
|---|
ServerRequest(ORB orb,
RequestInputStream inStream,
GIOPConnection _connection) |
| Modifier and Type | Method and Description |
|---|---|
NVList |
arguments() |
void |
arguments(NVList list) |
static ServiceContext |
createExceptionDetailMessage(java.lang.String message)
Creates a ServiceContext for transmitting an exception detail message,
as per section 1.15.2 of the Java Mapping.
|
OutputStream |
createExceptionReply() |
OutputStream |
createReply() |
Context |
ctx() |
Any |
except() |
RequestInputStream |
get_in() |
ReplyOutputStream |
get_out()
If a new output stream has to be created, the request itself isn't fixed
to stream-based.
|
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.
|
java.util.List |
getScopes()
getScopes returns the cached list of poa_names. |
ServiceContext[] |
getServiceContext() |
SystemException |
getSystemException() |
byte[] |
objectId() |
byte[] |
objectKey() |
java.lang.String |
operation() |
java.lang.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 |
set_exception(Any exception) |
void |
set_result(Any res) |
void |
setLocationForward(ForwardRequest request) |
void |
setReference(Object obj) |
void |
setRemainingPOAName(java.lang.String[] rest_of_name) |
void |
setServerRequestInfo(ServerRequestInfoImpl info) |
void |
setSystemException(SystemException exception)
our own:
|
void |
setUsePreconstructedReply(boolean use) |
ReplyStatusType_1_2 |
status() |
boolean |
streamBased() |
short |
syncScope()
Returns the SyncScope of this request, as expressed in the
header's response_flags.
|
except, op_name, params, resultpublic ServerRequest(ORB orb, RequestInputStream inStream, GIOPConnection _connection)
public void setRemainingPOAName(java.lang.String[] rest_of_name)
public java.lang.String[] remainingPOAName()
remainingPOAName retrieves (if any) the target poa's
name in relation to parent.String[] valuepublic java.lang.String operation()
operation in class ServerRequestpublic Any result()
public NVList arguments()
public Any except()
public ReplyStatusType_1_2 status()
public Context ctx()
ctx in class ServerRequestpublic void arguments(NVList list)
arguments in class ServerRequestpublic void set_result(Any res)
set_result in class ServerRequestpublic void set_exception(Any exception)
set_exception in class ServerRequestpublic void reply()
public OutputStream createReply()
createReply in interface ResponseHandlerpublic OutputStream createExceptionReply()
createExceptionReply in interface ResponseHandlerpublic void setSystemException(SystemException exception)
public static ServiceContext createExceptionDetailMessage(java.lang.String message)
public void setLocationForward(ForwardRequest request)
public CDRInputStream getInputStream()
public ReplyOutputStream getReplyOutputStream()
public boolean responseExpected()
public short syncScope()
public SystemException getSystemException()
public int requestId()
public byte[] objectKey()
public java.util.List getScopes()
getScopes returns the cached list of poa_names.List value containing Strings separated by
OBJECT_KEY_SEPARATORpublic ServiceContext[] getServiceContext()
public byte[] objectId()
public boolean streamBased()
public void setReference(Object obj)
public Object getReference()
public RequestInputStream get_in()
public ReplyOutputStream get_out()
public void setServerRequestInfo(ServerRequestInfoImpl info)
public Object getForwardReference()
public GIOPConnection getConnection()
public void setUsePreconstructedReply(boolean use)
public UtcT getReplyEndTime()
public UtcT getRequestEndTime()
public UtcT getRequestStartTime()