blob: 3c22bfb9af426575204ffd1b16e57153f7ebd397 (
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
33
34
35
36
37
38
39
40
41
42
|
// -*- C++ -*-
//
// $Id$
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_INLINE CORBA::Boolean
TAO_CEC_ProxyPullConsumer::is_connected_i (void) const
{
return !CORBA::is_nil (this->supplier_.in ());
}
ACE_INLINE CORBA::Boolean
TAO_CEC_ProxyPullConsumer::is_connected (void) const
{
ACE_GUARD_RETURN (ACE_Lock, ace_mon, *this->lock_, 0);
return this->is_connected_i ();
}
ACE_INLINE CosEventComm::PullSupplier_ptr
TAO_CEC_ProxyPullConsumer::supplier (void) const
{
ACE_GUARD_RETURN (ACE_Lock, ace_mon, *this->lock_, 0);
return CosEventComm::PullSupplier::_duplicate (this->supplier_.in ());
}
ACE_INLINE void
TAO_CEC_ProxyPullConsumer::supplier_i (CosEventComm::PullSupplier_ptr supplier)
{
this->supplier_ = supplier;
}
ACE_INLINE void
TAO_CEC_ProxyPullConsumer::supplier (CosEventComm::PullSupplier_ptr supplier)
{
ACE_GUARD (ACE_Lock, ace_mon, *this->lock_);
this->supplier_i (supplier);
}
TAO_END_VERSIONED_NAMESPACE_DECL
|