ZeroEQ  0.9.0
ZeroEQ - Zero Event Queue
zeroeq::URI Class Reference

Enhances servus::URI to guarantee the existance of a schema and to allow construction of [host][:port] URIs from string. More...

#include <uri.h>

+ Inheritance diagram for zeroeq::URI:
+ Collaboration diagram for zeroeq::URI:

Public Member Functions

 URI ()
 Create a default URI in the form "tcp://".
 
 URI (const URI &from)
 
 URI (const std::string &uri)
 Create URI from string, set schema to "tcp" if empty.
 
 URI (const char *uri)
 Create URI from string, set schema to "tcp" if empty.
 
 URI (const servus::URI &from)
 Convert from servus::URI, set schema to "tcp" if empty.
 
URIoperator= (const URI &rhs)
 
URIoperator= (const servus::URI &rhs)
 
bool operator== (const URI &rhs) const
 
bool operator== (const servus::URI &rhs) const
 
bool operator!= (const URI &rhs) const
 
bool operator!= (const servus::URI &rhs) const
 
const servus::URI & toServusURI () const
 Convert this URI to a servus::URI.
 
bool isFullyQualified () const
 

Detailed Description

Enhances servus::URI to guarantee the existance of a schema and to allow construction of [host][:port] URIs from string.

Definition at line 19 of file uri.h.

Member Function Documentation

bool zeroeq::URI::isFullyQualified ( ) const
Returns
true if the host and port are given for a tcp URI.

Referenced by toServusURI().

+ Here is the caller graph for this function:


The documentation for this class was generated from the following file: