#include <ClientRequestInfo.h>
Inheritance diagram for TAO_ClientRequestInfo:
Public Member Functions | |
TAO_ClientRequestInfo (TAO::Invocation_Base *invocation) | |
virtual CORBA::ULong | request_id (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
virtual char * | operation (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
Return the operation name for the current request. | |
virtual Dynamic::ParameterList * | arguments (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
Return the list of arguments passed to the current operation. | |
virtual Dynamic::ExceptionList * | exceptions (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
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) |
virtual CORBA::Boolean | response_expected (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
Returns true for a two-way operation, and false otherwise. | |
virtual Messaging::SyncScope | sync_scope (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
virtual PortableInterceptor::ReplyStatus | reply_status (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
Return the reply status for the current request. | |
virtual CORBA::Object_ptr | forward_reference (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
virtual CORBA::Any * | get_slot (PortableInterceptor::SlotId id ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableInterceptor::InvalidSlot) |
virtual IOP::ServiceContext * | get_request_service_context (IOP::ServiceId id ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
virtual IOP::ServiceContext * | get_reply_service_context (IOP::ServiceId id ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
virtual CORBA::Object_ptr | target (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
virtual CORBA::Object_ptr | effective_target (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
virtual IOP::TaggedProfile * | effective_profile (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
virtual CORBA::Any * | received_exception (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
virtual char * | received_exception_id (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
Return the repository ID for the received exception. | |
virtual IOP::TaggedComponent * | get_effective_component (IOP::ComponentId id ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
virtual IOP::TaggedComponentSeq * | get_effective_components (IOP::ComponentId id ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
virtual CORBA::Policy_ptr | get_request_policy (CORBA::PolicyType type ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
virtual void | add_request_service_context (const IOP::ServiceContext &service_context, CORBA::Boolean replace ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
void | tao_ft_expiration_time (TimeBase::TimeT time) |
Set the absolute FT expiration time for this request. | |
TimeBase::TimeT | tao_ft_expiration_time (void) const |
Get the absolute FT expiration time for this request. | |
void | tao_ft_retention_id (CORBA::Long request_id) |
Set the FT request retention ID for this request. | |
CORBA::Long | tao_ft_retention_id (void) const |
Get the FT request retention ID for this request. | |
Private Member Functions | |
bool | parameter_list (Dynamic::ParameterList ¶m_list) |
bool | exception_list (Dynamic::ExceptionList &exception_list) |
bool | result (CORBA::Any *any) |
void | check_validity (ACE_ENV_SINGLE_ARG_DECL) |
void | setup_picurrent (void) |
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. | |
Private Attributes | |
TAO::Invocation_Base * | invocation_ |
Pointer to the invocation object. | |
TAO::PICurrent_Impl | rs_pi_current_ |
TAO::PICurrent_Copy_Callback | copy_callback_ |
|
|
|
Add the IOP::ServiceContext to the request (outgoing) IOP::ServiceContextList. |
|
Return the list of arguments passed to the current operation.
Implements PortableInterceptor::RequestInfo. |
|
Check if this ClientRequestInfo object is called within the context of a request. |
|
Implements PortableInterceptor::RequestInfo. |
|
Implements PortableInterceptor::ClientRequestInfo. |
|
Return the object reference for the current target. The target may change in the even of a location forward. Implements PortableInterceptor::ClientRequestInfo. |
|
|
|
Return the list of exceptions the current operation is capable of throwing. Implements PortableInterceptor::RequestInfo. |
|
If the reply status is PortableInterceptor::LOCATION_FORWARD or return the object reference to which the request was forwarded. Implements PortableInterceptor::RequestInfo. |
|
Return the first IOP::TaggedComponent that matches the given IOP::ComponentId in the object reference for the current target. |
|
Return all IOP::TaggedComponent(s) that match the given IOP::ComponentId in the object reference for the current target. |
|
Return the IOP::ServiceContext with the given IOP::ServiceId from the reply service context list. |
|
Return the policy of the given type in effect for the current request. |
|
Return the IOP::ServiceContext with the given IOP::ServiceId from the request service context list. |
|
Helper method to get the request and response service contexts.
|
|
|
|
Return the operation name for the current request.
Implements PortableInterceptor::RequestInfo. |
|
Implements PortableInterceptor::RequestInfo. |
|
|
|
Implements PortableInterceptor::ClientRequestInfo. |
|
Return the repository ID for the received exception.
Implements PortableInterceptor::ClientRequestInfo. |
|
Return the reply status for the current request. Statuses can be PortableInterceptor::SUCCESSFUL, SYSTEM_EXCEPTION, USER_EXCEPTION, LOCATION_FORWARD, TRANSPORT_RETRY, UNKNOWN. Implements PortableInterceptor::RequestInfo. |
|
Return an ID unique to the current request. This request ID may or may not be the same as the GIOP request ID. Implements PortableInterceptor::RequestInfo. |
|
Returns true for a two-way operation, and false otherwise.
Implements PortableInterceptor::RequestInfo. |
|
|
|
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. Implements PortableInterceptor::RequestInfo. |
|
Setup thread scope and request scope PortableInterceptor::Current objects. |
|
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. Implements PortableInterceptor::RequestInfo. |
|
Get the absolute FT expiration time for this request.
|
|
Set the absolute FT expiration time for this request.
|
|
Get the FT request retention ID for this request.
|
|
Set the FT request retention ID for this request.
|
|
Return the (initial, non-forwarded, or permanently forwarded) object reference of the target. Implements PortableInterceptor::ClientRequestInfo. |
|
This callback object deep copies the slot table from the TSC to the RSC.
|
|
Pointer to the invocation object.
|
|
The "Request Scope Current" (RSC) object, as required by Portable Interceptors. |