PortableInterceptor::ServerRequestInfo
IDL interface.
More...
#include <ServerRequestInfo.h>
Inheritance diagram for TAO::ServerRequestInfo:
Helper methods specific to TAO. | |
void | reply_status (PortableInterceptor::ReplyStatus s) |
Set the status of the received reply. | |
void | forward_reference (PortableInterceptor::ForwardRequest &exc) |
void | forward_reference (CORBA::Object_ptr obj) |
void exception CORBA::Exception * | exception |
Change the exception status. | |
Public Member Functions | |
ServerRequestInfo (TAO_ServerRequest &server_request, TAO::Argument *const *args, size_t nargs, void *servant_upcall, CORBA::TypeCode_ptr const *exceptions, size_t nexceptions) | |
Constructor. | |
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) |
Retrieve data from the "request scope" PICurrent object. | |
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::Any * | sending_exception (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
virtual PortableInterceptor::ObjectId * | object_id (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
Return the ObjectId for the target object. | |
virtual CORBA::OctetSeq * | adapter_id (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
virtual char * | server_id (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
virtual char * | orb_id (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
virtual PortableInterceptor::AdapterName * | adapter_name (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
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. | |
virtual CORBA::Policy_ptr | get_server_policy (CORBA::PolicyType type ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
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. | |
virtual CORBA::Boolean | target_is_a (const char *id ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
virtual void | add_reply_service_context (const IOP::ServiceContext &service_context, CORBA::Boolean replace ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException) |
TAO_ServerRequest & | server_request (void) |
Protected Member Functions | |
IOP::ServiceContext * | get_service_context_i (TAO_Service_Context &service_context_list, IOP::ServiceId id ACE_ENV_ARG_DECL) throw (CORBA::SystemException) |
Protected Attributes | |
TAO_ServerRequest & | server_request_ |
TAO::Argument *const *const | args_ |
Operation argument list. | |
size_t const | nargs_ |
Number of element in the operation argument list. | |
TAO::Portable_Server::Servant_Upcall *const | servant_upcall_ |
CORBA::TypeCode_ptr const *const | exceptions_ |
size_t const | nexceptions_ |
The number of elements in the exceptions_ array. | |
CORBA::Exception * | caught_exception_ |
Pointer to the caught exception. | |
PortableInterceptor::ReplyStatus | reply_status_ |
Reply status for the current request. |
PortableInterceptor::ServerRequestInfo
IDL interface.
Implementation of the PortableInterceptor::ServerRequestInfo
IDL interface.
|
Constructor.
|
|
Return the Implements PortableInterceptor::ServerRequestInfo. |
|
Return the name of the object adapter that services requests for the invoked object. Implements PortableInterceptor::ServerRequestInfo. |
|
Add the |
|
Return the list of arguments passed to the current operation.
Implements PortableInterceptor::RequestInfo. |
|
Implements PortableInterceptor::RequestInfo. |
|
Return the list of exceptions the current operation is capable of throwing. Implements PortableInterceptor::RequestInfo. |
|
|
|
Extract the forward object reference from the |
|
If the reply status is Implements PortableInterceptor::RequestInfo. |
|
Return the |
|
Return the |
|
Return the policy of the given type in effect for the current request. |
|
Helper method to get the request and response service contexts. |
|
Retrieve data from the "request scope"
|
|
Return the
Implements PortableInterceptor::ServerRequestInfo. |
|
Return the operation name for the current request.
Implements PortableInterceptor::RequestInfo. |
|
Implements PortableInterceptor::RequestInfo. |
|
Return the ORBId value that is passed to the Implements PortableInterceptor::ServerRequestInfo. |
|
Set the status of the received reply.
|
|
Return the reply status for the current request.
Statuses can be 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
Implements PortableInterceptor::RequestInfo. |
|
Return the result of the current request. If there is no return value then an Implements PortableInterceptor::RequestInfo. |
|
Implements PortableInterceptor::ServerRequestInfo. |
|
Return the server_id of the server. The value is passed to the ORB via Implements PortableInterceptor::ServerRequestInfo. |
|
Return a reference to the underlying |
|
Insert data into the "request scope"
|
|
Return the Implements PortableInterceptor::RequestInfo. |
|
Returns true if the target's type corresponds to the given Implements PortableInterceptor::ServerRequestInfo. |
|
Return the most derived interface of the target object.
Implements PortableInterceptor::ServerRequestInfo. |
|
Operation argument list.
|
|
Pointer to the caught exception.
|
|
Change the exception status.
|
|
Array of |
|
Number of element in the operation argument list.
|
|
The number of elements in the
|
|
Reply status for the current request.
|
|
Pointer to the |
|
Underlying request object that contains much of the information encapsulated by this |