classic_gov_cca_ConnectionEventService(3)

classic::gov::cca::ConnectionEventService(3) 'Classic' CCA c++ binding (ccaffeine-only) classic::gov::cca::ConnectionEventService(3)

NAME

classic::gov::cca::ConnectionEventService -

UNADOPTED standard ConnectionEvent Service Interface.

SYNOPSIS

#include <ConnectionEventService.h>

Inherits classic::gov::cca::Port.

Public Member Functions


virtual ~ConnectionEventService ()
obligatory vdtor virtual void addConnectEventListener (ConnectionEventListener *l) CLASSIC_CCA_PURE
Register l as interested in post-notification of connections. virtual void addDisconnectEventListener (ConnectionEventListener *l) CLASSIC_CCA_PURE
Register l as interested in pre-notification of disconnections. virtual void removeConnectEventListener (ConnectionEventListener *l) CLASSIC_CCA_PURE
Remove l as interested in post-notification of connections. virtual void removeDisconnectEventListener (ConnectionEventListener *l) CLASSIC_CCA_PURE
Remove l as interested in pre-notification of disconnections.

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 classic::gov::cca::ConnectionEventService::~ConnectionEventService () [inline, virtual]

obligatory vdtor

{}

Member Function Documentation

virtual void classic::gov::cca::ConnectionEventService::addConnectEventListener (ConnectionEventListener *l) [virtual]

Register l as interested in post-notification of connections.

virtual void classic::gov::cca::ConnectionEventService::addDisconnectEventListener (ConnectionEventListener *l) [virtual]

Register l as interested in pre-notification of disconnections. See also:

www.extreme.indiana.edu/ccat/event_service.html

virtual void classic::gov::cca::ConnectionEventService::removeConnectEventListener (ConnectionEventListener *l) [virtual]

Remove l as interested in post-notification of connections.

virtual void classic::gov::cca::ConnectionEventService::removeDisconnectEventListener (ConnectionEventListener *l) [virtual]

Remove l as interested in pre-notification of disconnections.

Author

Generated automatically by Doxygen for 'Classic' CCA c++ binding (ccaffeine-only) from the source code.

Tue Nov 12 2013 Version 0.5.7