Timothy Bish created PROTON-1337:
------------------------------------

             Summary: [proton-j] Add methods and Sender and Receiver that allow 
for alternate buffer types
                 Key: PROTON-1337
                 URL: https://issues.apache.org/jira/browse/PROTON-1337
             Project: Qpid Proton
          Issue Type: Improvement
          Components: proton-j
    Affects Versions: 0.15.0
            Reporter: Timothy Bish
            Assignee: Timothy Bish
             Fix For: 0.16.0


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. 
 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to