summaryrefslogtreecommitdiff
path: root/TAO/tao/Base_Connection_Property.cpp
diff options
context:
space:
mode:
authorbala <balanatarajan@users.noreply.github.com>2000-11-06 20:32:01 +0000
committerbala <balanatarajan@users.noreply.github.com>2000-11-06 20:32:01 +0000
commitacf9e5be1e9cc0f9f63369d7777494e097e8f6e9 (patch)
tree3fc7f550ce21dc2f750f21f454c33d8205722cd9 /TAO/tao/Base_Connection_Property.cpp
parent06d9f61549927e1b611ce6918aeca304986d926d (diff)
downloadATCD-acf9e5be1e9cc0f9f63369d7777494e097e8f6e9.tar.gz
ChangeLogTag: Mon Nov 6 13:54:20 2000 Balachandran Natarajan <bala@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/Base_Connection_Property.cpp')
-rw-r--r--TAO/tao/Base_Connection_Property.cpp34
1 files changed, 34 insertions, 0 deletions
diff --git a/TAO/tao/Base_Connection_Property.cpp b/TAO/tao/Base_Connection_Property.cpp
new file mode 100644
index 00000000000..df3976860d6
--- /dev/null
+++ b/TAO/tao/Base_Connection_Property.cpp
@@ -0,0 +1,34 @@
+//$Id$
+
+#include "tao/Base_Connection_Property.h"
+
+
+
+#if !defined (__ACE_INLINE__)
+# include "tao/Base_Connection_Property.inl"
+#endif /* __ACE_INLINE__ */
+
+ACE_RCSID(tao, Base_Connection_Property, "$Id$")
+
+
+TAO_Base_Connection_Property::~TAO_Base_Connection_Property (void)
+{
+ if (endpoint_flag_)
+ delete this->endpoint_;
+}
+
+
+TAO_Base_Connection_Property *
+TAO_Base_Connection_Property::duplicate (void)
+{
+ // Get a copy of the underlying endpoint
+ TAO_Endpoint *endpt = this->endpoint_->duplicate ();
+
+ // Construct a copy of our class
+ TAO_Base_Connection_Property *prop = 0;
+ ACE_NEW_RETURN (prop,
+ TAO_Base_Connection_Property (endpt,
+ 1),
+ 0);
+ return prop;
+}