| 
 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
Interface for server requests. The server request holds all the data concering a request. It is responsible for interpreting incoming requests, locating an adapter containing the target servant, calling interception points and construting a reply.
| Field Summary | |
| static short | OBJECT_HEREExtra reply status denoting a locate request found the object. | 
| static int | STATE_COMPLETERequest has completed. | 
| static int | STATE_CREATEDThe request has arrived but has not had any of it's service contexts examined. | 
| static int | STATE_FIND_ADAPTERThis state is entered if a parent adapter is either holding requests or is in the process of being destroyed. | 
| static int | STATE_PROCESSINGRequest is being processed. | 
| static int | STATE_QUEUEDRequest has had an adapter found and is enqueued awaiting dispatch. | 
| static int | STATE_REPLYReplying, one of the response handlers functions have been called or an an internal response is being constructed. | 
| static short | UNKNOWN_OBJECTExtra reply status denoting a locate request where the object is not found | 
| Method Summary | |
|  ObjectAdapter | adapter()Server adapter. | 
|  int | adapter(ObjectAdapter adapter)Set the object adapter and transfer to the QUEUED state. | 
|  InputStream | argument_stream()Get the request input stream. | 
|  int | begin_request()Called by the worker thread before every attempt to run the request. | 
|  ServerChannel | channel()Server channel | 
|  void | client_cancel()Client intiated request cancelation. | 
|  OutputStream | createExceptionReply()Create a stream for marshaling a user exception. | 
|  OutputStream | createReply()Create a stream for marshaling the reply. | 
|  void | dispatch()Dispatch a request to it's destination. | 
|  IOR | forward_reference_ior()Get the ior associated with a forward reference. | 
|  ServiceContext[] | get_reply_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. | 
|  byte[] | object_key()Get the object_key for the request. | 
|  ORB | orb()ORB reference. | 
|  java.lang.String | sending_system_exception_id()Get the ID of the system exception which would be contained in the any returned from sending_exception. | 
|  SystemException | sending_system_exception()Get the system exception which would be contained in the any returned from sending_exception. | 
|  void | server_cancel(java.lang.Throwable ex)Server intiated request cancelation. | 
|  int | state()Current request state. | 
| Methods inherited from interface org.omg.PortableInterceptor.ServerRequestInfoOperations | 
| adapter_id, add_reply_service_context, get_server_policy, object_id, sending_exception, set_slot, target_is_a, target_most_derived_interface | 
| 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_FIND_ADAPTER
public static final int STATE_QUEUED
public static final int STATE_PROCESSING
public static final int STATE_REPLY
public static final int STATE_COMPLETE
| Method Detail | 
public ORB orb()
public ServerChannel channel()
public int state()
public byte[] object_key()
public ServiceContext[] get_reply_service_contexts()
public boolean is_locate()
public java.lang.Object get_transport_association()
public void client_cancel()
public void server_cancel(java.lang.Throwable ex)
public int begin_request()
public int adapter(ObjectAdapter adapter)
public ObjectAdapter adapter()
public void dispatch()
              throws AdapterDestroyedException
public InputStream argument_stream()
public OutputStream createReply()
createReply in interface ResponseHandlerpublic OutputStream createExceptionReply()
createExceptionReply in interface ResponseHandlerpublic IOR forward_reference_ior()
public SystemException sending_system_exception()
public java.lang.String sending_system_exception_id()
| 
 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||