summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Notify/ProxyConsumer.inl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Notify/ProxyConsumer.inl')
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/ProxyConsumer.inl26
1 files changed, 26 insertions, 0 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Notify/ProxyConsumer.inl b/TAO/orbsvcs/orbsvcs/Notify/ProxyConsumer.inl
new file mode 100644
index 00000000000..b2b0c8bb5c8
--- /dev/null
+++ b/TAO/orbsvcs/orbsvcs/Notify/ProxyConsumer.inl
@@ -0,0 +1,26 @@
+// -*- C++ -*-
+//
+// $Id$
+
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
+ACE_INLINE bool
+TAO_Notify_ProxyConsumer::is_connected (void) const
+{
+ return (this->supplier_.get() != 0);
+}
+
+ACE_INLINE TAO_Notify_Supplier*
+TAO_Notify_ProxyConsumer::supplier (void)
+{
+ return this->supplier_.get();
+}
+
+ACE_INLINE TAO_Notify_SupplierAdmin&
+TAO_Notify_ProxyConsumer::supplier_admin (void)
+{
+ ACE_ASSERT( this->supplier_admin_.get() != 0 );
+ return *this->supplier_admin_;
+}
+
+TAO_END_VERSIONED_NAMESPACE_DECL