HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NET_Performance::net_PacketConnectionHandler Class Reference

#include <NET_Performance.h>

+ Inheritance diagram for NET_Performance::net_PacketConnectionHandler:

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_PacketSocketsocket ()
 
- 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_NonCopyableoperator= (const UT_NonCopyable &)=delete
 
- Protected Attributes inherited from NET_ConnectionHandler
NET_ConnectionManagermyConnectionManager
 
UT_UniquePtr< NET_InfoCallbackmyInfoCallback
 

Detailed Description

Definition at line 29 of file NET_Performance.h.

Constructor & Destructor Documentation

NET_Performance::net_PacketConnectionHandler::net_PacketConnectionHandler ( NET_ConnectionManager mgr,
ASIO_TCPSocket  socket 
)
inline

Definition at line 32 of file NET_Performance.h.

Member Function Documentation

void NET_Performance::net_PacketConnectionHandler::onPacket ( UT_WorkBuffer &&  data)
overridevirtual

Called each time the socket has read a full packet that is ready to be handled.

Implements NET_IPacketConnectionHandler.


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