[ 
https://issues.apache.org/jira/browse/PROTON-1161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15208955#comment-15208955
 ] 

ASF subversion and git services commented on PROTON-1161:
---------------------------------------------------------

Commit 222574ed95acaa4143ea3e2c2cd9e7abac9e1dd9 in qpid-proton's branch 
refs/heads/master from [~aconway]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=222574e ]

PROTON-1161 - c++: better interface to connection_engine.

More flexible connection_engine interface to support reactor and proactor 
patterns.
Provides direct access to proton buffers for minimal copies in either case.

connection_engine is now completely IO and thread neutral, it simply handles:

    bytes-in -> events as handler function calls -> bytes-out

Moved connection_engine and related classes into the proton::io namespace.

Cleaned up engine implementation, improved the unit tests.


> c++: better interface to connection_engine.
> -------------------------------------------
>
>                 Key: PROTON-1161
>                 URL: https://issues.apache.org/jira/browse/PROTON-1161
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: cpp-binding
>    Affects Versions: 0.12.0
>            Reporter: Alan Conway
>            Assignee: Alan Conway
>             Fix For: 0.13.0
>
>
> The connection_engine interface was over-simplified to support reactor-style 
> IO frameworks, and did not efficiently support proactor frameworks.
> Change the API to support both with no copies imposed by the 
> connection_engine (allow read/write direct to/from proton buffers)



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

Reply via email to