blob: 8519794c295d483b036790344bef6a3162304d3e (
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
43
|
// -*- C++ -*-
//
// $Id$
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
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);
}
TAO_END_VERSIONED_NAMESPACE_DECL
|