TAO_PI
2.2.5
|
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. More... | |
virtual Dynamic::ParameterList * | arguments (void) |
Return the list of arguments passed to the current operation. More... | |
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. More... | |
virtual Messaging::SyncScope | sync_scope (void) |
virtual PortableInterceptor::ReplyStatus | reply_status (void) |
Return the reply status for the current request. More... | |
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. More... | |
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. More... | |
TimeBase::TimeT | tao_ft_expiration_time (void) const |
Get the absolute FT expiration time for this request. More... | |
void | tao_ft_retention_id (CORBA::Long request_id) |
Set the FT request retention ID for this request. More... | |
CORBA::Long | tao_ft_retention_id (void) const |
Get the FT request retention ID for this request. More... | |
Public Member Functions inherited from CORBA::Object | |
virtual TAO::ObjectKey * | _key (void) |
virtual CORBA::ULong | _hash (CORBA::ULong maximum) |
virtual CORBA::Boolean | _is_equivalent (CORBA::Object_ptr other_obj) |
virtual CORBA::Boolean | _non_existent (void) |
virtual InterfaceDef_ptr | _get_interface (void) |
virtual CORBA::Object_ptr | _get_component (void) |
virtual char * | _repository_id (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) |
virtual CORBA::ORB_ptr | _get_orb (void) |
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. More... | |
Private Attributes | |
TAO::Invocation_Base * | invocation_ |
Pointer to the invocation object. More... | |
TAO::PICurrent_Impl | rs_pi_current_ |
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.