TAO_RTEvent
2.0.8
|
Event Channel Gateway. More...
#include <EC_Gateway.h>
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_ |
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.
TAO_EC_Gateway::TAO_EC_Gateway | ( | void | ) |
Default constructor.
TAO_EC_Gateway::~TAO_EC_Gateway | ( | void | ) | [virtual] |
Destructor.
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.
void TAO_EC_Gateway::observer_handle | ( | RtecEventChannelAdmin::Observer_Handle | h | ) |
Obtain and modify the observer handle.
RtecEventChannelAdmin::Observer_Handle TAO_EC_Gateway::observer_handle | ( | void | ) | const |