public interface ClientRequest
extends org.omg.PortableInterceptor.ClientRequestInfo
| Modifier and Type | Field and Description |
|---|---|
static short |
OBJECT_HERE
Extra reply status denoting a locate request found the object.
|
static int |
STATE_COMPLETE
Request is complete.
|
static int |
STATE_CREATED
Request created.
|
static int |
STATE_MARSHAL
While in MARSHAL arguments are marshaled into the input stream and message
fragments may be sent.
|
static int |
STATE_UNMARSHAL
Response is being unmarshaled.
|
static int |
STATE_WAITING
Waiting for a response from the server.
|
static short |
UNKNOWN_OBJECT
Extra reply status denoting a locate request where the object is not found
|
| Modifier and Type | Method and Description |
|---|---|
Address |
address()
Client address
|
org.omg.CORBA.portable.OutputStream |
begin_marshal()
Begin marshalling arguments.
|
boolean |
cancel(org.omg.CORBA.SystemException ex)
Cancel the request with the specified system exception reply.
|
ClientChannel |
channel()
Client channel
|
org.omg.IOP.IOR |
effective_target_ior()
Get the effective target IOR.
|
org.omg.IOP.IOR |
forward_reference_ior()
Get the ior associated with a forward reference.
|
org.omg.IOP.ServiceContext[] |
get_request_service_contexts()
Get all request service contexts that have been set.
|
boolean |
is_locate()
This returns true if this request is a locate request.
|
boolean |
is_poll()
Request is a poll.
|
boolean |
is_request()
This returns true if this request is a standard request.
|
org.omg.CORBA.ORB |
orb()
ORB associated with the target.
|
boolean |
poll_response()
Poll to see if a response is available from the target.
|
org.omg.CORBA.portable.InputStream |
receive_response()
Get the response output stream.
|
java.lang.String |
received_exception_id()
Get the ID of the system exception which would be contained in the any returned
from receive_exception.
|
org.omg.CORBA.SystemException |
received_system_exception()
Get the system exception which would be contained in the any returned
from receive_exception.
|
int |
send_request()
When this returns the last fragment of the request has been
sent.
|
int |
state()
Current request state.
|
org.omg.IOP.IOR |
target_ior()
Get the target IOR.
|
int |
wait_for_response(long timeout)
Wait for a response from the server.
|
add_request_service_context, effective_profile, effective_target, get_effective_component, get_effective_components, get_request_policy, received_exception, targetstatic final short OBJECT_HERE
static final short UNKNOWN_OBJECT
static final int STATE_CREATED
static final int STATE_MARSHAL
static final int STATE_WAITING
static final int STATE_UNMARSHAL
static final int STATE_COMPLETE
ClientChannel channel()
Address address()
org.omg.CORBA.ORB orb()
org.omg.IOP.IOR target_ior()
org.omg.IOP.IOR effective_target_ior()
int state()
boolean cancel(org.omg.CORBA.SystemException ex)
boolean is_request()
boolean is_poll()
boolean is_locate()
org.omg.CORBA.portable.OutputStream begin_marshal()
org.omg.IOP.ServiceContext[] get_request_service_contexts()
int send_request()
boolean poll_response()
int wait_for_response(long timeout)
timeout - Maximum amount of time to wait for response.
0 to wait forever, > 0 for some timeout (in ms)org.omg.CORBA.portable.InputStream receive_response()
org.omg.IOP.IOR forward_reference_ior()
org.omg.CORBA.SystemException received_system_exception()
java.lang.String received_exception_id()
received_exception_id in interface org.omg.PortableInterceptor.ClientRequestInfoOperations