Tasks #264

Tasks #263: Implement coherent dynamic behavior

Adapt handling of incomming events

Added by J. Wienke about 13 years ago. Updated about 13 years ago.

Status:ResolvedStart date:04/28/2011
Priority:NormalDue date:
Assignee:J. Moringen% Done:

100%

Category:C++Estimated time:1.00 hour
Target version:-

Description

  • Create EventHandler interface
  • Let EventReceivingStrategy implement this interface
  • Use it ;)

Associated revisions

Revision 16235e1a
Added by J. Moringen about 13 years ago

Introduced and used unified event handler interface
fixes #264
  • src/CMakeLists.txt: added src/rsb/eventprocessing/Handler.{h,cpp}
  • src/rsb/Handler.{h,cpp}: removed Handler class; replaced by typedef
    for eventprocessing::Handler
  • src/rsb/eventprocessing/DirectEventSendingStrategy.cpp: implement
    Handler interface
  • src/rsb/eventprocessing/Handler.{h,cpp}: new files; unified Handler
    interface
  • src/rsb/eventprocessing/InRouteConfigurator.cpp: adapted to
    interface changes
  • src/rsb/eventprocessing/ParallelEventReceivingStrategy.{h,cpp}:
    likewise
  • src/rsb/transport/Connector.{h,cpp}: InConnector now has {add,remove}Handler() instead of setObserver(); OutConnector
    implements Handler instead using push()
  • src/rsb/transport/inprocess/Bus.{h,cpp}: adapted to changed event
    handling; implements Handler
  • src/rsb/transport/inprocess/InConnector.{h,cpp}: adapted to changed
    event handling
  • src/rsb/transport/inprocess/OutConnector.{h,cpp}: likewise
  • src/rsb/transport/spread/InConnector.{h,cpp}: likewise
  • src/rsb/transport/spread/OutConnector.{h,cpp}: likewise
  • test/rsb/InformerTask.cpp: likewise
  • test/rsb/RSBTest.cpp: likewise
  • test/rsb/eventprocessing/ParallelEventReceivingStrategyTest.cpp:
    likewise
  • test/rsb/transport/inprocess/InProcessConnectorTest.cpp: likewise
  • test/rsb/transport/spread/SpreadConnectorTest.cpp: likewise

History

#1 Updated by J. Moringen about 13 years ago

  • Status changed from New to In Progress
  • Assignee set 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 r761.

Also available in: Atom PDF