cec_proxypullsupplier.i
来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· I 代码 · 共 38 行
I
38 行
// CEC_ProxyPullSupplier.i,v 1.2 2000/04/26 21:15:45 coryan Exp
ACE_INLINE CORBA::Boolean
TAO_CEC_ProxyPullSupplier::is_connected_i (void) const
{
return this->connected_;
}
ACE_INLINE CORBA::Boolean
TAO_CEC_ProxyPullSupplier::is_connected (void) const
{
ACE_GUARD_RETURN (ACE_Lock, ace_mon, *this->lock_, 0);
return this->is_connected_i ();
}
ACE_INLINE CosEventComm::PullConsumer_ptr
TAO_CEC_ProxyPullSupplier::consumer (void) const
{
ACE_GUARD_RETURN (ACE_Lock, ace_mon, *this->lock_, 0);
return this->consumer_.in ();
}
ACE_INLINE void
TAO_CEC_ProxyPullSupplier::consumer_i (CosEventComm::PullConsumer_ptr consumer)
{
this->consumer_ = consumer;
}
ACE_INLINE void
TAO_CEC_ProxyPullSupplier::consumer (CosEventComm::PullConsumer_ptr consumer)
{
ACE_GUARD (ACE_Lock, ace_mon, *this->lock_);
this->consumer_i (consumer);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?