EHS
Loading...
Searching...
No Matches
ehs::EHC Class Reference

#include <EHC.h>

Public Member Functions

 ~EHC ()
 
 EHC (IP version=IP::V6)
 
 EHC (EHC &&sock) noexcept
 
 EHC (const EHC &sock)
 
EHCoperator= (EHC &&sock) noexcept
 
EHCoperator= (const EHC &sock)
 
void Initialize ()
 
void Release ()
 
void Bind (const Endpoint &endpoint)
 
void Poll ()
 
bool IsInitialized () const
 
Endpoint GetLocalEndpoint () const
 
bool IsBound () const
 
bool AddEncryption (NetEnc *enc)
 
bool HasServer (UInt_64 serverId) const
 
bool HasServer (const Str_8 &serverName) const
 
bool AddServer (NetServerCh *server)
 
NetServerChGetServer (UInt_64 serverId) const
 
NetServerChGetServer (const Str_8 &serverName) const
 
bool HasClient (UInt_64 clientId) const
 
bool HasClient (const Str_8 &clientName) const
 
bool AddClient (NetClientCh *channel)
 
NetClientChGetClient (UInt_64 clientId) const
 
NetClientChGetClient (const Str_8 &clientName) const
 

Static Public Member Functions

static Version GetVersion ()
 

Friends

class NetEnc
 
class NetChannel
 
class NetServerCh
 
class NetClientCh
 
class NetEnd
 

Constructor & Destructor Documentation

◆ ~EHC()

ehs::EHC::~EHC ( )

◆ EHC() [1/3]

ehs::EHC::EHC ( IP version = IP::V6)

◆ EHC() [2/3]

ehs::EHC::EHC ( EHC && sock)
noexcept

◆ EHC() [3/3]

ehs::EHC::EHC ( const EHC & sock)

Member Function Documentation

◆ AddClient()

bool ehs::EHC::AddClient ( NetClientCh * channel)

◆ AddEncryption()

bool ehs::EHC::AddEncryption ( NetEnc * enc)

◆ AddServer()

bool ehs::EHC::AddServer ( NetServerCh * server)

◆ Bind()

void ehs::EHC::Bind ( const Endpoint & endpoint)

◆ GetClient() [1/2]

NetClientCh * ehs::EHC::GetClient ( const Str_8 & clientName) const

◆ GetClient() [2/2]

NetClientCh * ehs::EHC::GetClient ( UInt_64 clientId) const

◆ GetLocalEndpoint()

Endpoint ehs::EHC::GetLocalEndpoint ( ) const

◆ GetServer() [1/2]

NetServerCh * ehs::EHC::GetServer ( const Str_8 & serverName) const

◆ GetServer() [2/2]

NetServerCh * ehs::EHC::GetServer ( UInt_64 serverId) const

◆ GetVersion()

Version ehs::EHC::GetVersion ( )
static

◆ HasClient() [1/2]

bool ehs::EHC::HasClient ( const Str_8 & clientName) const

◆ HasClient() [2/2]

bool ehs::EHC::HasClient ( UInt_64 clientId) const

◆ HasServer() [1/2]

bool ehs::EHC::HasServer ( const Str_8 & serverName) const

◆ HasServer() [2/2]

bool ehs::EHC::HasServer ( UInt_64 serverId) const

◆ Initialize()

void ehs::EHC::Initialize ( )

◆ IsBound()

bool ehs::EHC::IsBound ( ) const

◆ IsInitialized()

bool ehs::EHC::IsInitialized ( ) const

◆ operator=() [1/2]

EHC & ehs::EHC::operator= ( const EHC & sock)

◆ operator=() [2/2]

EHC & ehs::EHC::operator= ( EHC && sock)
noexcept

◆ Poll()

void ehs::EHC::Poll ( )

◆ Release()

void ehs::EHC::Release ( )

Friends And Related Symbol Documentation

◆ NetChannel

friend class NetChannel
friend

◆ NetClientCh

friend class NetClientCh
friend

◆ NetEnc

friend class NetEnc
friend

◆ NetEnd

friend class NetEnd
friend

◆ NetServerCh

friend class NetServerCh
friend

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