diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-06-16 20:15:25 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-06-16 20:15:25 +0000 |
commit | abe3e4573eaf9e98a283cdc1326e9b645db010f9 (patch) | |
tree | 9d6733547f5f42ea89ded14110c3d1ae1e61d484 /TAO/tao/IIOP_Transport.cpp | |
parent | 43eb1b4028726e408e0926f4181423d474d6d583 (diff) | |
download | ATCD-abe3e4573eaf9e98a283cdc1326e9b645db010f9.tar.gz |
ChangeLogTag:Fri Jun 16 12:07:39 2000 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'TAO/tao/IIOP_Transport.cpp')
-rw-r--r-- | TAO/tao/IIOP_Transport.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/TAO/tao/IIOP_Transport.cpp b/TAO/tao/IIOP_Transport.cpp index c63eaeb9e5a..0fb3a7f926f 100644 --- a/TAO/tao/IIOP_Transport.cpp +++ b/TAO/tao/IIOP_Transport.cpp @@ -210,6 +210,10 @@ TAO_IIOP_Client_Transport::send_request (TAO_Stub *stub, // Return 0, when the reply is not read fully, 1 if it is read fully. // @@ This code should go in the TAO_Transport class is repeated for // each transport!! +// @@ Carlos says: no, the code should be factored out in GIOP helper +// classes, but not in Transport. Transport must deal with +// non-GIOP protocols, that may have completely different behavior. +// int TAO_IIOP_Client_Transport::handle_client_input (int /* block */, ACE_Time_Value *max_wait_time) @@ -229,6 +233,7 @@ TAO_IIOP_Client_Transport::handle_client_input (int /* block */, ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("TAO (%P|%t) IIOP_Transport::handle_client_input -") ACE_TEXT (" nil message state\n"))); + this->tms_->connection_closed (); return -1; } @@ -243,6 +248,8 @@ TAO_IIOP_Client_Transport::handle_client_input (int /* block */, ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("TAO (%P|%t) - %p\n"), ACE_TEXT ("IIOP_Transport::handle_client_input, handle_input"))); + + this->tms_->connection_closed (); return -1; } if (result == 0) @@ -259,6 +266,7 @@ TAO_IIOP_Client_Transport::handle_client_input (int /* block */, ACE_TEXT ("TAO (%P|%t) - %p\n"), ACE_TEXT ("IIOP_Transport::handle_client_input, parse reply"))); message_state->reset (); + this->tms_->connection_closed (); return -1; } @@ -277,6 +285,7 @@ TAO_IIOP_Client_Transport::handle_client_input (int /* block */, ACE_TEXT ("handle_client_input - ") ACE_TEXT ("dispatch reply failed\n"))); message_state->reset (); + this->tms_->connection_closed (); return -1; } |