Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-1337

[proton-j] Add methods and Sender and Receiver that allow for alternate buffer types

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • proton-0.15.0
    • proton-0.16.0
    • proton-j
    • None

    Description

      The current send and recv method in Sender and Receiver (as well as in DeliveryImpl) operate on byte array types. Depending on the application the code might actually be using some other byte buffering scheme such as ByteBuffer etc. We can easily provide additional methods that operate on a generic ReadableBuffer and WritableBuffer type that we define so that these applications can operate more efficiently.

      We already define WritableBuffer, the ReadableBuffer would like quite the same.

      Attachments

        Activity

          People

            tabish Timothy A. Bish
            tabish Timothy A. Bish
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: