summaryrefslogtreecommitdiff
path: root/TAO/tao/Reply_Dispatcher.cpp
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-01-19 02:40:02 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-01-19 02:40:02 +0000
commitbaf255d7c29927cb170467d78e9475d39b4a121f (patch)
tree551fe60da0dd06a8ca9cae3bb09956adbf21eef3 /TAO/tao/Reply_Dispatcher.cpp
parentf6a2a2cce2d2c9704ad3c38c130808675c66175a (diff)
downloadATCD-baf255d7c29927cb170467d78e9475d39b4a121f.tar.gz
ChangeLogTag: Tue Jan 18 20:26:11 2000 Irfan Pyarali <irfan@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/Reply_Dispatcher.cpp')
-rw-r--r--TAO/tao/Reply_Dispatcher.cpp19
1 files changed, 11 insertions, 8 deletions
diff --git a/TAO/tao/Reply_Dispatcher.cpp b/TAO/tao/Reply_Dispatcher.cpp
index 8add1236a1a..72ba7534fbb 100644
--- a/TAO/tao/Reply_Dispatcher.cpp
+++ b/TAO/tao/Reply_Dispatcher.cpp
@@ -142,14 +142,17 @@ 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)
-: reply_handler_skel_ (reply_handler_skel),
- reply_handler_ (reply_handler_ptr)
+ : reply_handler_skel_ (reply_handler_skel),
+ reply_handler_ (reply_handler_ptr),
+ transport_ (0)
{
}
// Destructor.
TAO_Asynch_Reply_Dispatcher::~TAO_Asynch_Reply_Dispatcher (void)
{
+ if (this->transport_ != 0)
+ this->transport_->idle_after_reply ();
}
// Dispatch the reply.
@@ -189,7 +192,7 @@ TAO_Asynch_Reply_Dispatcher::dispatch_reply (CORBA::ULong reply_status,
case TAO_GIOP_SYSTEM_EXCEPTION:
reply_error = TAO_AMI_REPLY_SYSTEM_EXCEPTION;
break;
- default:
+ default:
case TAO_GIOP_LOCATION_FORWARD:
// @@ Michael: Not even the spec mentions this case.
// We have to think about this case.
@@ -238,16 +241,17 @@ TAO_Asynch_Reply_Dispatcher::message_state (void)
#if !defined (TAO_HAS_MINIMUM_CORBA)
// Constructor.
-TAO_DII_Deferred_Reply_Dispatcher::TAO_DII_Deferred_Reply_Dispatcher (
- const CORBA::Request_ptr req
- )
- : req_ (req)
+TAO_DII_Deferred_Reply_Dispatcher::TAO_DII_Deferred_Reply_Dispatcher (const CORBA::Request_ptr req)
+ : req_ (req),
+ transport_ (0)
{
}
// Destructor.
TAO_DII_Deferred_Reply_Dispatcher::~TAO_DII_Deferred_Reply_Dispatcher (void)
{
+ if (this->transport_ != 0)
+ this->transport_->idle_after_reply ();
}
// Dispatch the reply.
@@ -307,4 +311,3 @@ TAO_DII_Deferred_Reply_Dispatcher::message_state (void)
}
#endif /* TAO_HAS_MINIMUM_CORBA */
-