TAO_EC_Gateway Class Reference

Event Channel Gateway. More...

#include <EC_Gateway.h>

Inheritance diagram for TAO_EC_Gateway:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 TAO_EC_Gateway (void)
 Default constructor.
virtual ~TAO_EC_Gateway (void)
 Destructor.
virtual void close (void)=0
void observer_handle (RtecEventChannelAdmin::Observer_Handle h)
 Obtain and modify the observer handle.
RtecEventChannelAdmin::Observer_Handle observer_handle (void) const

Private Attributes

RtecEventChannelAdmin::Observer_Handle handle_

Detailed Description

Event Channel Gateway.

There are several ways to connect several EC together, for instance: + A single class can use normal IIOP and connect to one EC as a supplier and to another EC as a consumer. + A class connects as a consumer and transmit the events using multicast, another class receives the multicast messages and transform them back into a push() call. This is an abstract class to represent all the different strategies for EC distribution.

Definition at line 45 of file EC_Gateway.h.


Constructor & Destructor Documentation

TAO_EC_Gateway::TAO_EC_Gateway ( void   ) 

Default constructor.

TAO_EC_Gateway::~TAO_EC_Gateway ( void   )  [virtual]

Destructor.

Definition at line 16 of file EC_Gateway.cpp.

00017 {
00018 }


Member Function Documentation

virtual void TAO_EC_Gateway::close ( void   )  [pure virtual]

The gateway must disconnect from all the relevant event channels, or any other communication media (such as multicast groups).

Implemented in TAO_EC_Gateway_IIOP.

RtecEventChannelAdmin::Observer_Handle TAO_EC_Gateway::observer_handle ( void   )  const

Definition at line 27 of file EC_Gateway.cpp.

References handle_.

00028 {
00029   return this->handle_;
00030 }

void TAO_EC_Gateway::observer_handle ( RtecEventChannelAdmin::Observer_Handle  h  ) 

Obtain and modify the observer handle.

Definition at line 21 of file EC_Gateway.cpp.

References handle_.

00022 {
00023   this->handle_ = h;
00024 }


Member Data Documentation

RtecEventChannelAdmin::Observer_Handle TAO_EC_Gateway::handle_ [private]

Definition at line 64 of file EC_Gateway.h.

Referenced by observer_handle().


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:44:29 2010 for TAO_RTEvent by  doxygen 1.4.7