diff options
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; } |