| 
 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
Interface for client requests. The client request holds all the data concering a request. The client request object is responsible for request state management, managing interception points and the various policies affecting a single request.
| Field Summary | |
| static short | OBJECT_HEREExtra reply status denoting a locate request found the object. | 
| static int | STATE_COMPLETERequest is complete. | 
| static int | STATE_CREATEDRequest created. | 
| static int | STATE_MARSHALWhile in MARSHAL arguments are marshaled into the input stream and message fragments may be sent. | 
| static int | STATE_UNMARSHALResponse is being unmarshaled. | 
| static int | STATE_WAITINGWaiting for a response from the server. | 
| static short | UNKNOWN_OBJECTExtra reply status denoting a locate request where the object is not found | 
| Method Summary | |
|  Address | address()Client address | 
|  OutputStream | begin_marshal()Begin marshalling arguments. | 
|  boolean | cancel(SystemException ex)Cancel the request with the specified system exception reply. | 
|  ClientChannel | channel()Client channel | 
|  IOR | effective_target_ior()Get the effective target IOR. | 
|  IOR | forward_reference_ior()Get the ior associated with a forward reference. | 
|  ServiceContext[] | get_request_service_contexts()Get all request service contexts that have been set. | 
|  java.lang.Object | get_transport_association()Get the transport association. | 
|  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. | 
|  ORB | orb()ORB associated with the target. | 
|  boolean | poll_response()Poll to see if a response is available from the target. | 
|  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. | 
|  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. | 
|  IOR | target_ior()Get the target IOR. | 
|  int | wait_for_response(long timeout)Wait for a response from the server. | 
| Methods inherited from interface org.omg.PortableInterceptor.ClientRequestInfoOperations | 
| add_request_service_context, effective_profile, effective_target, get_effective_component, get_effective_components, get_request_policy, received_exception, target | 
| Methods inherited from interface org.omg.PortableInterceptor.RequestInfoOperations | 
| arguments, contexts, exceptions, forward_reference, get_reply_service_context, get_request_service_context, get_slot, operation_context, operation, reply_status, request_id, response_expected, result, sync_scope | 
| Methods inherited from interface org.omg.CORBA.Object | 
| _create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override | 
| Field Detail | 
public static final short OBJECT_HERE
public static final short UNKNOWN_OBJECT
public static final int STATE_CREATED
public static final int STATE_MARSHAL
public static final int STATE_WAITING
public static final int STATE_UNMARSHAL
public static final int STATE_COMPLETE
| Method Detail | 
public ClientChannel channel()
public Address address()
public ORB orb()
public IOR target_ior()
public IOR effective_target_ior()
public java.lang.Object get_transport_association()
public int state()
public boolean cancel(SystemException ex)
public boolean is_request()
public boolean is_poll()
public boolean is_locate()
public OutputStream begin_marshal()
public ServiceContext[] get_request_service_contexts()
public int send_request()
public boolean poll_response()
public 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)public InputStream receive_response()
public IOR forward_reference_ior()
public SystemException received_system_exception()
public java.lang.String received_exception_id()
received_exception_id in interface ClientRequestInfoOperationsorg.omg.PortableInterceptor.ClientRequestInfoOperations| 
 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||