Cuberite
A lightweight, fast and extensible game server for Minecraft
Public Member Functions | List of all members
cTransferEncodingParser::cCallbacks Class Referenceabstract

#include <TransferEncodingParser.h>

Inheritance diagram for cTransferEncodingParser::cCallbacks:
Inheritance graph
[legend]

Public Member Functions

virtual void OnBodyData (const void *a_Data, size_t a_Size)=0
 Called for each chunk of the incoming body data. More...
 
virtual void OnBodyFinished (void)=0
 Called when the entire body has been reported by OnBodyData(). More...
 
virtual void OnError (const AString &a_ErrorDescription)=0
 Called when an error has occured while parsing. More...
 
virtual ~cCallbacks ()
 

Detailed Description

Definition at line 24 of file TransferEncodingParser.h.

Constructor & Destructor Documentation

◆ ~cCallbacks()

virtual cTransferEncodingParser::cCallbacks::~cCallbacks ( )
inlinevirtual

Definition at line 28 of file TransferEncodingParser.h.

Member Function Documentation

◆ OnBodyData()

virtual void cTransferEncodingParser::cCallbacks::OnBodyData ( const void *  a_Data,
size_t  a_Size 
)
pure virtual

Called for each chunk of the incoming body data.

Implemented in cHTTPMessageParser.

◆ OnBodyFinished()

virtual void cTransferEncodingParser::cCallbacks::OnBodyFinished ( void  )
pure virtual

Called when the entire body has been reported by OnBodyData().

Implemented in cHTTPMessageParser.

◆ OnError()

virtual void cTransferEncodingParser::cCallbacks::OnError ( const AString a_ErrorDescription)
pure virtual

Called when an error has occured while parsing.

Implemented in cHTTPMessageParser.


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