blob: 0ca9186a78daf86ecccc7fc72a7bd3e1b4bac03f (
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
27
28
29
30
31
32
|
// $Id$
ACE_INLINE CORBA::Boolean
TAO_EC_ProxyPushConsumer::is_connected_i (void) const
{
return !CORBA::is_nil (this->supplier_.in ());
}
ACE_INLINE CORBA::Boolean
TAO_EC_ProxyPushConsumer::is_connected (void) const
{
ACE_GUARD_RETURN (ACE_Lock, ace_mon, *this->lock_, 0);
return this->is_connected_i ();
}
ACE_INLINE RtecEventComm::PushSupplier_ptr
TAO_EC_ProxyPushConsumer::supplier (void) const
{
ACE_GUARD_RETURN (ACE_Lock, ace_mon, *this->lock_, 0);
return RtecEventComm::PushSupplier::_duplicate (this->supplier_.in ());
}
ACE_INLINE const RtecEventChannelAdmin::SupplierQOS&
TAO_EC_ProxyPushConsumer::publications (void) const
{
// @@ TODO There should be a better way to signal errors here.
static RtecEventChannelAdmin::SupplierQOS empty_qos;
ACE_GUARD_RETURN (ACE_Lock, ace_mon, *this->lock_, empty_qos);
return this->qos_;
}
|