summaryrefslogtreecommitdiff
path: root/TAO/tao/Reply_Dispatcher.cpp
diff options
context:
space:
mode:
authormk1 <mk1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-09-04 23:32:23 +0000
committermk1 <mk1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-09-04 23:32:23 +0000
commit5b11649bacc68704f4dd1e804b4979bda5ff945f (patch)
treea29116458da7daa440e9de2e070ba71a543cff5d /TAO/tao/Reply_Dispatcher.cpp
parent7f83ab04260e59bcdcf99f7bcb7ab16e21ba6b22 (diff)
downloadATCD-5b11649bacc68704f4dd1e804b4979bda5ff945f.tar.gz
ChangeLogTag: Sat Sep 03 18:30:00 1999 Michael Kircher <Michael.Kircher@mchp.siemens.de>
Diffstat (limited to 'TAO/tao/Reply_Dispatcher.cpp')
-rw-r--r--TAO/tao/Reply_Dispatcher.cpp17
1 files changed, 5 insertions, 12 deletions
diff --git a/TAO/tao/Reply_Dispatcher.cpp b/TAO/tao/Reply_Dispatcher.cpp
index 7e347c6fc17..1fe628db115 100644
--- a/TAO/tao/Reply_Dispatcher.cpp
+++ b/TAO/tao/Reply_Dispatcher.cpp
@@ -11,7 +11,6 @@
// Constructor.
TAO_Reply_Dispatcher::TAO_Reply_Dispatcher (void)
- // : reply_received_ (0)
{
}
@@ -141,11 +140,9 @@ TAO_Synch_Reply_Dispatcher::leader_follower_condition_variable (TAO_Transport *t
// Constructor.
TAO_Asynch_Reply_Dispatcher::TAO_Asynch_Reply_Dispatcher (const TAO_Reply_Handler_Skeleton &reply_handler_skel,
- Messaging::ReplyHandler_ptr reply_handler_ptr,
- IOP::ServiceContextList &sc)
- : reply_service_info_ (sc),
- reply_handler_skel_ (reply_handler_skel),
- reply_handler_ (reply_handler_ptr)
+ Messaging::ReplyHandler_ptr reply_handler_ptr)
+: reply_handler_skel_ (reply_handler_skel),
+ reply_handler_ (reply_handler_ptr)
{
}
@@ -161,7 +158,6 @@ TAO_Asynch_Reply_Dispatcher::dispatch_reply (CORBA::ULong reply_status,
IOP::ServiceContextList &reply_ctx,
TAO_GIOP_Message_State *message_state)
{
- // @@ Michael: Carlos, can we remove these?
// this->reply_received_ = 1;
this->reply_status_ = reply_status;
@@ -173,11 +169,8 @@ TAO_Asynch_Reply_Dispatcher::dispatch_reply (CORBA::ULong reply_status,
CORBA::ULong max = reply_ctx.maximum ();
CORBA::ULong len = reply_ctx.length ();
IOP::ServiceContext* context_list = reply_ctx.get_buffer (1);
- // @@ Michael: Carlos, why would we release the old buffer?
- // By releasing it I got a "acces violation". Could
- // you tell me the "right thing"TM ?
- // this->reply_service_info_.replace (max, len, context_list, 1);
- this->reply_service_info_.replace (max, len, context_list, 0);
+ this->reply_service_info_.replace (max, len, context_list, 1);
+
if (TAO_debug_level >= 4)
{