Enhancement #2197

Enhancement #2195: Implement Spread connection pooling

Spread connection pooling for informers [C++]

Added by J. Wienke over 6 years ago. Updated over 5 years ago.

Status:ResolvedStart date:03/11/2015
Priority:NormalDue date:
Assignee:J. Moringen% Done:

100%

Category:C++
Target version:rsb-0.12

Related issues

Related to Robotics Service Bus - Enhancement #1023: Add Transport class [C++] In Progress 06/25/2012

Associated revisions

Revision 5d3d7cb8
Added by J. Wienke over 6 years ago

OutConnector instances share outgoing Spread connections

refs #2197

Adds a new RefCountingSpreadConnection class as a subclass of
SpreadConnection which counts activation and deactivation calls to
enabled multiple users to use it. The Factory uses this class for
outgoing connections and caches instances according to their options for
reuse.

  • src/rsb/transport/spread/RefCountingSpreadConnection.{cpp,h}: new
    files
  • src/rsb/transport/spread/SpreadConnection.h: made activate and
    deactivate overridable
  • src/rsb/transport/spread/Factory.{cpp,h}: OutConnector instances share
    outgoing connections via RefCountingSpreadConnection
  • src/CMakeLists.txt: added files
    src/rsb/transport/spread/RefCountingSpreadConnection.{cpp,h}

Revision eb8bb228
Added by J. Moringen over 6 years ago

fixes #2197: OutConnector instances share Spread connections

History

#1 Updated by J. Moringen over 6 years ago

  • Assignee set to J. Moringen

#2 Updated by J. Wienke over 6 years ago

  • Subject changed from Implement C++ Spread connection pooling to Implement C++ Spread connection pooling for informers

#3 Updated by J. Moringen over 6 years ago

#4 Updated by J. Moringen over 6 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 50

#5 Updated by J. Moringen over 6 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 50 to 100

#6 Updated by J. Moringen over 5 years ago

  • Subject changed from Implement C++ Spread connection pooling for informers to Spread connection pooling for informers [C++]

Also available in: Atom PDF