Information about the peer. More...
Information about the peer.
Public Member Methods | |
PeerInfo () | |
Default constructor. More... | |
String | GetHostName () const |
Gets the host name. More... | |
Int32 | GetPort () const |
Gets the port. More... | |
bool | SameHost (const PeerInfo &value) const |
Query if is it the Same host. More... | |
bool | SamePort (const PeerInfo &value) const |
Query if is it the Same port. More... | |
PeerInfo | ( | ) |
Default constructor.
String GetHostName | ( | ) | const |
Gets the host name.
Int32 GetPort | ( | ) | const |
Gets the port.
bool SameHost | ( | const PeerInfo & | value | ) | const |
Query if is it the Same host.
value | The value. |
bool SamePort | ( | const PeerInfo & | value | ) | const |
Query if is it the Same port.
value | The value. |