45 bool ensure, UInt_64 sysHashId, UInt_64 opHashId,
49 bool ensure,
const Str_8 &sysId,
const Str_8 &opId,
89 void GenerateToken(
Char_8 in[64]);
91 void UpdateQueue(UInt_64 active);
95 bool RemoveEndpoint(
const Char_8 token[64]);
97 bool RemoveEndpoint(
const Endpoint &endpoint);
99 bool RemoveEndpoint(
const NetEnd* end);
101 void Poll(
const float &delta)
override;
NetChannel()
Definition NetChannel.cpp:25
NetServerCh & operator=(NetServerCh &&server) noexcept
Definition NetServerCh.cpp:36
UInt_64 GetEndpointsCount(NetStatus endStatus)
Definition NetServerCh.cpp:265
NetServerCh()
Definition NetServerCh.cpp:14
UInt_64 GetMaxEndpoints() const
Definition NetServerCh.cpp:276
Array< NetEnd * > GetEndpoints(NetStatus endStatus)
Definition NetServerCh.cpp:251
virtual Serializer< UInt_64 > OnEndpointAccepted(NetEnd *endpoint)
Definition NetServerCh.cpp:76
bool HasEndpoint(NetStatus endStatus, const Char_8 token[64]) const
Definition NetServerCh.cpp:121
virtual void OnEndpointDisconnect(NetEnd *endpoint, Serializer< UInt_64 > payload)
Definition NetServerCh.cpp:81
friend class EHC
Definition NetServerCh.h:12
~NetServerCh() override
Definition NetServerCh.cpp:9
virtual bool OnEndpointConnect(NetEnd *endpoint, Serializer< UInt_64 > payload)
Definition NetServerCh.cpp:71
NetEnd * GetEndpoint(NetStatus endStatus, const Char_8 token[64]) const
Definition NetServerCh.cpp:186
virtual Serializer< UInt_64 > OnShutdown()
Definition NetServerCh.cpp:93
void Broadcast(NetStatus endStatus, bool deltaLocked, UInt_64 encHashId, bool ensure, UInt_64 sysHashId, UInt_64 opHashId, const Serializer< UInt_64 > &payload)
Definition NetServerCh.cpp:103
virtual void OnEndpointActive(NetEnd *endpoint)
Definition NetServerCh.cpp:89
virtual void OnEndpointTimeout(NetEnd *endpoint)
Definition NetServerCh.cpp:85
Definition Serializer.h:25
A helper class for storing version major, minor and patch.
Definition Version.h:9
NetStatus
Definition NetUtils.h:8
char Char_8
Definition Types.h:40
Str< Char_8, UInt_64 > Str_8
Definition Str.h:1902