1 #ifndef PROTON_IO_CONNECTION_DRIVER_HPP
2 #define PROTON_IO_CONNECTION_DRIVER_HPP
25 #include "../connection_options.hpp"
26 #include "../error_condition.hpp"
28 #include "../internal/config.hpp"
29 #include "../types_fwd.hpp"
31 #include <proton/connection_driver.h>
109 #if PN_CPP_HAS_RVALUE_REFERENCES
113 PN_CPP_EXTERN ~connection_driver();
139 PN_CPP_EXTERN
void read_done(
size_t n);
143 PN_CPP_EXTERN
void read_close();
152 PN_CPP_EXTERN
void write_done(
size_t n);
156 PN_CPP_EXTERN
void write_close();
192 PN_CPP_EXTERN
bool dispatch();
206 connection_driver(
const connection_driver&);
207 connection_driver& operator=(
const connection_driver&);
211 pn_connection_driver_t driver_;
217 #endif // PROTON_IO_CONNECTION_DRIVER_HPP
size_t size
Number of bytes in the buffer.
Definition: connection_driver.hpp:54
A top-level container of connections, sessions, senders, and receivers.
Definition: container.hpp:47
Experimental - Pointer to a const memory region with a size.
Definition: connection_driver.hpp:52
A connection to a remote AMQP peer.
Definition: connection.hpp:40
Options for creating a connection.
Definition: connection_options.hpp:62
mutable_buffer(char *data_=0, size_t size_=0)
Construct a buffer starting at data_ with size_ bytes.
Definition: connection_driver.hpp:48
Experimental - A serial execution context.
Definition: event_loop.hpp:44
const char * data
Beginning of the buffered data.
Definition: connection_driver.hpp:53
char * data
Beginning of the buffered data.
Definition: connection_driver.hpp:44
A 64-bit timestamp in milliseconds since the Unix epoch.
Definition: timestamp.hpp:32
size_t size
Number of bytes in the buffer.
Definition: connection_driver.hpp:45
A handler for Proton messaging events.
Definition: messaging_handler.hpp:59
const_buffer(const char *data_=0, size_t size_=0)
Construct a buffer starting at data_ with size_ bytes.
Definition: connection_driver.hpp:57
A network channel supporting an AMQP connection.
Definition: transport.hpp:34
Experimental - Pointer to a mutable memory region with a size.
Definition: connection_driver.hpp:43
Experimental - An AMQP driver for a single connection.
Definition: connection_driver.hpp:88
Describes an endpoint error state.
Definition: error_condition.hpp:37