API Guides > ConceptRT 3.x
PeerInfo Class Reference

Information about the peer. More...

Detailed Description

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...
 

Constructor & Destructor Documentation

PeerInfo ( )

Default constructor.

Methods Documentation

String GetHostName ( ) const

Gets the host name.

Returns
The host name.
Int32 GetPort ( ) const

Gets the port.

Returns
The port.
bool SameHost ( const PeerInfo value) const

Query if is it the Same host.

Parameters
valueThe value.
Returns
true if it's the same, false if it isn't.
bool SamePort ( const PeerInfo value) const

Query if is it the Same port.

Parameters
valueThe value.
Returns
true if it's the same, false if it isn't.