Nexus Engine  v0.0.1
Loading...
Searching...
No Matches
Nexus::Network::NetworkAddress Class Referenceexport

Public Member Functions

 NetworkAddress ()=default
 NetworkAddress (std::string host, uint16 port)
const std::string & Host () const noexcept
uint16 Port () const noexcept
bool IsLocal () const noexcept
bool operator== (const NetworkAddress &other) const noexcept

Constructor & Destructor Documentation

◆ NetworkAddress() [1/2]

Nexus::Network::NetworkAddress::NetworkAddress ( )
default

◆ NetworkAddress() [2/2]

Nexus::Network::NetworkAddress::NetworkAddress ( std::string host,
uint16 port )
inline

Member Function Documentation

◆ Host()

const std::string & Nexus::Network::NetworkAddress::Host ( ) const
nodiscardnoexcept

◆ IsLocal()

bool Nexus::Network::NetworkAddress::IsLocal ( ) const
nodiscardnoexcept

◆ operator==()

bool Nexus::Network::NetworkAddress::operator== ( const NetworkAddress & other) const
nodiscardnoexcept

◆ Port()

uint16 Nexus::Network::NetworkAddress::Port ( ) const
nodiscardnoexcept

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