Helper methods specific to TAO. |
void | reply_status (PortableInterceptor::ReplyStatus s) |
| Set the status of the received reply. More...
|
void | forward_reference (PortableInterceptor::ForwardRequest &exc) |
| Extract the forward object reference from the PortableInterceptor::ForwardRequest exception, and set the reply status flag accordingly. More...
|
void | forward_reference (CORBA::Object_ptr obj) |
| Set the forward reference associated with the current LOCATION_FORWARD reply. This method is only invoked when a PortableServer::ForwardRequest exception is thrown by a servant manager. More...
|
void exception CORBA::Exception * | exception |
| Change the exception status. More...
|
Public Methods |
| TAO_ServerRequestInfo (TAO_ServerRequest &server_request, TAO_Object_Adapter::Servant_Upcall *servant_upcall) |
| Constructor. More...
|
virtual CORBA::ULong | request_id (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
| Return an ID unique to the current request. This request ID may or may not be the same as the GIOP request ID. More...
|
virtual char * | operation (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
| Return the operation name for the current request. More...
|
virtual Dynamic::ParameterList * | arguments (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
| Return the list of arguments passed to the current operation. More...
|
virtual Dynamic::ExceptionList * | exceptions (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
| Return the list of exceptions the current operation is capable of throwing. More...
|
virtual Dynamic::ContextList * | contexts (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
virtual Dynamic::RequestContext * | operation_context (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
virtual CORBA::Any * | result (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
| Return the result of the current request. If there is no return value then an Any with tk_void TypeCode is returned. This is method is not valid for oneway operations. More...
|
virtual CORBA::Boolean | response_expected (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
| Returns true for a two-way operation, and false otherwis.e. More...
|
virtual Messaging::SyncScope | sync_scope (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
| Return the sync_scope policy value for the current one-way operation. If the operation is not a one-way, a CORBA::BAD_INV_ORDER exception is thrown. More...
|
virtual PortableInterceptor::ReplyStatus | reply_status (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
| Return the reply status for the current request. Statuses can be PortableInterceptor::SUCCESSFUL, SYSTEM_EXCEPTION, USER_EXCEPTION, LOCATION_FORWARD, LOCATION_FORWARD_PERMANENT, TRANSPORT_RETRY. More...
|
virtual CORBA::Object_ptr | forward_reference (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
| If the reply status is PortableInterceptor::LOCATION_FORWARD or PortableInterceptor::LOCATION_FORWARD_PERMANENT, return the object reference to which the request was forwarded. More...
|
virtual CORBA::Any * | get_slot (PortableInterceptor::SlotId id ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableInterceptor::InvalidSlot) |
| Retrieve data from the "request scope" PICurrent object. More...
|
virtual IOP::ServiceContext * | get_request_service_context (IOP::ServiceId id ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
| Return the IOP::ServiceContext with the given IOP::ServiceId from the request service context list. More...
|
virtual IOP::ServiceContext * | get_reply_service_context (IOP::ServiceId id ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
| Return the IOP::ServiceContext with the given IOP::ServiceId from the reply service context list. More...
|
virtual CORBA::Any * | sending_exception (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
| Return an Any containing the exception being sent, if any. Otherwise, throw a CORBA::BAD_INV_ORDER exception. More...
|
virtual CORBA::Exception * | _sending_exception (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
virtual CORBA::OctetSeq * | object_id (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
| Return the ObjectId for the target object. More...
|
virtual CORBA::OctetSeq * | adapter_id (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
| Return the AdapterId for the POA handling the current request. More...
|
virtual char * | server_id (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
| Return the server_id of the server. The value is passed to the ORB via -ORBServerId parameter. More...
|
virtual char * | orb_id (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
| Return the ORBId value that is passed to the ORB::Init call. More...
|
virtual PortableInterceptor::AdapterName * | adapter_name (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
| Return the name of the object adapter that services requests for the invoked object. More...
|
virtual char * | target_most_derived_interface (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
| Return the most derived interface of the target object. More...
|
virtual CORBA::Policy_ptr | get_server_policy (CORBA::PolicyType type ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
| Return the policy of the given type in effect for the current request. More...
|
virtual void | set_slot (PortableInterceptor::SlotId id, const CORBA::Any &data ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableInterceptor::InvalidSlot) |
| Insert data into the "request scope" PICurrent object. More...
|
virtual CORBA::Boolean | target_is_a (const char *id ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
| Returns true if the target's type corresponds to the given RepositoryId. More...
|
virtual void | add_reply_service_context (const IOP::ServiceContext &service_context, CORBA::Boolean replace ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
| Add the IOP::ServiceContext to the reply (outgoing) IOP::ServiceContextList. More...
|
TAO_ServerRequest & | server_request (void) |
| Return a reference to the underlying TAO_ServerRequest object. More...
|
Protected Methods |
IOP::ServiceContext * | get_service_context_i (TAO_Service_Context &service_context_list, IOP::ServiceId id ACE_ENV_ARG_DECL) throw (CORBA::SystemException) |
| Helper method to get the request and response service contexts. More...
|
Protected Attributes |
TAO_ServerRequest & | server_request_ |
| Underlying request object that contains much of the information encapsulated by this TAO_ServerRequestInfo class. More...
|
TAO_Object_Adapter::Servant_Upcall * | servant_upcall_ |
| Pointer to the Servant_Upcall object that contains the object ID, among other things. More...
|
CORBA::Exception * | caught_exception_ |
| Pointer to the caught exception. More...
|
PortableInterceptor::ReplyStatus | reply_status_ |
| Reply status for the current request. More...
|