Qpid Proton C++
0.12.0
|
Options for creating a connection. More...
#include <connection_options.hpp>
Public Member Functions | |
connection_options () | |
Create an empty set of options. | |
connection_options (const connection_options &) | |
Copy options. | |
connection_options & | operator= (const connection_options &) |
Copy options. | |
void | override (const connection_options &other) |
Override with options from other. | |
connection_options & | handler (class handler *) |
Set a handler for the connection. | |
connection_options & | max_frame_size (uint32_t max) |
Set the maximum frame size. | |
connection_options & | max_channels (uint16_t max) |
Set the maximum channels. | |
connection_options & | idle_timeout (duration) |
Set the idle timeout. | |
connection_options & | container_id (const std::string &id) |
Set the container ID. | |
connection_options & | ssl_client_options (const class ssl_client_options &) |
Set SSL client options. | |
connection_options & | ssl_server_options (const class ssl_server_options &) |
Set SSL server options. | |
connection_options & | sasl_enabled (bool) |
Enable or disable SASL. | |
connection_options & | sasl_config_name (const std::string &) |
Set the SASL configuration name. | |
connection_options & | sasl_config_path (const std::string &) |
Set the SASL configuration path. | |
Options for creating a connection.
Options can be "chained" like this:
You can also create an options object with common settings and use it as a base for different connections that have mostly the same settings:
Normal value semantics: copy or assign creates a separate copy of the options.