Service endpoint description. More...
Public Member Functions | |
ServiceDescriptor (const std::string &a, unsigned p) | |
ServiceDescriptor (const ServiceDescriptor &descriptor) | |
bool | operator== (const ServiceDescriptor &other) const |
Compares with another instance. | |
bool | operator!= (const ServiceDescriptor &other) const |
Compares with another instance. | |
bool | valid () const |
Returns true if the descriptor points to valid ip address. | |
Public Attributes | |
std::string | address |
Ip address. | |
int | port |
Port number. |
Service endpoint description.