diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2006-08-10 09:44:53 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2006-08-10 09:44:53 +0000 |
commit | 8f802c9d1fa503010989abace904f16980fcc5c6 (patch) | |
tree | bd2484f53614581aaf9bdd844818ceea355ca9b8 /TAO/tao/operation_details.inl | |
parent | 4739904278f0e3a6c9b6e871e5b27eb5157edf4a (diff) | |
download | ATCD-8f802c9d1fa503010989abace904f16980fcc5c6.tar.gz |
Thu Aug 10 09:43:56 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/operation_details.inl')
-rw-r--r-- | TAO/tao/operation_details.inl | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/TAO/tao/operation_details.inl b/TAO/tao/operation_details.inl index a65462899cd..af624b2045c 100644 --- a/TAO/tao/operation_details.inl +++ b/TAO/tao/operation_details.inl @@ -7,7 +7,6 @@ TAO_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE TAO_Operation_Details::TAO_Operation_Details (const char *name, CORBA::ULong len, - CORBA::Boolean argument_flag, TAO::Argument **args, CORBA::ULong num, TAO::Exception_Data *data, @@ -15,13 +14,13 @@ TAO_Operation_Details::TAO_Operation_Details (const char *name, : opname_ (name) , opname_len_ (len) , request_id_ (0) - , argument_flag_ (argument_flag) , response_flags_ (0) , addressing_mode_ (TAO_Target_Specification::Key_Addr) , args_ (args) , num_args_ (num) , ex_data_ (data) , ex_count_ (count) + , use_stub_args_ (args ? true : false) #if TAO_HAS_INTERCEPTORS == 1 , ft_expiration_time_ (0) , ft_retention_id_ (0) @@ -44,7 +43,7 @@ TAO_Operation_Details::opname_len (void) const ACE_INLINE CORBA::Boolean TAO_Operation_Details::argument_flag (void) const { - return this->argument_flag_; + return (this->num_args_ > 1); } ACE_INLINE TAO_Service_Context & @@ -171,6 +170,18 @@ TAO_Operation_Details::args_num (void) const return this->num_args_; } +ACE_INLINE CORBA::Boolean +TAO_Operation_Details::use_stub_args (void) const +{ + return this->use_stub_args_; +} + +ACE_INLINE void +TAO_Operation_Details::use_stub_args (CORBA::Boolean use_stub_args) +{ + this->use_stub_args_ = use_stub_args; +} + #if TAO_HAS_INTERCEPTORS == 1 ACE_INLINE void TAO_Operation_Details::ft_expiration_time (TimeBase::TimeT time) |