RSB
0.7.0
|
This event sending strategy just passes incoming events to its associated rsb::transport::OutConnector s without modification, queueing or anything else. More...
#include <DirectEventSendingStrategy.h>
Public Member Functions | |
void | printContents (std::ostream &stream) const |
void | addConnector (transport::OutConnectorPtr connector) |
Add connector to the list of connectors to which this strategy should deliver events. | |
void | removeConnector (transport::OutConnectorPtr connector) |
Remove connector from the list of connectors to which this strategy should deliver events. | |
void | process (EventPtr e) |
Deliver event to all rsb::transport::OutConnector objects associated to this strategy. | |
Public Member Functions inherited from rsb::eventprocessing::EventSendingStrategy | |
virtual | ~EventSendingStrategy () |
Static Public Member Functions | |
static EventSendingStrategy * | create (const rsc::runtime::Properties &props) |
Private Types | |
typedef std::list < transport::OutConnectorPtr > | ConnectorList |
Private Attributes | |
ConnectorList | connectors |
This event sending strategy just passes incoming events to its associated rsb::transport::OutConnector s without modification, queueing or anything else.
Definition at line 45 of file DirectEventSendingStrategy.h.
|
private |
Definition at line 56 of file DirectEventSendingStrategy.h.
|
virtual |
Add connector to the list of connectors to which this strategy should deliver events.
connector | The new rsb::transport::OutConnector . |
Implements rsb::eventprocessing::EventSendingStrategy.
Definition at line 48 of file DirectEventSendingStrategy.cpp.
|
static |
Definition at line 40 of file DirectEventSendingStrategy.cpp.
Referenced by rsb::eventprocessing::registerDefaultEventProcessingStrategies().
void rsb::eventprocessing::DirectEventSendingStrategy::printContents | ( | std::ostream & | stream | ) | const |
Definition at line 44 of file DirectEventSendingStrategy.cpp.
|
virtual |
Deliver event to all rsb::transport::OutConnector objects associated to this strategy.
event | An rsb::Event that should be delivered to the connectors. |
Implements rsb::eventprocessing::EventSendingStrategy.
Definition at line 56 of file DirectEventSendingStrategy.cpp.
|
virtual |
Remove connector from the list of connectors to which this strategy should deliver events.
connector | The rsb::transport::OutConnector that should be removed. |
Implements rsb::eventprocessing::EventSendingStrategy.
Definition at line 52 of file DirectEventSendingStrategy.cpp.
|
private |
Definition at line 58 of file DirectEventSendingStrategy.h.