summaryrefslogtreecommitdiff
path: root/TAO/tao/operation_details.inl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/operation_details.inl')
-rw-r--r--TAO/tao/operation_details.inl17
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)