qpid::Url Struct Reference
An AMQP URL contains a list of addresses.
More...
#include <qpid/Url.h>
List of all members.
Detailed Description
An AMQP URL contains a list of addresses.
Definition at line 35 of file Url.h.
Constructor & Destructor Documentation
qpid::Url::Url |
( |
|
) |
[inline] |
Empty URL.
Definition at line 50 of file Url.h.
qpid::Url::Url |
( |
const Address & |
addr |
) |
[inline, explicit] |
URL containing a single address.
Definition at line 53 of file Url.h.
qpid::Url::Url |
( |
const std::string & |
url |
) |
[inline, explicit] |
qpid::Url::Url |
( |
const char * |
url |
) |
[inline, explicit] |
Member Function Documentation
static Url qpid::Url::getHostNameUrl |
( |
uint16_t |
port |
) |
[static] |
Url with the hostname as returned by gethostname(2).
static Url qpid::Url::getIpAddressesUrl |
( |
uint16_t |
port |
) |
[static] |
Url with local IP address(es), may be more than one address on a multi-homed host.
Url& qpid::Url::operator= |
( |
const std::string & |
s |
) |
[inline] |
Url& qpid::Url::operator= |
( |
const char * |
s |
) |
[inline] |
Url& qpid::Url::operator= |
( |
const Url & |
u |
) |
[inline] |
Definition at line 61 of file Url.h.
void qpid::Url::parse |
( |
const std::string & |
url |
) |
[inline] |
void qpid::Url::parse |
( |
const char * |
url |
) |
|
void qpid::Url::parseNoThrow |
( |
const char * |
url |
) |
|
std::string qpid::Url::str |
( |
|
) |
const |
void qpid::Url::throwIfEmpty |
( |
|
) |
const |
Throw Invalid if the URL does not contain any addresses.
The documentation for this struct was generated from the following file: