diff options
Diffstat (limited to 'trunk/TAO/orbsvcs/orbsvcs/Notify/ProxySupplier.inl')
-rw-r--r-- | trunk/TAO/orbsvcs/orbsvcs/Notify/ProxySupplier.inl | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/trunk/TAO/orbsvcs/orbsvcs/Notify/ProxySupplier.inl b/trunk/TAO/orbsvcs/orbsvcs/Notify/ProxySupplier.inl new file mode 100644 index 00000000000..c7afa257d59 --- /dev/null +++ b/trunk/TAO/orbsvcs/orbsvcs/Notify/ProxySupplier.inl @@ -0,0 +1,26 @@ +// -*- C++ -*- +// +// $Id$ + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +ACE_INLINE bool +TAO_Notify_ProxySupplier::is_connected (void) const +{ + return ( this->consumer_.get() != 0 ); +} + +ACE_INLINE TAO_Notify_Consumer* +TAO_Notify_ProxySupplier::consumer (void) +{ + return this->consumer_.get(); +} + +ACE_INLINE TAO_Notify_ConsumerAdmin& +TAO_Notify_ProxySupplier::consumer_admin (void) +{ + ACE_ASSERT( this->consumer_admin_.get() != 0 ); + return *this->consumer_admin_; +} + +TAO_END_VERSIONED_NAMESPACE_DECL |