[
https://issues.apache.org/jira/browse/PROTON-2210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17156267#comment-17156267
]
Jiri Daněk commented on PROTON-2210:
------------------------------------
There isn't a C++ {{connection_driver}}, as far as I am aware. This is
exclusively a C API. Although there is {{cpp/src/connection_driver.cpp}}, it
looks like a dead code, the only thing using that being
{{cpp/src/connection_driver_test.cpp}}.
Therefore, relevant examples that make use of {{connection_driver}} would be
the C proactor implementations, that is
{{c/src/proactor/\{epoll.c,libuv.c,win-iocp.cpp\}}}.
I don't know what happened to {{socket_engine}}, or why.
Regarding what you are doing with boost::asio, it sounds to me you are going
for something similar to
http://qpid.2158936.n2.nabble.com/An-imperative-AMQP-client-API-td7689374.html
> C++ Connection Driver Example
> -----------------------------
>
> Key: PROTON-2210
> URL: https://issues.apache.org/jira/browse/PROTON-2210
> Project: Qpid Proton
> Issue Type: Improvement
> Components: cpp-binding
> Affects Versions: proton-c-0.30.0
> Reporter: Alex R
> Priority: Trivial
>
> There doesn't seem to be a good example of using the cpp connection_driver in
> the most recent version of proton. Previously there was a socket_engine, but
> this has been removed/refactored. I'm trying to integrate this in to
> boost::asio with sockets and an example would go a long way. Perhaps someone
> already has something similar. I see fuzz-connection-driver.c for the C API,
> which seems to implement this via the C api, but I don't see the same for cpp.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]