Tasks #254
Tasks #240: Refactor C++ Implementation to 2011-04-13 Domain Model
Separation of in and out routes in eventprocessing
Status: | Resolved | Start date: | 04/23/2011 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | J. Moringen | % Done: | 100% | |
Category: | C++ | Estimated time: | 2.50 hours | |
Target version: | - |
Description
Separate input and output routes in the eventprocessing layer. Therefore:
- Create an OutRouteConfigurator class for sending messages
- Rename Router to InRouteConfigurator
- Rename EventProcessingStrategy to EventReceivingStrategy
- Create EventSendingStrategy
- Implement DirectEventSendingStrategy as a simple passthrough to the connector
- Let OutRouteConfigurator use a EventSendingStrategy
- Let InRouteConfigurator use a EventReceivingStrategy
Associated revisions
Separation of in and out directions in eventprocessing classes
fixes #254
fixes #254
- src/CMakeLists.txt: adapted to changed files in
src/rsb/eventprocessing - src/rsb/Informer.h: use a OutRouteConfigurator instead of a Router
- src/rsb/Listener.{h,cpp}: use a InRouteConfigurator instead of a
Router - src/rsb/eventprocessing/DirectEventSendingStrategy.{h,cpp}: new
files; pass events to OutConnectors - src/rsb/eventprocessing/EventReceivingStrategy.{h,cpp}: renamed
src/rsb/eventprocessing/EventReceivingStrategy.{h,cpp} ->
src/rsb/eventprocessing/EventReceivingStrategy.{h,cpp}; only deal
with incoming events - src/rsb/eventprocessing/EventSendingStrategy.{h,cpp}: new file;
interface for event sending strategies - src/rsb/eventprocessing/InRouteConfigurator.{h,cpp}: renamed
src/rsb/eventprocessing/Router.{h,cpp} ->
src/rsb/eventprocessing/InRouteConfigurator.{h,cpp}; only deal with
incoming direction - src/rsb/eventprocessing/OutRouteConfigurator.{h,cpp}: new files;
configuration of outgoing direction - src/rsb/eventprocessing/ParallelEventReceivingStrategy.{h,cpp}:
renamed
src/rsb/eventprocessing/ParallelEventProcessingStrategy.{h,cpp} ->
src/rsb/eventprocessing/ParallelEventReceivingStrategy.{h,cpp}; only
deal with incoming events - test/CMakeLists.txt: renamed test
ParallelEventProcessingStrategyTest.cpp ->
ParallelEventReceivingStrategyTest.cpp - test/rsb/RSBTest.cpp: use {In,Out}RouteConfigurator instead of
Router - test/rsb/eventprocessing/ParallelEventReceivingStrategyTest.cpp:
renamed test ParallelEventProcessingStrategyTest.cpp ->
ParallelEventReceivingStrategyTest.cpp; adapted class names
History
#1 Updated by J. Moringen about 13 years ago
- Status changed from New to In Progress
- Assignee changed from S. Wrede to J. Moringen
#2 Updated by J. Moringen about 13 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Applied in changeset r757.