summaryrefslogtreecommitdiff
path: root/trunk/TAO/tao/Strategies/SCIOP_Acceptor.inl
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/TAO/tao/Strategies/SCIOP_Acceptor.inl')
-rw-r--r--trunk/TAO/tao/Strategies/SCIOP_Acceptor.inl28
1 files changed, 28 insertions, 0 deletions
diff --git a/trunk/TAO/tao/Strategies/SCIOP_Acceptor.inl b/trunk/TAO/tao/Strategies/SCIOP_Acceptor.inl
new file mode 100644
index 00000000000..a5f51de6042
--- /dev/null
+++ b/trunk/TAO/tao/Strategies/SCIOP_Acceptor.inl
@@ -0,0 +1,28 @@
+// -*- C++ -*-
+//
+// $Id$
+
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
+ACE_INLINE const ACE_INET_Addr&
+TAO_SCIOP_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_SCIOP_Acceptor::endpoints (void)
+{
+ ACE_ASSERT (this->addrs_ != 0);
+
+ return this->addrs_;
+}
+
+TAO_END_VERSIONED_NAMESPACE_DECL