diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-27 20:54:56 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-27 20:54:56 +0000 |
commit | b897ed99dafb3ad69009693593de52c269f11ff7 (patch) | |
tree | 030efd5e63c2010505194526b2c136aa0e0649e3 /TAO/orbsvcs/orbsvcs/PortableGroup/UIPMC_Acceptor.inl | |
parent | 1289f5d315ccc6bd9f12f389084e990fd8200ccd (diff) | |
download | ATCD-b897ed99dafb3ad69009693593de52c269f11ff7.tar.gz |
Thu Jul 27 20:50:17 UTC 2006 William R. Otte <wotte@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/PortableGroup/UIPMC_Acceptor.inl')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/PortableGroup/UIPMC_Acceptor.inl | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/TAO/orbsvcs/orbsvcs/PortableGroup/UIPMC_Acceptor.inl b/TAO/orbsvcs/orbsvcs/PortableGroup/UIPMC_Acceptor.inl new file mode 100644 index 00000000000..ec296d0f9b6 --- /dev/null +++ b/TAO/orbsvcs/orbsvcs/PortableGroup/UIPMC_Acceptor.inl @@ -0,0 +1,29 @@ +// -*- C++ -*- +// +// $Id$ + + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +ACE_INLINE const ACE_INET_Addr& +TAO_UIPMC_Acceptor::address (void) const +{ + ACE_ASSERT (this->addrs_ != 0); + + // @@ This is busted. + // The Implementation Repository will have to start supporting + // IORs with multiple profiles. For now, we just return the + // first addr. + // -Ossama + return this->addrs_[0]; +} + +ACE_INLINE const ACE_INET_Addr * +TAO_UIPMC_Acceptor::endpoints (void) +{ + ACE_ASSERT (this->addrs_ != 0); + + return this->addrs_; +} + +TAO_END_VERSIONED_NAMESPACE_DECL |