summaryrefslogtreecommitdiff
path: root/TAO/tao/IIOP_Connection_Handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/IIOP_Connection_Handler.h')
-rw-r--r--TAO/tao/IIOP_Connection_Handler.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/TAO/tao/IIOP_Connection_Handler.h b/TAO/tao/IIOP_Connection_Handler.h
index d00a736d5a4..a1405bf541d 100644
--- a/TAO/tao/IIOP_Connection_Handler.h
+++ b/TAO/tao/IIOP_Connection_Handler.h
@@ -112,6 +112,15 @@ public:
/// hang around.
void abort (void);
+ /// When waiting for an asynchronous connection to complete an
+ /// additional reference must be maintained, related to bugzilla
+ /// #2417. However once the connection is successfully established,
+ /// this reference must be removed. Using connection_pending allows
+ /// the connection handler to know that it is opening as a result of
+ /// a delayed asynch connection rather than an immediate synch
+ /// connection, which has no additional reference needs.
+ void connection_pending (void);
+
protected:
/// Constructor that could be used by the derived classes.
@@ -135,6 +144,9 @@ private:
/// Stores the type of service value.
int dscp_codepoint_;
+
+ /// Stores the connection pending state
+ bool connection_pending_;
};
TAO_END_VERSIONED_NAMESPACE_DECL