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

A class responsible of configuring the route that processes incoming events from one or more InConnector instances in one Listener. More...

#include <InRouteConfigurator.h>

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

Classes

class  Impl

Public Types

typedef std::set
< transport::InConnectorPtr
ConnectorSet

Public Member Functions

 InRouteConfigurator (const Scope &scope, const ParticipantConfig &config)
virtual ~InRouteConfigurator ()
std::string getClassName () const
void printContents (std::ostream &stream) const
virtual void activate ()
virtual void deactivate ()
const
ParticipantConfig::EventProcessingStrategy
getReceivingStrategyConfig () const
EventReceivingStrategyPtr getEventReceivingStrategy () const
ConnectorSet getConnectors ()
void addConnector (transport::InConnectorPtr connector)
void removeConnector (transport::InConnectorPtr connector)
void filterAdded (filter::FilterPtr filter)
void filterRemoved (filter::FilterPtr filter)
void setQualityOfServiceSpecs (const QualityOfServiceSpec &specs)
 Define the desired quality of service specifications for published events.

Private Member Functions

virtual EventReceivingStrategyPtr createEventReceivingStrategy ()=0

Private Attributes

boost::scoped_ptr< Impld

Detailed Description

A class responsible of configuring the route that processes incoming events from one or more InConnector instances in one Listener.

This responsibility includes updates to the route from adding or removing Filter or Handler instances.

Author
swrede

Definition at line 73 of file InRouteConfigurator.h.

Member Typedef Documentation

Constructor & Destructor Documentation

rsb::eventprocessing::InRouteConfigurator::InRouteConfigurator ( const Scope scope,
const ParticipantConfig config 
)

Definition at line 63 of file InRouteConfigurator.cpp.

References d.

rsb::eventprocessing::InRouteConfigurator::~InRouteConfigurator ( )
virtual

Definition at line 71 of file InRouteConfigurator.cpp.

References d, and deactivate().

Here is the call graph for this function:

Member Function Documentation

void rsb::eventprocessing::InRouteConfigurator::activate ( )
virtual

Reimplemented in rsb::eventprocessing::PushInRouteConfigurator.

Definition at line 87 of file InRouteConfigurator.cpp.

References createEventReceivingStrategy(), and d.

Here is the call graph for this function:

void rsb::eventprocessing::InRouteConfigurator::addConnector ( transport::InConnectorPtr  connector)

Definition at line 128 of file InRouteConfigurator.cpp.

References d.

virtual EventReceivingStrategyPtr rsb::eventprocessing::InRouteConfigurator::createEventReceivingStrategy ( )
privatepure virtual

Implemented in rsb::eventprocessing::PullInRouteConfigurator.

Referenced by activate().

Here is the caller graph for this function:

void rsb::eventprocessing::InRouteConfigurator::deactivate ( )
virtual

Definition at line 102 of file InRouteConfigurator.cpp.

References d.

Referenced by ~InRouteConfigurator().

Here is the caller graph for this function:

void rsb::eventprocessing::InRouteConfigurator::filterAdded ( filter::FilterPtr  filter)

Definition at line 138 of file InRouteConfigurator.cpp.

References rsb::filter::FilterAction::ADD, and d.

void rsb::eventprocessing::InRouteConfigurator::filterRemoved ( filter::FilterPtr  filter)

Definition at line 146 of file InRouteConfigurator.cpp.

References d, and rsb::filter::FilterAction::REMOVE.

string rsb::eventprocessing::InRouteConfigurator::getClassName ( ) const
InRouteConfigurator::ConnectorSet rsb::eventprocessing::InRouteConfigurator::getConnectors ( )

Definition at line 124 of file InRouteConfigurator.cpp.

References d.

Referenced by rsb::eventprocessing::PushInRouteConfigurator::activate(), and rsb::eventprocessing::PullInRouteConfigurator::createEventReceivingStrategy().

Here is the caller graph for this function:

EventReceivingStrategyPtr rsb::eventprocessing::InRouteConfigurator::getEventReceivingStrategy ( ) const

Definition at line 120 of file InRouteConfigurator.cpp.

References d.

Referenced by rsb::eventprocessing::PushInRouteConfigurator::activate().

Here is the caller graph for this function:

const ParticipantConfig::EventProcessingStrategy & rsb::eventprocessing::InRouteConfigurator::getReceivingStrategyConfig ( ) const

Definition at line 116 of file InRouteConfigurator.cpp.

References d.

Referenced by rsb::eventprocessing::PushInRouteConfigurator::createEventReceivingStrategy().

Here is the caller graph for this function:

void rsb::eventprocessing::InRouteConfigurator::printContents ( std::ostream &  stream) const

Reimplemented in rsb::eventprocessing::PushInRouteConfigurator.

Definition at line 81 of file InRouteConfigurator.cpp.

References d.

void rsb::eventprocessing::InRouteConfigurator::removeConnector ( transport::InConnectorPtr  connector)

Definition at line 133 of file InRouteConfigurator.cpp.

References d.

void rsb::eventprocessing::InRouteConfigurator::setQualityOfServiceSpecs ( const QualityOfServiceSpec specs)

Define the desired quality of service specifications for published events.

Parameters
specsQoS specification
Exceptions
UnsupportedQualityOfServiceExceptionrequirements cannot be met

Definition at line 154 of file InRouteConfigurator.cpp.

References d.

Member Data Documentation


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