blob: d760d336730ea3702a2269f079ff8c9e873945e7 (
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
|
// $Id$
#include "orbsvcs/Notify/Supplier.h"
#if ! defined (__ACE_INLINE__)
#include "orbsvcs/Notify/Supplier.inl"
#endif /* __ACE_INLINE__ */
ACE_RCSID(Notify, TAO_Notify_Supplier, "$Id$")
#include "orbsvcs/Notify/ProxyConsumer.h"
#include "orbsvcs/Notify/Proxy.h"
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
TAO_Notify_Supplier::TAO_Notify_Supplier (TAO_Notify_ProxyConsumer* proxy)
: proxy_ (proxy)
{
}
TAO_Notify_Supplier::~TAO_Notify_Supplier ()
{
}
TAO_Notify_Proxy*
TAO_Notify_Supplier::proxy (void)
{
return this->proxy_consumer ();
}
void
TAO_Notify_Supplier::dispatch_updates_i (
const CosNotification::EventTypeSeq& added,
const CosNotification::EventTypeSeq& removed)
{
if (!CORBA::is_nil (this->subscribe_.in ()))
this->subscribe_->subscription_change (added, removed);
}
TAO_END_VERSIONED_NAMESPACE_DECL
|