Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

gov::cca::ConnectionEventService Class Reference

UNADOPTED standard ConnectionEvent Service Interface. More...

#include <ConnectionEventService.h>

Inheritance diagram for gov::cca::ConnectionEventService:

Inheritance graph
[legend]
Collaboration diagram for gov::cca::ConnectionEventService:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual ~ConnectionEventService ()
 obligatory vdtor. More...

virtual void addConnectEventListener (ConnectionEventListener *l)=0
 Register l as interested in post-notification of connections. More...

virtual void addDisconnectEventListener (ConnectionEventListener *l)=0
 Register l as interested in pre-notification of disconnections. More...

virtual void removeConnectEventListener (ConnectionEventListener *l)=0
 Remove l as interested in post-notification of connections. More...

virtual void removeDisconnectEventListener (ConnectionEventListener *l)=0
 Remove l as interested in pre-notification of disconnections. More...


Detailed Description

UNADOPTED standard ConnectionEvent Service Interface.

Should be able to get and use one of these from the Services implementation during a setServices call.

The CCAT Event Bus model could conceivably be used to implement this, but this interface and its subsidiaries place much smaller burden on the framework writer. Further, with an asynchronous bus delivery mechanism it may be harder to guarantee the event order condition on the DisconnectingConnectionEvent.

From the CCAT event page: A publisher can send events directly to listeners without an intervening event channel. The ports can simply be connected together. This is an instance of a 1-to-n uses-to-provides connection, which is permitted by the CCA specification. Connecting multiple providers is also possible. The CCA specification allows general m-to-n connections between m uses ports and n provides ports.

We note that while possibly allowing it, the specification does not require or (presently, 8/2000) provide a standard way to allow MxN Port connections.


Constructor & Destructor Documentation

virtual gov::cca::ConnectionEventService::~ConnectionEventService   [inline, virtual]
 

obligatory vdtor.

00033 {}


Member Function Documentation

virtual void gov::cca::ConnectionEventService::addConnectEventListener ConnectionEventListener   l [pure virtual]
 

Register l as interested in post-notification of connections.

virtual void gov::cca::ConnectionEventService::addDisconnectEventListener ConnectionEventListener   l [pure virtual]
 

Register l as interested in pre-notification of disconnections.

See also:
www.extreme.indiana.edu/ccat/event_service.html

virtual void gov::cca::ConnectionEventService::removeConnectEventListener ConnectionEventListener   l [pure virtual]
 

Remove l as interested in post-notification of connections.

virtual void gov::cca::ConnectionEventService::removeDisconnectEventListener ConnectionEventListener   l [pure virtual]
 

Remove l as interested in pre-notification of disconnections.


The documentation for this class was generated from the following file:
Generated on Tue Aug 20 14:30:31 2002 for CCA Specification/Proposals by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002