|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omg.CORBA.ServerRequest
org.jacorb.orb.dsi.ServerRequest
public class ServerRequest
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()
|
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. |
Methods inherited from class org.omg.CORBA.ServerRequest |
---|
except, op_name, params, result |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServerRequest(ORB orb, RequestInputStream inStream, GIOPConnection _connection)
Method Detail |
---|
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 ServerRequest
public Any result()
public NVList arguments()
public Any except()
public ReplyStatusType_1_2 status()
public Context ctx()
ctx
in class ServerRequest
public void arguments(NVList list)
arguments
in class ServerRequest
public void set_result(Any res)
set_result
in class ServerRequest
public void set_exception(Any exception)
set_exception
in class ServerRequest
public void reply()
public OutputStream createReply()
createReply
in interface ResponseHandler
public OutputStream createExceptionReply()
createExceptionReply
in interface ResponseHandler
public void setSystemException(SystemException exception)
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_SEPARATOR
public 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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |