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

#include <NetClientCh.h>

Inheritance diagram for ehs::NetClientCh:
ehs::NetChannel

Public Member Functions

 ~NetClientCh ()
 
 NetClientCh ()
 
 NetClientCh (Str_8 name, const Version &version, Endpoint remoteEndpoint)
 
 NetClientCh (NetClientCh &&client) noexcept
 
 NetClientCh (const NetClientCh &client)
 
NetClientChoperator= (NetClientCh &&client) noexcept
 
NetClientChoperator= (const NetClientCh &client)
 
virtual void OnConnected (Serializer< UInt_64 > data)
 
virtual void OnActive (Serializer< UInt_64 > data)
 
virtual void OnQueueUpdate (Serializer< UInt_64 > data)
 
virtual void OnDisconnected (Serializer< UInt_64 > data)
 
virtual void OnRejected (Serializer< UInt_64 > data)
 
virtual void OnTimeout (Serializer< UInt_64 > data)
 
void Connect (const Endpoint &endpoint, const Serializer< UInt_64 > &payload)
 
bool Disconnect (const Serializer< UInt_64 > &payload)
 
void Send (bool deltaLocked, UInt_64 encId, bool ensure, UInt_64 sysId, UInt_64 opId, const Serializer< UInt_64 > &payload)
 
void Send (bool deltaLocked, const Str_8 &encName, bool ensure, const Str_8 &sysName, const Str_8 &opName, const Serializer< UInt_64 > &payload)
 
NetStatus GetStatus () const
 
- Public Member Functions inherited from ehs::NetChannel
virtual ~NetChannel ()
 
 NetChannel ()
 
 NetChannel (Str_8 name, const Version &version)
 
 NetChannel (NetChannel &&channel) noexcept
 
 NetChannel (const NetChannel &channel)
 
NetChanneloperator= (NetChannel &&channel) noexcept
 
NetChanneloperator= (const NetChannel &channel)
 
EHCGetOwner () const
 
UInt_64 GetId () const
 
Str_8 GetName () const
 
Version GetVersion () const
 
void SetMaxTimeout (float seconds)
 
float GetMaxTimeout () const
 
void SetResendRate (float seconds)
 
float GetResendRate () const
 
void EnableDropPackets (bool enable)
 
bool IsDropPacketsEnabled () const
 
bool AddSystem (NetSys *sys)
 
bool IsValid () const
 

Friends

class EHC
 

Additional Inherited Members

- Protected Member Functions inherited from ehs::NetChannel
bool HasSystem (UInt_64 sysId) const
 
bool HasSystem (const Str_8 &sysName) const
 
NetSysGetSystem (UInt_64 sysId) const
 
NetSysGetSystem (const Str_8 &sysName) const
 
- Static Protected Attributes inherited from ehs::NetChannel
static const UInt_64 internalSys = Str_8::Hash_64("Internal")
 
static const UInt_64 connectOp = Str_8::Hash_64("Connect")
 
static const UInt_64 connectedOp = Str_8::Hash_64("Connected")
 
static const UInt_64 rejectedOp = Str_8::Hash_64("Rejected")
 
static const UInt_64 disconnectOp = Str_8::Hash_64("Disconnect")
 
static const UInt_64 disconnectedOp = Str_8::Hash_64("Disconnected")
 
static const UInt_64 statusUpdateOp = Str_8::Hash_64("StatusUpdate")
 
static const UInt_64 pingOp = Str_8::Hash_64("Ping")
 
static const UInt_64 pongOp = Str_8::Hash_64("Pong")
 
static const UInt_64 latencyOp = Str_8::Hash_64("Latency")
 
static const UInt_64 receivedOp = Str_8::Hash_64("Received")
 

Constructor & Destructor Documentation

◆ ~NetClientCh()

ehs::NetClientCh::~NetClientCh ( )

◆ NetClientCh() [1/4]

ehs::NetClientCh::NetClientCh ( )

◆ NetClientCh() [2/4]

ehs::NetClientCh::NetClientCh ( Str_8 name,
const Version & version,
Endpoint remoteEndpoint )

◆ NetClientCh() [3/4]

ehs::NetClientCh::NetClientCh ( NetClientCh && client)
noexcept

◆ NetClientCh() [4/4]

ehs::NetClientCh::NetClientCh ( const NetClientCh & client)

Member Function Documentation

◆ Connect()

void ehs::NetClientCh::Connect ( const Endpoint & endpoint,
const Serializer< UInt_64 > & payload )

◆ Disconnect()

bool ehs::NetClientCh::Disconnect ( const Serializer< UInt_64 > & payload)

◆ GetStatus()

NetStatus ehs::NetClientCh::GetStatus ( ) const

◆ OnActive()

void ehs::NetClientCh::OnActive ( Serializer< UInt_64 > data)
virtual

◆ OnConnected()

void ehs::NetClientCh::OnConnected ( Serializer< UInt_64 > data)
virtual

◆ OnDisconnected()

void ehs::NetClientCh::OnDisconnected ( Serializer< UInt_64 > data)
virtual

◆ OnQueueUpdate()

void ehs::NetClientCh::OnQueueUpdate ( Serializer< UInt_64 > data)
virtual

◆ OnRejected()

void ehs::NetClientCh::OnRejected ( Serializer< UInt_64 > data)
virtual

◆ OnTimeout()

void ehs::NetClientCh::OnTimeout ( Serializer< UInt_64 > data)
virtual

◆ operator=() [1/2]

NetClientCh & ehs::NetClientCh::operator= ( const NetClientCh & client)

◆ operator=() [2/2]

NetClientCh & ehs::NetClientCh::operator= ( NetClientCh && client)
noexcept

◆ Send() [1/2]

void ehs::NetClientCh::Send ( bool deltaLocked,
const Str_8 & encName,
bool ensure,
const Str_8 & sysName,
const Str_8 & opName,
const Serializer< UInt_64 > & payload )

◆ Send() [2/2]

void ehs::NetClientCh::Send ( bool deltaLocked,
UInt_64 encId,
bool ensure,
UInt_64 sysId,
UInt_64 opId,
const Serializer< UInt_64 > & payload )

Friends And Related Symbol Documentation

◆ EHC

friend class EHC
friend

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