diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Event/EC_ProxyConsumer.i')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Event/EC_ProxyConsumer.i | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_ProxyConsumer.i b/TAO/orbsvcs/orbsvcs/Event/EC_ProxyConsumer.i index e5abd1f309f..c692963193e 100644 --- a/TAO/orbsvcs/orbsvcs/Event/EC_ProxyConsumer.i +++ b/TAO/orbsvcs/orbsvcs/Event/EC_ProxyConsumer.i @@ -1,37 +1,19 @@ // $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 (); + return !CORBA::is_nil (this->supplier_.in ()); } 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 some way to signal errors here. - ACE_GUARD_RETURN (ACE_Lock, ace_mon, *this->lock_, this->qos_); - - return this->qos_; -} - -ACE_INLINE const RtecEventChannelAdmin::SupplierQOS& -TAO_EC_ProxyPushConsumer::publications_i (void) const -{ return this->qos_; } |