00001 // -*- C++ -*- 00002 // 00003 // ProxyConsumer.inl,v 1.7 2005/11/14 22:03:49 ossama Exp 00004 00005 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00006 00007 ACE_INLINE bool 00008 TAO_Notify_ProxyConsumer::is_connected (void) const 00009 { 00010 return (this->supplier_.get() != 0); 00011 } 00012 00013 ACE_INLINE TAO_Notify_Supplier* 00014 TAO_Notify_ProxyConsumer::supplier (void) 00015 { 00016 return this->supplier_.get(); 00017 } 00018 00019 ACE_INLINE TAO_Notify_SupplierAdmin& 00020 TAO_Notify_ProxyConsumer::supplier_admin (void) 00021 { 00022 ACE_ASSERT( this->supplier_admin_.get() != 0 ); 00023 return *this->supplier_admin_; 00024 } 00025 00026 TAO_END_VERSIONED_NAMESPACE_DECL