TAO_Notify_Supplier Class Reference

Base Wrappers for Suppliers that connect to the EventChannel. More...

#include <Supplier.h>

Inheritance diagram for TAO_Notify_Supplier:

Inheritance graph
[legend]
Collaboration diagram for TAO_Notify_Supplier:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TAO_Notify_Supplier (TAO_Notify_ProxyConsumer *proxy)
 Constuctor.

virtual ~TAO_Notify_Supplier ()
 Destructor.

TAO_Notify_ProxyConsumerproxy_consumer (void)
 Access Specific Proxy.

virtual TAO_Notify_Proxyproxy (void)
 Access Base Proxy.


Protected Member Functions

virtual void dispatch_updates_i (const CosNotification::EventTypeSeq &added, const CosNotification::EventTypeSeq &removed)
 Dispatch updates implementation.


Protected Attributes

TAO_Notify_ProxyConsumerproxy_
 The proxy that we associate with.

CosNotifyComm::NotifySubscribe_var subscribe_
 Interface that accepts subscription_changes.


Detailed Description

Base Wrappers for Suppliers that connect to the EventChannel.

Definition at line 35 of file Supplier.h.


Constructor & Destructor Documentation

TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_Notify_Supplier::TAO_Notify_Supplier TAO_Notify_ProxyConsumer proxy  ) 
 

Constuctor.

Definition at line 16 of file Supplier.cpp.

00017   : proxy_ (proxy)
00018 {
00019 }

TAO_Notify_Supplier::~TAO_Notify_Supplier  )  [virtual]
 

Destructor.

Definition at line 21 of file Supplier.cpp.

00022 {
00023 }


Member Function Documentation

void TAO_Notify_Supplier::dispatch_updates_i const CosNotification::EventTypeSeq added,
const CosNotification::EventTypeSeq removed
[protected, virtual]
 

Dispatch updates implementation.

Implements TAO_Notify_Peer.

Definition at line 32 of file Supplier.cpp.

References ACE_ENV_ARG_PARAMETER, CosNotification::EventTypeSeq, CORBA::is_nil(), and subscribe_.

00036 {
00037   if (!CORBA::is_nil (this->subscribe_.in ()))
00038     this->subscribe_->subscription_change (added, removed ACE_ENV_ARG_PARAMETER);
00039 }

TAO_Notify_Proxy * TAO_Notify_Supplier::proxy void   )  [virtual]
 

Access Base Proxy.

Implements TAO_Notify_Peer.

Definition at line 26 of file Supplier.cpp.

References proxy_consumer().

00027 {
00028   return this->proxy_consumer ();
00029 }

TAO_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE TAO_Notify_ProxyConsumer * TAO_Notify_Supplier::proxy_consumer void   ) 
 

Access Specific Proxy.

Definition at line 8 of file Supplier.inl.

Referenced by proxy().

00009 {
00010   return this->proxy_;
00011 }


Member Data Documentation

TAO_Notify_ProxyConsumer* TAO_Notify_Supplier::proxy_ [protected]
 

The proxy that we associate with.

Definition at line 57 of file Supplier.h.

CosNotifyComm::NotifySubscribe_var TAO_Notify_Supplier::subscribe_ [protected]
 

Interface that accepts subscription_changes.

Definition at line 60 of file Supplier.h.

Referenced by dispatch_updates_i().


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 13:33:31 2006 for TAO_CosNotification by doxygen 1.3.6