OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4NetIO::CBClass Class Referenceabstract

#include <C4NetIO.h>

Inheritance diagram for C4NetIO::CBClass:
[legend]

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 ()
 

Detailed Description

Definition at line 217 of file C4NetIO.h.

Constructor & Destructor Documentation

virtual C4NetIO::CBClass::~CBClass ( )
inlinevirtual

Definition at line 223 of file C4NetIO.h.

223 { }

Member Function Documentation

virtual bool C4NetIO::CBClass::OnConn ( const addr_t AddrPeer,
const addr_t AddrConnect,
const addr_t pOwnAddr,
C4NetIO pNetIO 
)
inlinevirtual

Reimplemented in C4NetIO::CBProxy< T >, C4Network2IO, and C4Network2HTTPClient.

Definition at line 220 of file C4NetIO.h.

Referenced by C4NetIOTCP::Accept(), and C4NetIOUDP::Peer::OnConn().

220 { return true; }

Here is the caller graph for this function:

virtual void C4NetIO::CBClass::OnDisconn ( const addr_t AddrPeer,
C4NetIO pNetIO,
const char *  szReason 
)
inlinevirtual

Reimplemented in C4NetIO::CBProxy< T >, C4Network2IO, C4Network2HTTPClient, and MyCBClass.

Definition at line 221 of file C4NetIO.h.

Referenced by C4NetIOTCP::Close(), C4NetIOTCP::Execute(), C4NetIOSimpleUDP::Execute(), and C4NetIOUDP::Peer::OnClose().

221 { }

Here is the caller graph for this function:

virtual void C4NetIO::CBClass::OnPacket ( const class C4NetIOPacket rPacket,
C4NetIO pNetIO 
)
pure virtual

Implemented in C4NetIO::CBProxy< T >, C4Network2HTTPClient, MyCBClass, C4Network2IODiscoverClient, and C4Network2IODiscover.

Referenced by C4NetIOSimpleUDP::Execute(), and C4NetIOTCP::UnpackPacket().

Here is the caller graph for this function:


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