summaryrefslogtreecommitdiff
path: root/TAO/tao/TAO_Server_Request.cpp
diff options
context:
space:
mode:
authorbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-11-16 03:53:40 +0000
committerbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-11-16 03:53:40 +0000
commitac059c4436835dbc8b1a7ff673c1a0e60f61057e (patch)
tree1fa47022dfcae4335356caaf9e3f235437f5af2d /TAO/tao/TAO_Server_Request.cpp
parente096d3bed624957671e2efa6d21b3df671f69844 (diff)
downloadATCD-ac059c4436835dbc8b1a7ff673c1a0e60f61057e.tar.gz
ChangeLogTag: Wed Nov 15 21:35:17 2000 Balachandran Natarajan <bala@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/TAO_Server_Request.cpp')
-rw-r--r--TAO/tao/TAO_Server_Request.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/TAO/tao/TAO_Server_Request.cpp b/TAO/tao/TAO_Server_Request.cpp
index a993d9046b1..997601111b6 100644
--- a/TAO/tao/TAO_Server_Request.cpp
+++ b/TAO/tao/TAO_Server_Request.cpp
@@ -58,7 +58,8 @@ TAO_ServerRequest::TAO_ServerRequest (TAO_Pluggable_Messaging *mesg_base,
profile_ (orb_core),
requesting_principal_ (0),
is_dsi_ (0),
- dsi_nvlist_align_ (0)
+ dsi_nvlist_align_ (0),
+ argument_flag_ (1)
{
ACE_FUNCTION_TIMEPROBE (TAO_SERVER_REQUEST_START);
// No-op.
@@ -89,7 +90,8 @@ TAO_ServerRequest::TAO_ServerRequest (TAO_Pluggable_Messaging *mesg_base,
profile_ (orb_core),
requesting_principal_ (0),
is_dsi_ (0),
- dsi_nvlist_align_ (0)
+ dsi_nvlist_align_ (0),
+ argument_flag_ (1)
{
profile_.object_key (object_key);
parse_error = 0;
@@ -128,6 +130,9 @@ TAO_ServerRequest::init_reply (CORBA::Environment &)
// modifying...) marina
reply_params.service_context_notowned (&this->service_info_);
+ // Are we going to marshall any data with the reply?
+ reply_params.argument_flag_ = this->argument_flag_;
+
// Forward exception only.
if (!CORBA::is_nil (this->forward_location_.in ()))
{
@@ -182,6 +187,9 @@ TAO_ServerRequest::send_no_exception_reply (void)
reply_params.reply_status_ = TAO_GIOP_NO_EXCEPTION;
+ // No data anyway.
+ reply_params.argument_flag_ = 0;
+
// Construct a REPLY header.
this->mesg_base_->write_reply_header (*this->outgoing_,
reply_params);