Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-664

High-level C++ client API.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.8
    • C++ Client
    • None

    Description

      Attached a proposal for a high-level C++ client API. The existing client::Session class will be renamed Session_0_10 and remain as an internal direct mapping of the 0_10 protocol. The new API is just a thin layer over Session_0_10 providing:

      • improved usability
      • abstraction from specific protocol version

      The usability improvements include

      • Self-contained classes reflecting domain concepts (Queue, Exchange, Subscriber, Subscription)
      • simplification of obscure (and probably change-prone protocol) areas: E.g. apply a simple flow control policy object rather than fiddling with session.MessageFlow functions.
      • Better memory safety, simpler thread management (these last points could be integrated early into the existing API.)

      Comments are most welcome, lets hone it before we implement it.

      Attachments

        1. CppClientApi.cpp
          17 kB
          Alan Conway

        Issue Links

          Activity

            People

              gsim Gordon Sim
              aconway Alan Conway
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: