Qpid
  1. Qpid
  2. QPID-4610

Remove code duplication from transport layers of C++ broker

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.20
    • Fix Version/s: 0.21
    • Component/s: C++ Broker
    • Labels:
      None

      Description

      The networking C++ code contains a lot of cut and paste code. This change eliminate nearly all of the duplication in the C++ broker.

      It also refactors transport support so that transports can only listen for incoming connections or only be used to create outgoing connections which wasn't possible before, but is useful in some cases -

      • When You are using a multiplexed SSL connection which will also accept TCP it should still be possible to have a TCP transport which can only create outgoing connections, before this was awkward to achieve.
      • Some transports don't really support outgoing connections properly (rdma and all transports on windows) and so they should be able to not register to create outgoing connections.

        Activity

        Hide
        Andrew Stitcher added a comment -

        Checked in trunk r1451443

        Show
        Andrew Stitcher added a comment - Checked in trunk r1451443

          People

          • Assignee:
            Andrew Stitcher
            Reporter:
            Andrew Stitcher
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development