Go to the documentation of this file. 1 #ifndef PROTON_CONNECTION_OPTIONS_H
2 #define PROTON_CONNECTION_OPTIONS_H
27 #include "./internal/config.hpp"
28 #include "./internal/export.hpp"
29 #include "./internal/pn_unique_ptr.hpp"
32 #include <proton/type_compat.h>
40 struct pn_connection_t;
41 struct pn_transport_t;
162 void apply_unbound_client(pn_transport_t*)
const;
163 void apply_unbound_server(pn_transport_t*)
const;
167 internal::pn_unique_ptr<impl> impl_;
178 #endif // PROTON_CONNECTION_OPTIONS_H
connection_options & sasl_enabled(bool)
Enable or disable SASL.
Unsettled API - An AMQP driver for a single connection.
Definition: connection_driver.hpp:93
connection_options & sasl_allow_insecure_mechs(bool)
Force the enabling of SASL mechanisms that disclose cleartext passwords over the connection.
connection_options & update(const connection_options &other)
Update option values from values set in other.
connection_options & password(const std::string &)
Set the password used to authenticate the connection.
A top-level container of connections, sessions, and links.
Definition: container.hpp:50
connection_options & reconnect(const reconnect_options &)
Unsettled API - Set reconnect and failover options.
Unsettled API - SSL configuration for outbound connections.
Definition: ssl.hpp:176
connection_options & max_frame_size(uint32_t max)
Set the maximum frame size. It is unlimited by default.
Unsettled API - Options for reconnect and failover after connection loss.
Definition: reconnect_options.hpp:49
connection_options & ssl_client_options(const class ssl_client_options &)
Set SSL client options.
A connection to a remote AMQP peer.
Definition: connection.hpp:43
connection_options & container_id(const std::string &id)
Set the container ID.
Options for creating a connection.
Definition: connection_options.hpp:66
connection_options & operator=(const connection_options &)
Copy options.
A span of time in milliseconds.
Definition: duration.hpp:39
connection_options & user(const std::string &)
Set the user name used to authenticate the connection.
connection_options & virtual_host(const std::string &name)
Set the virtual host name for the connection.
A handler for Proton messaging events.
Definition: messaging_handler.hpp:62
connection_options & max_sessions(uint16_t max)
Set the maximum number of open sessions. The default is 32767.
connection_options & idle_timeout(duration)
Set the idle timeout.
connection_options & handler(class messaging_handler &)
Set a connection handler.
connection_options & sasl_config_path(const std::string &)
Unsettled API - Set the SASL configuration path.
The main Proton namespace.
Definition: annotation_key.hpp:33
connection_options & ssl_server_options(const class ssl_server_options &)
Set SSL server options.
connection_options & sasl_allowed_mechs(const std::string &)
Specify the allowed mechanisms for use on the connection.
connection_options()
Create an empty set of options.
Unsettled API - SSL configuration for inbound connections.
Definition: ssl.hpp:149
connection_options & sasl_config_name(const std::string &)
Unsettled API - Set the SASL configuration name.