summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Notify/ProxySupplier.inl
blob: c7afa257d59a1ca366c5d7155a19f2f65883c91f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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