RSB  0.7.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
rsb::eventprocessing::EventSendingStrategy Class Reference

Implementations of this interface organize the sending of events via rsb::transport::OutConnector s. More...

#include <EventSendingStrategy.h>

Inheritance diagram for rsb::eventprocessing::EventSendingStrategy:
Inheritance graph
Collaboration diagram for rsb::eventprocessing::EventSendingStrategy:
Collaboration graph

Public Member Functions

virtual ~EventSendingStrategy ()
virtual void addConnector (transport::OutConnectorPtr connector)=0
 Add connector to the list of connectors to which this strategy should deliver events.
virtual void removeConnector (transport::OutConnectorPtr connector)=0
 Remove connector from the list of connectors to which this strategy should deliver events.
virtual void process (EventPtr event)=0
 Deliver event to all rsb::transport::OutConnector objects associated to this strategy.

Detailed Description

Implementations of this interface organize the sending of events via rsb::transport::OutConnector s.

Author
swrede
jmoringe

Definition at line 54 of file EventSendingStrategy.h.

Constructor & Destructor Documentation

rsb::eventprocessing::EventSendingStrategy::~EventSendingStrategy ( )
virtual

Definition at line 32 of file EventSendingStrategy.cpp.

Member Function Documentation

virtual void rsb::eventprocessing::EventSendingStrategy::addConnector ( transport::OutConnectorPtr  connector)
pure virtual

Add connector to the list of connectors to which this strategy should deliver events.

Parameters
connectorThe new rsb::transport::OutConnector .

Implemented in rsb::eventprocessing::DirectEventSendingStrategy.

virtual void rsb::eventprocessing::EventSendingStrategy::process ( EventPtr  event)
pure virtual

Deliver event to all rsb::transport::OutConnector objects associated to this strategy.

Parameters
eventAn rsb::Event that should be delivered to the connectors.

Implemented in rsb::eventprocessing::DirectEventSendingStrategy.

virtual void rsb::eventprocessing::EventSendingStrategy::removeConnector ( transport::OutConnectorPtr  connector)
pure virtual

Remove connector from the list of connectors to which this strategy should deliver events.

Parameters
connectorThe rsb::transport::OutConnector that should be removed.

Implemented in rsb::eventprocessing::DirectEventSendingStrategy.


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