|
TAO_PI_Server
2.1.3
|
Implementation of the PortableInterceptor::ServerRequestInfo IDL interface.
More...
#include <ServerRequestInfo.h>


Public Member Functions | |
| ServerRequestInfo (TAO_ServerRequest &server_request, TAO::Argument *const *args, size_t nargs, TAO::Portable_Server::Servant_Upcall *servant_upcall, CORBA::TypeCode_ptr const *exceptions, CORBA::ULong nexceptions) | |
| Constructor. | |
| 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) |
Retrieve data from the "request scope" PICurrent object. | |
| virtual IOP::ServiceContext * | get_request_service_context (IOP::ServiceId id) |
| virtual IOP::ServiceContext * | get_reply_service_context (IOP::ServiceId id) |
| virtual CORBA::Any * | sending_exception (void) |
| virtual PortableInterceptor::ObjectId * | object_id (void) |
Return the ObjectId for the target object. | |
| virtual CORBA::OctetSeq * | adapter_id (void) |
| virtual char * | server_id (void) |
| virtual char * | orb_id (void) |
| virtual PortableInterceptor::AdapterName * | adapter_name (void) |
| virtual char * | target_most_derived_interface (void) |
| Return the most derived interface of the target object. | |
| virtual CORBA::Policy_ptr | get_server_policy (CORBA::PolicyType type) |
| virtual void | set_slot (PortableInterceptor::SlotId id, const CORBA::Any &data) |
Insert data into the "request scope" PICurrent object. | |
| virtual CORBA::Boolean | target_is_a (const char *id) |
| virtual void | add_reply_service_context (const IOP::ServiceContext &service_context, CORBA::Boolean replace) |
| TAO_ServerRequest & | server_request (void) |
Helper methods specific to TAO. | |
| void | forward_reference (PortableInterceptor::ForwardRequest &exc) |
| void | forward_reference (CORBA::Object_ptr obj) |
Public Member Functions inherited from CORBA::LocalObject | |
| 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 |
Protected Member Functions | |
| IOP::ServiceContext * | get_service_context_i (TAO_Service_Context &service_context_list, IOP::ServiceId id) |
Protected Member Functions inherited from CORBA::LocalObject | |
| LocalObject (void) | |
| Object (int dummy=0) | |
| TAO::Object_Proxy_Broker * | proxy_broker () const |
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_ |
| CORBA::ULong const | nexceptions_ |
The number of elements in the exceptions_ array. | |
Protected Attributes inherited from CORBA::LocalObject | |
| ACE_Atomic_Op< TAO_SYNCH_MUTEX, unsigned long > | refcount_ |
Protected Attributes inherited from CORBA::Object | |
| ACE_Atomic_Op< TAO_SYNCH_MUTEX, unsigned long > | refcount_ |
Additional Inherited Members | |
Public Types inherited from CORBA::LocalObject | |
| typedef LocalObject_ptr | _ptr_type |
| typedef LocalObject_var | _var_type |
| typedef LocalObject_out | _out_type |
| typedef Object_ptr | _ptr_type |
| typedef Object_var | _var_type |
| typedef Object_out | _out_type |
Static Public Member Functions inherited from CORBA::LocalObject | |
| 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) |
Implementation of the PortableInterceptor::ServerRequestInfo IDL interface.
Implementation of the PortableInterceptor::ServerRequestInfo IDL interface.
|
inline |
Constructor.
|
virtual |
Return the AdapterId for the POA handling the current request.
|
virtual |
Return the name of the object adapter that services requests for the invoked object.
|
virtual |
Add the IOP::ServiceContext to the reply (outgoing) IOP::ServiceContextList.
|
virtual |
Return the list of arguments passed to the current operation.
|
virtual |
|
virtual |
Return the list of exceptions the current operation is capable of throwing.
|
virtual |
If the reply status is PortableInterceptor::LOCATION_FORWARD return the object reference to which the request was forwarded.
|
inline |
Extract the forward object reference from the PortableInterceptor::ForwardRequest exception, and set the reply status flag accordingly.
|
inline |
Set the forward reference associated with the current LOCATION_FORWARD reply.
PortableServer::ForwardRequest exception is thrown by a servant manager.
|
virtual |
Return the IOP::ServiceContext with the given IOP::ServiceId from the reply service context list.
|
virtual |
Return the IOP::ServiceContext with the given IOP::ServiceId from the request service context list.
|
virtual |
Return the policy of the given type in effect for the current request.
|
protected |
Helper method to get the request and response service contexts.
|
virtual |
Retrieve data from the "request scope" PICurrent object.
|
virtual |
Return the ObjectId for the target object.
|
virtual |
Return the operation name for the current request.
|
virtual |
|
virtual |
Return the ORBId value that is passed to the ORB_init call.
|
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 method is not valid for oneway operations.
|
virtual |
Return an Any containing the exception being sent, if any. Otherwise, throw a CORBA::BAD_INV_ORDER exception.
Any.
|
virtual |
Return the server_id of the server. The value is passed to the ORB via -ORBServerId parameter.
|
inline |
Return a reference to the underlying TAO_ServerRequest object.
|
virtual |
Insert data into the "request scope" PICurrent object.
|
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.
|
virtual |
Returns true if the target's type corresponds to the given RepositoryId.
|
virtual |
Return the most derived interface of the target object.
|
protected |
Operation argument list.
|
protected |
Array of TypeCodes for user exceptions the operation is capable of raising.
|
protected |
Number of element in the operation argument list.
|
protected |
The number of elements in the exceptions_ array.
|
protected |
Pointer to the Servant_Upcall object that contains the object ID, among other things.
|
protected |
Underlying request object that contains much of the information encapsulated by this ServerRequestInfo implementation.
1.8.1.2