diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-11-07 01:25:34 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-11-07 01:25:34 +0000 |
commit | 8363a8ec1057448b29ac0977cf24291738c4edd5 (patch) | |
tree | b244bb6fc40b19ca740eb4580657d2bbfbc63ac2 /TAO/tao/RTCORBA | |
parent | 04c1a4197966602690ad643f119cf587128a41fe (diff) | |
download | ATCD-8363a8ec1057448b29ac0977cf24291738c4edd5.tar.gz |
Added debug statement.
Diffstat (limited to 'TAO/tao/RTCORBA')
-rw-r--r-- | TAO/tao/RTCORBA/RT_Invocation_Endpoint_Selectors.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/TAO/tao/RTCORBA/RT_Invocation_Endpoint_Selectors.cpp b/TAO/tao/RTCORBA/RT_Invocation_Endpoint_Selectors.cpp index 544eab43d41..1d75ca7f3cf 100644 --- a/TAO/tao/RTCORBA/RT_Invocation_Endpoint_Selectors.cpp +++ b/TAO/tao/RTCORBA/RT_Invocation_Endpoint_Selectors.cpp @@ -16,6 +16,7 @@ #include "tao/Base_Transport_Property.h" #include "RT_Endpoint_Utils.h" #include "RT_Protocols_Hooks.h" +#include "tao/debug.h" ACE_RCSID(tao, RT_Invocation_Endpoint_Selectors, "$Id$") @@ -327,6 +328,15 @@ TAO_Bands_Endpoint_Selector::select_endpoint (TAO_GIOP_Invocation *invocation, if (endp->priority () <= max_priority && endp->priority () >= min_priority) { + if (TAO_debug_level > 1) + { + ACE_DEBUG ((LM_DEBUG, + "(%P|%t) TAO Endpoint Selection: priority = %d, band = [%d %d], endpoint = %d\n", + p, + min_priority, + max_priority, + endp->priority ())); + } endpoint = endp; break; } |