NEOCCA bindings Specification  0.2.8
Public Member Functions | List of all members
neo::cca::ports::ConnectionEventListener Class Referenceabstract

A component wishing to be notified of connections on itself can inherit and implement this interface or delegate its implementation as desired. More...

#include <ConnectionEventListener.hh>

Public Member Functions

virtual ~ConnectionEventListener ()
 obligatory vdtor More...
 
virtual void connectionActivity (ConnectionEvent_shared evt)=0
 Connection event hook a component may supply. More...
 

Detailed Description

A component wishing to be notified of connections on itself can inherit and implement this interface or delegate its implementation as desired.

Because of this, it is strictly an interface with a well defined lifecycle in ConnectionEventService and not wrapped in a shared_ptr.

Constructor & Destructor Documentation

◆ ~ConnectionEventListener()

virtual neo::cca::ports::ConnectionEventListener::~ConnectionEventListener ( )
inlinevirtual

obligatory vdtor

20 {}

Member Function Documentation

◆ connectionActivity()

virtual void neo::cca::ports::ConnectionEventListener::connectionActivity ( ConnectionEvent_shared  evt)
pure virtual

Connection event hook a component may supply.

Any action by the component on its Services is allowed during the connection activity, including getting, using, releasing, and unregistering a uses port.


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