Go to the documentation of this file. 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>
128 PN_CPP_EXTERN
void read_done(
size_t n);
132 PN_CPP_EXTERN
void read_close();
141 PN_CPP_EXTERN
void write_done(
size_t n);
145 PN_CPP_EXTERN
void write_close();
171 PN_CPP_EXTERN
bool has_events()
const;
184 PN_CPP_EXTERN
bool dispatch();
200 std::string container_id_;
202 pn_connection_driver_t driver_;
208 #endif // PROTON_IO_CONNECTION_DRIVER_HPP
Describes an endpoint error state.
Definition: error_condition.hpp:40
Unsettled API - An AMQP driver for a single connection.
Definition: connection_driver.hpp:93
Unsettled API - A pointer to an immutable memory region with a size.
Definition: connection_driver.hpp:57
A top-level container of connections, sessions, and links.
Definition: container.hpp:50
mutable_buffer(char *data_=0, size_t size_=0)
Construct a buffer starting at data_ with size_ bytes.
Definition: connection_driver.hpp:52
const char * data
Beginning of the buffered data.
Definition: connection_driver.hpp:58
A connection to a remote AMQP peer.
Definition: connection.hpp:44
Options for creating a connection.
Definition: connection_options.hpp:67
char * data
Beginning of the buffered data.
Definition: connection_driver.hpp:48
Handler for Proton messaging events.
Definition: messaging_handler.hpp:68
Unsettled API - A pointer to a mutable memory region with a size.
Definition: connection_driver.hpp:47
const_buffer(const char *data_=0, size_t size_=0)
Construct a buffer starting at data_ with size_ bytes.
Definition: connection_driver.hpp:62
A network channel supporting an AMQP connection.
Definition: transport.hpp:37
size_t size
Number of bytes in the buffer.
Definition: connection_driver.hpp:49
The main Proton namespace.
Definition: annotation_key.hpp:33
size_t size
Number of bytes in the buffer.
Definition: connection_driver.hpp:59
A 64-bit timestamp in milliseconds since the Unix epoch.
Definition: timestamp.hpp:35