TAO_RTEvent  2.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Public Member Functions
RtecEventChannelAdmin::EventChannel Class Reference

The main interface for the event service. More...

import "RtecEventChannelAdmin.idl";

List of all members.

Classes

exception  CANT_APPEND_OBSERVER
 Exception raised if the Event Channel is unable to add an observer due to some internal limitation. More...
exception  CANT_REMOVE_OBSERVER
 Exception raised if the Event Channel is unable to remove an observer due to some internal limitation or because the observer cannot be found. More...
exception  CORRELATION_ERROR
exception  DISPATCH_ERROR
 Exception raised if the event cannot be dispatched. More...
exception  QOS_ERROR
exception  SUBSCRIPTION_ERROR
 Exception raised if the subscriptions are invalid. More...
exception  SYNCHRONIZATION_ERROR
 Exception raised if the Event Channel cannot acquire its internal locks. More...

Public Member Functions

ConsumerAdmin for_consumers ()
SupplierAdmin for_suppliers ()
void destroy ()
 Shuts down the Event Channel.
Observer_Handle append_observer (in Observer gw) raises (SYNCHRONIZATION_ERROR,CANT_APPEND_OBSERVER)
 Add an observer to the event channel.
void remove_observer (in Observer_Handle gw) raises (SYNCHRONIZATION_ERROR,CANT_REMOVE_OBSERVER)
 Remove the observer.

Detailed Description

The main interface for the event service.

This class provides the main entry point for the Event Service. The class follows a protocol similar to the COS Events Service as described in the CORBAservices spec.


Member Function Documentation

Add an observer to the event channel.

Return the handle used in the remove_observer() call.

Shuts down the Event Channel.

Calling this methods destroys the event service, all its resource and results in a call to disconnect_push_XXX() on all connected clients.

Consumers call this method to gain access to the ProxyPushSupplier factory.

Suppliers call this method to gain access to the ProxyPushConsumer factory.

Remove the observer.


The documentation for this class was generated from the following file: