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(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() |
org.omg.TimeBase.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() |
org.omg.TimeBase.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.
|
org.omg.TimeBase.UtcT |
getRequestStartTime()
Returns the time after which this request may be delivered to
its target; null if no such time has been specified.
|
List<String> |
getScopes()
getScopes returns the cached list of poa_names. |
ServiceContext[] |
getServiceContext() |
SystemException |
getSystemException() |
org.omg.PortableGroup.TagGroupTaggedComponent |
getTagGroup() |
byte[] |
objectId() |
ByteArrayKey |
objectIdAsByteArrayKey() |
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 |
set_exception(Any exception) |
void |
set_result(Any res) |
void |
setLocationForward(ForwardRequest request) |
void |
setObjectKey(byte[] objectKey) |
void |
setRemainingPOAName(String[] rest_of_name) |
void |
setServerRequestInfo(ServerRequestInfoImpl info) |
void |
setSystemException(SystemException exception)
our own:
|
org.omg.GIOP.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 setObjectKey(byte[] objectKey)
public org.omg.PortableGroup.TagGroupTaggedComponent getTagGroup()
public void setRemainingPOAName(String[] rest_of_name)
public String[] remainingPOAName()
remainingPOAName retrieves (if any) the target poa's
name in relation to parent.String[] valuepublic String operation()
operation in class ServerRequestpublic Any result()
public NVList arguments()
public Any except()
public org.omg.GIOP.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(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 List<String> getScopes()
getScopes returns the cached list of poa_names.List value containing Strings separated by
OBJECT_KEY_SEPARATORpublic ServiceContext[] getServiceContext()
public byte[] objectId()
public ByteArrayKey objectIdAsByteArrayKey()
public boolean streamBased()
public RequestInputStream get_in()
public ReplyOutputStream get_out()
public void setServerRequestInfo(ServerRequestInfoImpl info)
public Object getForwardReference()
public GIOPConnection getConnection()
public org.omg.TimeBase.UtcT getReplyEndTime()
public org.omg.TimeBase.UtcT getRequestEndTime()
public org.omg.TimeBase.UtcT getRequestStartTime()
Copyright © 2017 JacORB. All rights reserved.