#include <EC_Gateway.h>
Inheritance diagram for TAO_EC_Gateway:
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_ |
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.
TAO_EC_Gateway::TAO_EC_Gateway | ( | void | ) |
Default constructor.
TAO_EC_Gateway::~TAO_EC_Gateway | ( | void | ) | [virtual] |
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 }