TAO_PI
2.1.7
|
Implementation of the PortableInterceptor::ClientRequestInfo interface. More...
#include <ClientRequestInfo.h>
Public Member Functions | |
TAO_ClientRequestInfo (TAO::Invocation_Base *invocation) | |
virtual CORBA::ULong | request_id (void) |
virtual char * | operation (void) |
Return the operation name for the current request. | |
virtual Dynamic::ParameterList * | arguments (void) |
Return the list of arguments passed to the current operation. | |
virtual Dynamic::ExceptionList * | exceptions (void) |
virtual Dynamic::ContextList * | contexts (void) |
virtual Dynamic::RequestContext * | operation_context (void) |
virtual CORBA::Any * | result (void) |
virtual CORBA::Boolean | response_expected (void) |
Returns true for a two-way operation, and false otherwise. | |
virtual Messaging::SyncScope | sync_scope (void) |
virtual PortableInterceptor::ReplyStatus | reply_status (void) |
Return the reply status for the current request. | |
virtual CORBA::Object_ptr | forward_reference (void) |
virtual CORBA::Any * | get_slot (PortableInterceptor::SlotId id) |
virtual IOP::ServiceContext * | get_request_service_context (IOP::ServiceId id) |
virtual IOP::ServiceContext * | get_reply_service_context (IOP::ServiceId id) |
virtual CORBA::Object_ptr | target (void) |
virtual CORBA::Object_ptr | effective_target (void) |
virtual IOP::TaggedProfile * | effective_profile (void) |
virtual CORBA::Any * | received_exception (void) |
virtual char * | received_exception_id (void) |
Return the repository ID for the received exception. | |
virtual IOP::TaggedComponent * | get_effective_component (IOP::ComponentId id) |
virtual IOP::TaggedComponentSeq * | get_effective_components (IOP::ComponentId id) |
virtual CORBA::Policy_ptr | get_request_policy (CORBA::PolicyType type) |
virtual void | add_request_service_context (const IOP::ServiceContext &service_context, CORBA::Boolean replace) |
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. | |
![]() | |
virtual | ~LocalObject (void) |
virtual CORBA::Boolean | _non_existent (void) |
virtual char * | _repository_id (void) |
virtual CORBA::InterfaceDef_ptr | _get_interface (void) |
virtual CORBA::Object_ptr | _get_component (void) |
virtual void | _create_request (CORBA::Context_ptr ctx, const char *operation, CORBA::NVList_ptr arg_list, CORBA::NamedValue_ptr result, CORBA::Request_ptr &request, CORBA::Flags req_flags) |
virtual void | _create_request (CORBA::Context_ptr ctx, const char *operation, CORBA::NVList_ptr arg_list, CORBA::NamedValue_ptr result, CORBA::ExceptionList_ptr exclist, CORBA::ContextList_ptr ctxtlist, CORBA::Request_ptr &request, CORBA::Flags req_flags) |
virtual CORBA::Request_ptr | _request (const char *operation) |
CORBA::Policy_ptr | _get_policy (CORBA::PolicyType type) |
CORBA::Policy_ptr | _get_cached_policy (TAO_Cached_Policy_Type type) |
CORBA::Object_ptr | _set_policy_overrides (const CORBA::PolicyList &policies, CORBA::SetOverrideType set_add) |
CORBA::PolicyList * | _get_policy_overrides (const CORBA::PolicyTypeSeq &types) |
CORBA::Boolean | _validate_connection (CORBA::PolicyList_out inconsistent_policies) |
virtual CORBA::ULong | _hash (CORBA::ULong maximum) |
virtual CORBA::Boolean | _is_equivalent (CORBA::Object_ptr other_obj) |
virtual CORBA::ORB_ptr | _get_orb (void) |
virtual TAO::ObjectKey * | _key (void) |
virtual | ~Object (void) |
virtual TAO_Abstract_ServantBase * | _servant (void) const |
virtual CORBA::Boolean | _is_collocated (void) const |
virtual CORBA::Boolean | _is_local (void) const |
Object (TAO_Stub *p, CORBA::Boolean collocated=false, TAO_Abstract_ServantBase *servant=0, TAO_ORB_Core *orb_core=0) | |
Object (IOP::IOR *ior, TAO_ORB_Core *orb_core) | |
virtual TAO_Stub * | _stubobj (void) const |
virtual TAO_Stub * | _stubobj (void) |
virtual void | _proxy_broker (TAO::Object_Proxy_Broker *proxy_broker) |
virtual CORBA::Boolean | marshal (TAO_OutputCDR &cdr) |
CORBA::Boolean | is_evaluated (void) const |
TAO_ORB_Core * | orb_core (void) const |
IOP::IOR * | steal_ior (void) |
const IOP::IOR & | ior (void) const |
virtual bool | can_convert_to_ior (void) const |
virtual char * | convert_to_ior (bool use_omg_ior_format, const char *ior_prefix) const |
void | _decr_refcount (void) |
virtual void | _add_ref (void) |
virtual void | _remove_ref (void) |
virtual CORBA::ULong | _refcount_value (void) const |
virtual CORBA::Boolean | _is_a (const char *logical_type_id) |
virtual const char * | _interface_repository_id (void) const |
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 (void) |
void | setup_picurrent (void) |
IOP::ServiceContext * | get_service_context_i (TAO_Service_Context &service_context_list, IOP::ServiceId id) |
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_ |
Additional Inherited Members | |
![]() | |
typedef LocalObject_ptr | _ptr_type |
typedef LocalObject_var | _var_type |
typedef LocalObject_out | _out_type |
![]() | |
![]() | |
static LocalObject_ptr | _duplicate (LocalObject_ptr obj) |
static LocalObject_ptr | _nil (void) |
static LocalObject_ptr | _narrow (CORBA::Object_ptr obj) |
static CORBA::Boolean | marshal (const Object_ptr x, TAO_OutputCDR &cdr) |
static void | _tao_any_destructor (void *) |
static CORBA::Boolean | is_nil_i (CORBA::Object_ptr obj) |
static void | tao_object_initialize (Object *) |
static CORBA::Object_ptr | _duplicate (CORBA::Object_ptr obj) |
![]() | |
LocalObject (void) | |
Object (int dummy=0) | |
TAO::Object_Proxy_Broker * | proxy_broker () const |
![]() | |
ACE_Atomic_Op< TAO_SYNCH_MUTEX, unsigned long > | refcount_ |
![]() |
Implementation of the PortableInterceptor::ClientRequestInfo interface.
TAO_ClientRequestInfo::TAO_ClientRequestInfo | ( | TAO::Invocation_Base * | invocation | ) |
|
virtual |
Add the IOP::ServiceContext to the request (outgoing) IOP::ServiceContextList.
|
virtual |
Return the list of arguments passed to the current operation.
|
private |
Check if this ClientRequestInfo object is called within the context of a request.
|
virtual |
|
virtual |
|
virtual |
Return the object reference for the current target. The target may change in the even of a location forward.
|
private |
|
virtual |
Return the list of exceptions the current operation is capable of throwing.
|
virtual |
If the reply status is PortableInterceptor::LOCATION_FORWARD or return the object reference to which the request was forwarded.
|
virtual |
Return the first IOP::TaggedComponent that matches the given IOP::ComponentId in the object reference for the current target.
|
virtual |
Return all IOP::TaggedComponent(s) that match the given IOP::ComponentId in the object reference for the current target.
|
virtual |
Return the IOP::ServiceContext with the given IOP::ServiceId from the reply service context list.
|
virtual |
Return the policy of the given type in effect for the current request.
|
virtual |
Return the IOP::ServiceContext with the given IOP::ServiceId from the request service context list.
|
private |
Helper method to get the request and response service contexts.
|
virtual |
|
virtual |
Return the operation name for the current request.
|
virtual |
|
private |
|
virtual |
Return an Any containing the received exception, if any. Otherwise, throw a CORBA::BAD_INV_ORDER exception.
|
virtual |
Return the repository ID for the received exception.
|
virtual |
Return the reply status for the current request.
Statuses can be PortableInterceptor::SUCCESSFUL, SYSTEM_EXCEPTION, USER_EXCEPTION, LOCATION_FORWARD, TRANSPORT_RETRY, UNKNOWN.
|
virtual |
Return an ID unique to the current request. This request ID may or may not be the same as the GIOP request ID.
|
virtual |
Returns true for a two-way operation, and false otherwise.
|
virtual |
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.
|
private |
|
private |
Setup thread scope and request scope PortableInterceptor::Current objects.
|
virtual |
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.
void TAO_ClientRequestInfo::tao_ft_expiration_time | ( | TimeBase::TimeT | time | ) |
Set the absolute FT expiration time for this request.
TimeBase::TimeT TAO_ClientRequestInfo::tao_ft_expiration_time | ( | void | ) | const |
Get the absolute FT expiration time for this request.
void TAO_ClientRequestInfo::tao_ft_retention_id | ( | CORBA::Long | request_id | ) |
Set the FT request retention ID for this request.
CORBA::Long TAO_ClientRequestInfo::tao_ft_retention_id | ( | void | ) | const |
Get the FT request retention ID for this request.
|
virtual |
Return the (initial, non-forwarded, or permanently forwarded) object reference of the target.
|
private |
Pointer to the invocation object.
|
private |
The "Request Scope Current" (RSC) object, as required by Portable Interceptors.