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)
 Constructor.
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  ) 

Constructor.

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 CORBA::is_nil(), and subscribe_.

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

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.

References proxy_.

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 56 of file Supplier.h.

Referenced by proxy_consumer().

CosNotifyComm::NotifySubscribe_var TAO_Notify_Supplier::subscribe_ [protected]

Interface that accepts subscription_changes.

Definition at line 59 of file Supplier.h.

Referenced by dispatch_updates_i(), TAO_Notify_StructuredPushSupplier::init(), TAO_Notify_SequencePushSupplier::init(), and TAO_Notify_PushSupplier::init().


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:46:33 2010 for TAO_CosNotification by  doxygen 1.4.7