IIOP_Acceptor.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // $Id: IIOP_Acceptor.inl 73791 2006-07-27 20:54:56Z wotte $
00004 
00005 #if defined (TAO_HAS_IIOP) && (TAO_HAS_IIOP != 0)
00006 
00007 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00008 
00009 ACE_INLINE const ACE_INET_Addr&
00010 TAO_IIOP_Acceptor::address (void) const
00011 {
00012   ACE_ASSERT (this->addrs_ != 0);
00013 
00014   // @@ This is busted.
00015   //    The Implementation Repository will have to start supporting
00016   //    IORs with multiple profiles.  For now, we just return the
00017   //    first addr.
00018   //                    -Ossama
00019   return this->addrs_[0];
00020 }
00021 
00022 ACE_INLINE const ACE_INET_Addr *
00023 TAO_IIOP_Acceptor::endpoints (void)
00024 {
00025   ACE_ASSERT (this->addrs_ != 0);
00026 
00027   return this->addrs_;
00028 }
00029 
00030 ACE_INLINE const ACE_INET_Addr&
00031 TAO_IIOP_Acceptor::default_address (void) const
00032 {
00033   return this->default_address_;
00034 }
00035 
00036 ACE_INLINE void
00037 TAO_IIOP_Acceptor::set_default_address (const ACE_INET_Addr& addr)
00038 {
00039   this->default_address_.set (addr);
00040 }
00041 
00042 TAO_END_VERSIONED_NAMESPACE_DECL
00043 
00044 #endif /* TAO_HAS_IIOP && TAO_HAS_IIOP != 0 */
00045 

Generated on Tue Feb 2 17:37:52 2010 for TAO by  doxygen 1.4.7