#include <ConnectionSettings.h>
Inherited by qpid::client::ConnectionHandler.
Public Member Functions | |
| virtual void | configureSocket (qpid::sys::Socket &) const |
| Allows socket to be configured; default only sets tcp-nodelay based on the flag set. | |
Public Attributes | |
| std::string | protocol |
| The protocol used for the connection (defaults to 'tcp'). | |
| std::string | host |
| The host (or ip address) to connect to (defaults to 'localhost'). | |
| uint16_t | port |
| The port to connect to (defaults to 5672). | |
| std::string | virtualhost |
| Allows an AMQP 'virtual host' to be specified for the connection. | |
| std::string | username |
| The username to use when authenticating the connection. | |
| std::string | password |
| The password to use when authenticating the connection. | |
| std::string | mechanism |
| The SASL mechanism to use when authenticating the connection; the options are currently PLAIN or ANONYMOUS. | |
| std::string | locale |
| Allows a locale to be specified for the connection. | |
| uint16_t | heartbeat |
| Allows a heartbeat frequency to be specified (this feature is not yet implemented). | |
| uint16_t | maxChannels |
| The maximum number of channels that the client will request for use on this connection. | |
| uint16_t | maxFrameSize |
| The maximum frame size that the client will request for this connection. | |
| uint | bounds |
| Allows the size of outgoing frames to be limited. | |
| bool | tcpNoDelay |
| If true, TCP_NODELAY will be set for the connection. | |
Definition at line 43 of file ConnectionSettings.h.
| virtual void qpid::client::ConnectionSettings::configureSocket | ( | qpid::sys::Socket & | ) | const [virtual] |
Allows socket to be configured; default only sets tcp-nodelay based on the flag set.
Can be overridden.
Allows the size of outgoing frames to be limited.
The value should be a mutliple of the maximum buffer size in use (which is in turn set through the maxFrameSize setting above).
Definition at line 110 of file ConnectionSettings.h.
1.5.6