qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Conway <acon...@redhat.com>
Subject Proton C libuv driver API
Date Mon, 24 Oct 2016 16:20:56 GMT
I've updated the proton C driver API and libuv implementation on this


Not complete but has working broker/send/receive examples.

# C driver for C/C++ bindings and direct C users.

driver.h is an SPI so an IO integration can be shared between C and C++
applications and bindings. Provides common connnect/listen/wakeup API
to drive
the pn_connection_engine.

Examples show C sender, receiver and broker using a libuv driver.

The driver API is source compatible so an app can be re-compiled to use
different driver implementation by changing the PN_DRIVER_INCLUDE

This is not intended for use by non-C/C++ bindings where the binding
has its own IO and concurrency framework. Such bindings should
implement their
own driver in the binding language, using native IO/threading for the
language. This driver can be a structural example, as is the Go

NOTE: preview only, not finished. Issues to address include:

   - handle transport ticks
   - support for scheduled wakeup (leave task queueing outside like
conn wakeup)
   - check when driver is "empty" - not monitoring anything. For clean

To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org

View raw message