OnixS EuroTLX MITCH Handler for C++  1.1.0.1
Public Member Functions | Public Attributes | List of all members
ServiceDescriptor Struct Reference

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.
 
unsigned port
 Port number.
 

Detailed Description

Service endpoint description.