CEC_ProxyPullConsumer.i

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // CEC_ProxyPullConsumer.i,v 1.2 2005/11/10 06:47:23 ossama Exp
00004 
00005 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00006 
00007 ACE_INLINE CORBA::Boolean
00008 TAO_CEC_ProxyPullConsumer::is_connected_i (void) const
00009 {
00010   return !CORBA::is_nil (this->supplier_.in ());
00011 }
00012 
00013 ACE_INLINE CORBA::Boolean
00014 TAO_CEC_ProxyPullConsumer::is_connected (void) const
00015 {
00016   ACE_GUARD_RETURN (ACE_Lock, ace_mon, *this->lock_, 0);
00017 
00018   return this->is_connected_i ();
00019 }
00020 
00021 ACE_INLINE CosEventComm::PullSupplier_ptr
00022 TAO_CEC_ProxyPullConsumer::supplier (void) const
00023 {
00024   ACE_GUARD_RETURN (ACE_Lock, ace_mon, *this->lock_, 0);
00025   return CosEventComm::PullSupplier::_duplicate (this->supplier_.in ());
00026 }
00027 
00028 ACE_INLINE void
00029 TAO_CEC_ProxyPullConsumer::supplier_i (CosEventComm::PullSupplier_ptr supplier)
00030 {
00031   this->supplier_ = supplier;
00032 }
00033 
00034 ACE_INLINE void
00035 TAO_CEC_ProxyPullConsumer::supplier (CosEventComm::PullSupplier_ptr supplier)
00036 {
00037   ACE_GUARD (ACE_Lock, ace_mon, *this->lock_);
00038 
00039   this->supplier_i (supplier);
00040 }
00041 
00042 TAO_END_VERSIONED_NAMESPACE_DECL

Generated on Thu Nov 9 13:18:17 2006 for TAO_CosEvent by doxygen 1.3.6