summaryrefslogtreecommitdiff
path: root/TAO/tao/UIOP_Connect.h
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>1999-06-28 20:27:33 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>1999-06-28 20:27:33 +0000
commit3b99205e7d658fd3ce93971d92ae6183a413e892 (patch)
tree774e0cf4b4882eb83ea401f8b5bac5d601957407 /TAO/tao/UIOP_Connect.h
parentd352ac9bbe502406b887b1720e56270e4f0a1481 (diff)
downloadATCD-3b99205e7d658fd3ce93971d92ae6183a413e892.tar.gz
Changed transport_ member from pointer member to non-pointer
member. This removes the need to instantiate the transport_ member on the heap, thus avoiding any potential memory management problems.
Diffstat (limited to 'TAO/tao/UIOP_Connect.h')
-rw-r--r--TAO/tao/UIOP_Connect.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/TAO/tao/UIOP_Connect.h b/TAO/tao/UIOP_Connect.h
index e4ae0d093d1..60de2988aa7 100644
--- a/TAO/tao/UIOP_Connect.h
+++ b/TAO/tao/UIOP_Connect.h
@@ -31,17 +31,14 @@
#include "ace/Svc_Handler.h"
#include "tao/corbafwd.h"
-#include "tao/GIOP.h"
-#include "tao/CDR.h"
+#include "tao/Wait_Strategy.h"
+
+#include "tao/UIOP_Transport.h"
// Forward Decls
-class TAO_Transport;
class TAO_ORB_Core;
class TAO_ORB_Core_TSS_Resources;
-class TAO_UIOP_Transport;
-class TAO_UIOP_Client_Transport;
-class TAO_UIOP_Server_Transport;
typedef ACE_Svc_Handler<ACE_LSOCK_STREAM, ACE_NULL_SYNCH>
TAO_UIOP_SVC_HANDLER;
@@ -88,8 +85,11 @@ public:
virtual TAO_Transport *transport (void);
protected:
- TAO_UIOP_Client_Transport *transport_;
+ TAO_UIOP_Client_Transport transport_;
// Reference to the transport object, it is owned by this class.
+
+ TAO_ORB_Core *orb_core_;
+ // Cache the ORB Core to minimize
};
// ****************************************************************
@@ -132,7 +132,7 @@ public:
TAO_Transport *transport (void);
protected:
- TAO_UIOP_Server_Transport *transport_;
+ TAO_UIOP_Server_Transport transport_;
// @@ New transport object reference.
// = Event Handler overloads