summaryrefslogtreecommitdiff
path: root/TAO/tao/Transport_Connector.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Transport_Connector.h')
-rw-r--r--TAO/tao/Transport_Connector.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/TAO/tao/Transport_Connector.h b/TAO/tao/Transport_Connector.h
index ca9029f86ab..29d50a6d705 100644
--- a/TAO/tao/Transport_Connector.h
+++ b/TAO/tao/Transport_Connector.h
@@ -17,6 +17,7 @@
#define TAO_CONNECTOR_H
#include /**/ "ace/pre.h"
+//#include "ace/CORBA_macros.h"
#include "tao/Basic_Types.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
@@ -172,6 +173,7 @@ protected:
*/
virtual bool wait_for_connection_completion(
TAO::Profile_Transport_Resolver *r,
+ TAO_Transport_Descriptor_Interface &desc,
TAO_Transport *&transport,
ACE_Time_Value *timeout);
@@ -186,6 +188,19 @@ protected:
TAO_LF_Multi_Event *mev,
ACE_Time_Value *timeout);
+ /// See if a new connection is allowed
+ bool new_connection_is_ok (unsigned int busy_count);
+
+ /// Wait for a transport to be connected
+ /// Note: no longer changes transport reference count
+ /// @ returns true if wait was uneventful
+ /// @ false if error occurred during wait
+ bool wait_for_transport(
+ TAO::Profile_Transport_Resolver *r,
+ TAO_Transport *base_transport,
+ ACE_Time_Value * timeout,
+ bool force_wait);
+
/// Set the ORB Core pointer
void orb_core (TAO_ORB_Core *orb_core);