diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
commit | 6b846cf03c0bcbd8c276cb0af61a181e5f98eaae (patch) | |
tree | da50d054f9c761c3f6a5923f6979e93306c56d68 /TAO/tao/Base_Transport_Property.cpp | |
parent | 0e555b9150d38e3b3473ba325b56db2642e6352b (diff) | |
download | ATCD-6b846cf03c0bcbd8c276cb0af61a181e5f98eaae.tar.gz |
Repo restructuring
Diffstat (limited to 'TAO/tao/Base_Transport_Property.cpp')
-rw-r--r-- | TAO/tao/Base_Transport_Property.cpp | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/TAO/tao/Base_Transport_Property.cpp b/TAO/tao/Base_Transport_Property.cpp deleted file mode 100644 index 121aea34b89..00000000000 --- a/TAO/tao/Base_Transport_Property.cpp +++ /dev/null @@ -1,58 +0,0 @@ -//$Id$ - -#include "tao/Base_Transport_Property.h" -#include "ace/OS_Memory.h" - -#if !defined (__ACE_INLINE__) -# include "tao/Base_Transport_Property.inl" -#endif /* __ACE_INLINE__ */ - -ACE_RCSID (tao, - Base_Transport_Property, - "$Id$") - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -TAO_Base_Transport_Property::~TAO_Base_Transport_Property (void) -{ -} - -TAO_Transport_Descriptor_Interface * -TAO_Base_Transport_Property::duplicate (void) -{ - // Get a copy of the underlying endpoint - TAO_Endpoint *endpt = this->endpoint_->duplicate (); - if (endpt == 0) - return 0; - - // Construct a copy of our class - TAO_Base_Transport_Property *prop = 0; - ACE_NEW_RETURN (prop, - TAO_Base_Transport_Property (endpt, - 1), - 0); - return prop; -} - - -CORBA::Boolean -TAO_Base_Transport_Property::is_equivalent ( - const TAO_Transport_Descriptor_Interface *rhs) -{ - const TAO_Base_Transport_Property *other_desc = - dynamic_cast<const TAO_Base_Transport_Property *> (rhs); - - if (other_desc == 0) - return 0; - - return this->endpoint_->is_equivalent (other_desc->endpoint_); -} - - -u_long -TAO_Base_Transport_Property::hash (void) const -{ - return this->endpoint_->hash (); -} - -TAO_END_VERSIONED_NAMESPACE_DECL |