1 #ifndef _QmfEngineConnectionSettings_
2 #define _QmfEngineConnectionSettings_
29 class ConnectionSettingsImpl;
144 ConnectionSettingsImpl* impl;
void transportSsl(uint16_t port=5671)
~ConnectionSettings()
Destroy the connection settings object.
Settings for AMQP connections to the broker.
void transportRdma(uint16_t port=5672)
const char * getAttrString() const
Get the attribute string (the portion of the URL following the '?') for the settings.
void authGssapi(const char *serviceName, uint32_t minSsf=0, uint32_t maxSsf=256)
Value getAttr(const char *key) const
Get the value of an attribute.
bool setAttr(const char *key, const Value &value)
Set an attribute to control connection setup.
void authPlain(const char *username=0, const char *password=0)
void transportTcp(uint16_t port=5672)
Shortcuts for setting the transport for the connection.
void authAnonymous(const char *username=0)
Shortcuts for setting authentication mechanisms.
void setRetry(int delayMin=1, int delayMax=128, int delayFactor=2)
Shortcut for setting connection retry attributes.
ConnectionSettings()
Create a set of default connection settings.
friend class ResilientConnectionImpl