From 27e2b811c7b844e0a6f90e5492557f6174318c4c Mon Sep 17 00:00:00 2001 From: bala Date: Thu, 16 Nov 2000 03:53:40 +0000 Subject: ChangeLogTag: Wed Nov 15 21:35:17 2000 Balachandran Natarajan --- TAO/tao/operation_details.i | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) (limited to 'TAO/tao/operation_details.i') diff --git a/TAO/tao/operation_details.i b/TAO/tao/operation_details.i index 736261b89f7..4934a77ceed 100644 --- a/TAO/tao/operation_details.i +++ b/TAO/tao/operation_details.i @@ -2,10 +2,12 @@ //$Id$ ACE_INLINE TAO_Operation_Details::TAO_Operation_Details (const char *name, - CORBA::ULong len) + CORBA::ULong len, + CORBA::Boolean argument_flag) :opname_ (name), opname_len_ (len), request_id_ (0), + argument_flag_ (argument_flag), response_flags_ (0), addressing_mode_ (TAO_Target_Specification::Key_Addr) { @@ -24,6 +26,12 @@ TAO_Operation_Details::opname_len (void) const return this->opname_len_; } +ACE_INLINE CORBA::Boolean +TAO_Operation_Details::argument_flag (void) const +{ + return this->argument_flag_; +} + ACE_INLINE IOP::ServiceContextList & TAO_Operation_Details::service_info (void) { @@ -37,7 +45,7 @@ TAO_Operation_Details::service_info (void) const } ACE_INLINE void -TAO_Operation_Details::request_id (CORBA::ULong id) +TAO_Operation_Details::request_id (CORBA::ULong id) { this->request_id_ = id; } @@ -57,7 +65,7 @@ TAO_Operation_Details::request_id (void) const ACE_INLINE void TAO_Operation_Details::response_flags (CORBA::Octet flags) { - this->response_flags_ = flags; + this->response_flags_ = flags; } ACE_INLINE CORBA::Octet @@ -72,27 +80,26 @@ TAO_Operation_Details::response_flags (void) const return this->response_flags_; } -ACE_INLINE TAO_Target_Specification::TAO_Target_Address +ACE_INLINE TAO_Target_Specification::TAO_Target_Address TAO_Operation_Details::addressing_mode (void) { return this->addressing_mode_; } -ACE_INLINE TAO_Target_Specification::TAO_Target_Address +ACE_INLINE TAO_Target_Specification::TAO_Target_Address TAO_Operation_Details::addressing_mode (void) const { return this->addressing_mode_; } -ACE_INLINE void +ACE_INLINE void TAO_Operation_Details:: - addressing_mode (CORBA::Short mode) + addressing_mode (CORBA::Short mode) { if (mode == 0) this->addressing_mode_ = TAO_Target_Specification::Key_Addr; - else if (mode == 1) + else if (mode == 1) this->addressing_mode_ = TAO_Target_Specification::Profile_Addr; - else if (mode == 2) + else if (mode == 2) this->addressing_mode_ = TAO_Target_Specification::Reference_Addr; } - -- cgit v1.2.1