Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

TAO_NS_Consumer Class Reference

Astract Base class for wrapping consumer objects that connect to the EventChannel. More...

#include <Consumer.h>

Inheritance diagram for TAO_NS_Consumer:

Inheritance graph
[legend]
Collaboration diagram for TAO_NS_Consumer:

Collaboration graph
[legend]
List of all members.

Public Methods

 TAO_NS_Consumer (TAO_NS_ProxySupplier *proxy)
 Constuctor. More...

virtual ~TAO_NS_Consumer ()
 Destructor. More...

TAO_NS_ProxySupplierproxy_supplier (void)
 Access Specific Proxy. More...

virtual TAO_NS_Proxyproxy (void)
 Access Base Proxy. More...

void push (const TAO_NS_Event_var &event ACE_ENV_ARG_DECL)
 Push <event> to this consumer. More...

virtual void push (const CORBA::Any &event ACE_ENV_ARG_DECL)=0
 Push <event> to this consumer. More...

virtual void push (const CosNotification::StructuredEvent &event ACE_ENV_ARG_DECL)=0
 Push <event> to this consumer. More...

void dispatch_pending (ACE_ENV_SINGLE_ARG_DECL)
 Dispatch the pending events. More...

CORBA::Boolean is_suspended (void)
 Is the connection suspended? More...

void suspend (ACE_ENV_SINGLE_ARG_DECL)
 Suspend Connection. More...

void resume (ACE_ENV_SINGLE_ARG_DECL)
 Resume Connection. More...


Protected Methods

virtual void dispatch_updates_i (const CosNotification::EventTypeSeq &added, const CosNotification::EventTypeSeq &removed ACE_ENV_ARG_DECL)
 Implementation of Peer specific dispatch_updates. More...

virtual void push_i (const TAO_NS_Event_var &event ACE_ENV_ARG_DECL)=0
 Push Implementation. More...

TAO_SYNCH_MUTEXproxy_lock (void)
 Get the shared Proxy Lock. More...


Protected Attributes

TAO_NS_ProxySupplierproxy_
 The Proxy that we associate with. More...

TAO_NS_Event_Collectionevent_collection_
 Events pending to be delivered. More...

CORBA::Boolean is_suspended_
 Suspended Flag. More...

CosNotifyComm::NotifyPublish_var publish_
 Interface that accepts offer_changes. More...


Detailed Description

Astract Base class for wrapping consumer objects that connect to the EventChannel.


Constructor & Destructor Documentation

TAO_NS_Consumer::TAO_NS_Consumer TAO_NS_ProxySupplier   proxy
 

Constuctor.

TAO_NS_Consumer::~TAO_NS_Consumer   [virtual]
 

Destructor.


Member Function Documentation

void TAO_NS_Consumer::dispatch_pending ACE_ENV_SINGLE_ARG_DECL   
 

Dispatch the pending events.

void TAO_NS_Consumer::dispatch_updates_i const CosNotification::EventTypeSeq   added,
const CosNotification::EventTypeSeq &removed    ACE_ENV_ARG_DECL
[protected, virtual]
 

Implementation of Peer specific dispatch_updates.

Reimplemented from TAO_NS_Peer.

CORBA::Boolean TAO_NS_Consumer::is_suspended void   
 

Is the connection suspended?

TAO_NS_Proxy * TAO_NS_Consumer::proxy void    [virtual]
 

Access Base Proxy.

Reimplemented from TAO_NS_Peer.

TAO_SYNCH_MUTEX* TAO_NS_Consumer::proxy_lock void    [protected]
 

Get the shared Proxy Lock.

TAO_NS_ProxySupplier* TAO_NS_Consumer::proxy_supplier void   
 

Access Specific Proxy.

virtual void TAO_NS_Consumer::push const CosNotification::StructuredEvent &event    ACE_ENV_ARG_DECL [pure virtual]
 

Push <event> to this consumer.

virtual void TAO_NS_Consumer::push const CORBA::Any &event    ACE_ENV_ARG_DECL [pure virtual]
 

Push <event> to this consumer.

void TAO_NS_Consumer::push const TAO_NS_Event_var &event    ACE_ENV_ARG_DECL
 

Push <event> to this consumer.

virtual void TAO_NS_Consumer::push_i const TAO_NS_Event_var &event    ACE_ENV_ARG_DECL [protected, pure virtual]
 

Push Implementation.

void TAO_NS_Consumer::resume ACE_ENV_SINGLE_ARG_DECL   
 

Resume Connection.

void TAO_NS_Consumer::suspend ACE_ENV_SINGLE_ARG_DECL   
 

Suspend Connection.


Member Data Documentation

TAO_NS_Event_Collection* TAO_NS_Consumer::event_collection_ [protected]
 

Events pending to be delivered.

CORBA::Boolean TAO_NS_Consumer::is_suspended_ [protected]
 

Suspended Flag.

TAO_NS_ProxySupplier* TAO_NS_Consumer::proxy_ [protected]
 

The Proxy that we associate with.

CosNotifyComm::NotifyPublish_var TAO_NS_Consumer::publish_ [protected]
 

Interface that accepts offer_changes.


The documentation for this class was generated from the following files:
Generated on Wed Jan 15 23:41:11 2003 for TAO_CosNotification by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001