11 #include <servus/uri.h> 19 class URI :
private servus::URI
27 ZEROEQ_API
URI(
const URI& from);
30 ZEROEQ_API
explicit URI(
const std::string& uri);
33 ZEROEQ_API
explicit URI(
const char* uri);
36 ZEROEQ_API
explicit URI(
const servus::URI& from);
38 ZEROEQ_API URI& operator=(
const URI& rhs);
41 ZEROEQ_API URI& operator=(
const servus::URI& rhs);
43 ZEROEQ_API
bool operator==(
const URI& rhs)
const;
45 ZEROEQ_API
bool operator==(
const servus::URI& rhs)
const;
47 ZEROEQ_API
bool operator!=(
const URI& rhs)
const;
49 ZEROEQ_API
bool operator!=(
const servus::URI& rhs)
const;
59 using servus::URI::getScheme;
60 using servus::URI::getHost;
61 using servus::URI::getPort;
62 using servus::URI::getPath;
63 using servus::URI::getQuery;
64 using servus::URI::setHost;
65 using servus::URI::setPort;
69 inline std::ostream& operator<<(std::ostream& os,
const URI& uri)
78 inline std::string to_string(
const zeroeq::URI& uri)
Enhances servus::URI to guarantee the existance of a schema and to allow construction of [host][:port...
Defines export visibility macros for library ZeroEQ.
const servus::URI & toServusURI() const
Convert this URI to a servus::URI.
bool isFullyQualified() const
URI()
Create a default URI in the form "tcp://".
Publish-subscribe and request-reply.