#include <C4NetIO.h>
Public Member Functions | |
virtual bool | OnConn (const addr_t &AddrPeer, const addr_t &AddrConnect, const addr_t *pOwnAddr, C4NetIO *pNetIO) |
virtual void | OnDisconn (const addr_t &AddrPeer, C4NetIO *pNetIO, const char *szReason) |
virtual void | OnPacket (const class C4NetIOPacket &rPacket, C4NetIO *pNetIO)=0 |
virtual | ~CBClass ()=default |
|
virtualdefault |
|
inlinevirtual |
Reimplemented in C4Network2IO, and C4NetIO::CBProxy< T >.
Definition at line 221 of file C4NetIO.h.
Referenced by C4NetIOTCP::Accept(), and C4NetIOUDP::Peer::OnConn().
|
inlinevirtual |
Reimplemented in C4Network2IO, MyCBClass, and C4NetIO::CBProxy< T >.
Definition at line 222 of file C4NetIO.h.
Referenced by C4NetIOTCP::Close(), C4NetIOSimpleUDP::Execute(), C4NetIOTCP::Execute(), and C4NetIOUDP::Peer::OnClose().
|
pure virtual |
Implemented in C4Network2IODiscoverClient, C4Network2IODiscover, C4NetIO::CBProxy< T >, and MyCBClass.
Referenced by C4NetIOSimpleUDP::Execute(), and C4NetIOTCP::UnpackPacket().