TAO_RTEvent 4.0.0
Loading...
Searching...
No Matches
Classes | List of all members
RtecEventChannelAdmin::EventChannel Class Reference

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

import <RtecEventChannelAdmin.idl;

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

Unused exceptions
Todo
The following exceptions are not declared in any raises() clause, therefore they cannot be raised! They should be removed or added to the right places.
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

◆ append_observer()

Observer_Handle RtecEventChannelAdmin::EventChannel::append_observer ( in Observer gw)
raises (SYNCHRONIZATION_ERROR,
CANT_APPEND_OBSERVER )

Add an observer to the event channel.

Return the handle used in the remove_observer() call.

◆ destroy()

void RtecEventChannelAdmin::EventChannel::destroy ( )

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.

◆ for_consumers()

ConsumerAdmin RtecEventChannelAdmin::EventChannel::for_consumers ( )

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

◆ for_suppliers()

SupplierAdmin RtecEventChannelAdmin::EventChannel::for_suppliers ( )

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

◆ remove_observer()

void RtecEventChannelAdmin::EventChannel::remove_observer ( in Observer_Handle gw)
raises (SYNCHRONIZATION_ERROR,
CANT_REMOVE_OBSERVER )

Remove the observer.


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