diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-06-18 18:33:47 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-06-18 18:33:47 +0000 |
commit | 2b438ddcf55efb2003daec4aa1a012a84a8df982 (patch) | |
tree | c725af2cfb19b142b9e77a3cacf1a9a7e55f1fc9 /TAO/tao/LF_Connect_Strategy.cpp | |
parent | 0762396a216ee51434f896705dff5b8344c242a1 (diff) | |
download | ATCD-2b438ddcf55efb2003daec4aa1a012a84a8df982.tar.gz |
ChangeLogTag:Tue Jun 18 14:31:39 2002 Carlos O'Ryan <coryan@atdesk.com>
Diffstat (limited to 'TAO/tao/LF_Connect_Strategy.cpp')
-rw-r--r-- | TAO/tao/LF_Connect_Strategy.cpp | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/TAO/tao/LF_Connect_Strategy.cpp b/TAO/tao/LF_Connect_Strategy.cpp index 27f3d9b2b68..83ce6483ed1 100644 --- a/TAO/tao/LF_Connect_Strategy.cpp +++ b/TAO/tao/LF_Connect_Strategy.cpp @@ -45,14 +45,17 @@ int TAO_LF_Connect_Strategy::wait (TAO_Connection_Handler *ch, ACE_Time_Value *max_wait_time) { - if (TAO_debug_level > 2) - ACE_DEBUG ((LM_DEBUG, - ACE_LIB_TEXT ("(%P|%t) Waiting on the LF for") - ACE_LIB_TEXT (" connection completion - wait () \n"))); - TAO_Transport *transport = ch->transport (); + if (TAO_debug_level > 2) + { + ACE_DEBUG ((LM_DEBUG, + "TAO (%P|%t) - LF_Connect_Strategy::wait, " + "waiting for Transport[%d]\n", + transport->id())); + } + TAO_Leader_Follower &leader_follower = transport->orb_core ()->leader_follower (); @@ -65,5 +68,13 @@ TAO_LF_Connect_Strategy::wait (TAO_Connection_Handler *ch, if (!ch->successful () && result != -1) result = -1; + if (TAO_debug_level > 2) + { + ACE_DEBUG ((LM_DEBUG, + "TAO (%P|%t) - LF_Connect_Strategy::wait, " + "wait done for Transport[%d], result = %d\n", + transport->id(), result)); + } + return result; } |