HDK
|
#include <NET_Performance.h>
Public Member Functions | |
net_PacketConnectionHandler (NET_ConnectionManager &mgr, ASIO_TCPSocket socket) | |
void | onPacket (UT_WorkBuffer &&data) override |
Public Member Functions inherited from NET_IPacketConnectionHandler | |
NET_IPacketConnectionHandler (NET_ConnectionManager &mgr, ASIO_TCPSocket socket) | |
~NET_IPacketConnectionHandler () override | |
void | start () override |
Public Member Functions inherited from NET_ConnectionHandler | |
virtual | ~NET_ConnectionHandler () |
UT_NON_COPYABLE (NET_ConnectionHandler) | |
void | setInfoCallback (UT_UniquePtr< NET_InfoCallback > info_clb) |
Additional Inherited Members | |
Protected Member Functions inherited from NET_IPacketConnectionHandler | |
virtual void | fail (const hboost::system::error_code &ec, const char *what) |
Called whenever the received ec was an error. More... | |
void | write (const UT_StringHolder &message) |
virtual void | requestStop (bool force) |
NET_PacketSocket & | socket () |
Protected Member Functions inherited from NET_ConnectionHandler | |
NET_ConnectionHandler (NET_ConnectionManager &conn_mgr) | |
Protected Member Functions inherited from UT_NonCopyableNS::UT_NonCopyable | |
UT_NonCopyable ()=default | |
~UT_NonCopyable ()=default | |
UT_NonCopyable (const UT_NonCopyable &)=delete | |
UT_NonCopyable & | operator= (const UT_NonCopyable &)=delete |
Protected Attributes inherited from NET_ConnectionHandler | |
NET_ConnectionManager & | myConnectionManager |
UT_UniquePtr< NET_InfoCallback > | myInfoCallback |
Definition at line 29 of file NET_Performance.h.
|
inline |
Definition at line 32 of file NET_Performance.h.
|
overridevirtual |
Called each time the socket has read a full packet that is ready to be handled.
Implements NET_IPacketConnectionHandler.