An AMQP URL contains a list of addresses.
More...
#include <qpid/Url.h>
|
static void | addProtocol (const std::string &tag) |
| Add a protocol tag to be recognzed in URLs. More...
|
|
An AMQP URL contains a list of addresses.
Definition at line 33 of file Url.h.
Empty URL.
Definition at line 41 of file Url.h.
qpid::Url::Url |
( |
const Address & |
addr | ) |
|
|
inlineexplicit |
URL containing a single address.
Definition at line 44 of file Url.h.
qpid::Url::Url |
( |
const std::string & |
url | ) |
|
|
inlineexplicit |
qpid::Url::Url |
( |
const std::string & |
url, |
|
|
const std::string & |
defaultProtocol |
|
) |
| |
|
inlineexplicit |
qpid::Url::Url |
( |
const char * |
url | ) |
|
|
inlineexplicit |
static void qpid::Url::addProtocol |
( |
const std::string & |
tag | ) |
|
|
static |
Add a protocol tag to be recognzed in URLs.
Only for use by protcol plug-in initializers.
std::string qpid::Url::getPass |
( |
| ) |
const |
std::string qpid::Url::getUser |
( |
| ) |
const |
Url& qpid::Url::operator= |
( |
const char * |
s | ) |
|
|
inline |
Url& qpid::Url::operator= |
( |
const std::string & |
s | ) |
|
|
inline |
void qpid::Url::parse |
( |
const char * |
url | ) |
|
Replace contents with parsed url
- Exceptions
-
Referenced by operator=(), and Url().
void qpid::Url::parse |
( |
const char * |
url, |
|
|
const std::string & |
defaultProtocol |
|
) |
| |
void qpid::Url::parseNoThrow |
( |
const char * |
url | ) |
|
Replace contesnts with parsed URL.
Replace with empty URL if invalid.
void qpid::Url::parseNoThrow |
( |
const char * |
url, |
|
|
const std::string & |
defaultProtocol |
|
) |
| |
void qpid::Url::setPass |
( |
const std::string & |
| ) |
|
void qpid::Url::setUser |
( |
const std::string & |
| ) |
|
std::string qpid::Url::str |
( |
| ) |
const |
void qpid::Url::throwIfEmpty |
( |
| ) |
const |
Throw Invalid if the URL does not contain any addresses.
T std::vector< T >::elements |
|
inherited |
The documentation for this struct was generated from the following file: