diff options
Diffstat (limited to 'TAO/tao/Request.i')
-rw-r--r-- | TAO/tao/Request.i | 48 |
1 files changed, 19 insertions, 29 deletions
diff --git a/TAO/tao/Request.i b/TAO/tao/Request.i index 6b3d8e56b87..314c55864f2 100644 --- a/TAO/tao/Request.i +++ b/TAO/tao/Request.i @@ -4,6 +4,12 @@ // Return the target of this request. +ACE_INLINE void +CORBA::release (CORBA::Request_ptr req) +{ + if (req) + req->_decr_refcnt (); +} ACE_INLINE CORBA::Boolean CORBA::is_nil (CORBA::Request_ptr req) @@ -19,55 +25,53 @@ CORBA_Request::_duplicate (CORBA_Request* x) return x; } +ACE_INLINE CORBA_Request* +CORBA_Request::_nil (void) +{ + return 0; +} ACE_INLINE CORBA::Object_ptr CORBA_Request::target (void) const { - return this->target_; + return target_; } // Return the operation name for the request. ACE_INLINE const CORBA::Char * CORBA_Request::operation (void) const { - return this->opname_; + return opname_; } // Return the arguments for the request. ACE_INLINE CORBA::NVList_ptr CORBA_Request::arguments (void) { - return this->args_; + return args_; } // Return the result for the request. ACE_INLINE CORBA::NamedValue_ptr CORBA_Request::result (void) { - return this->result_; + return result_; } // Return the exceptions resulting from this request. ACE_INLINE CORBA::ExceptionList_ptr CORBA_Request::exceptions (void) { - return &this->exceptions_; -} - -// Return the request's contexts -ACE_INLINE CORBA::ContextList_ptr -CORBA_Request::contexts (void) -{ - return this->contexts_; + return &exceptions_; } // Return the <Environment> for this request. -ACE_INLINE CORBA::Environment * +/*ACE_INLINE CORBA::Environment * CORBA_Request::env (void) { - return &this->env_; + return &env_; } - +*/ // The argument manipulation helper functions ACE_INLINE CORBA_Any & @@ -125,18 +129,6 @@ CORBA_Request::return_value (void ) return this->result_->any_; } -ACE_INLINE CORBA::Context_ptr -CORBA_Request::ctx (void) const -{ - return this->ctx_; -} - -ACE_INLINE void -CORBA_Request::ctx (CORBA::Context_ptr ctx) -{ - ACE_UNUSED_ARG (ctx); -} - // ************************************************************* // Inline operations for class CORBA_Request_var // ************************************************************* @@ -297,5 +289,3 @@ CORBA_Request_out::operator-> (void) { return this->ptr_; } - - |