| libzypp 17.36.7
    | 
#include <zypp-curl/ng/network/curlmultiparthandler.h>
 
  
| Public Member Functions | |
| virtual | ~CurlMultiPartDataReceiver ()=default | 
| virtual size_t | headerfunction (char *ptr, size_t bytes)=0 | 
| virtual size_t | writefunction (char *ptr, std::optional< off_t > offset, size_t bytes)=0 | 
| virtual bool | beginRange (off_t range, std::string &cancelReason) | 
| virtual bool | finishedRange (off_t range, bool validated, std::string &cancelReason) | 
| virtual void | notifyErrorCodeChanged () | 
Data receiver interface for the CurlMultiPartHandler class.
Definition at line 19 of file curlmultiparthandler.h.
| 
 | virtualdefault | 
| 
 | pure virtual | 
Called for all received header data, after it was processed by the CurlMultiPartHandler.
Implemented in zypp::media::multifetchworker, and zyppng::NetworkRequestPrivate.
| 
 | pure virtual | 
Data callback func, this is called whenever there is actual data to be written to the file. If offset is set, usually when starting to write a new range, it means to continue to write on the current file pointer position, otherwise seek to the given one.
Implemented in zypp::media::multifetchworker, and zyppng::NetworkRequestPrivate.
| 
 | inlinevirtual | 
Called everytime a new range is about to be written, returning false from the function will immediately cancel the request and not write anything to the file.
| range | The index of the range that is to be started | 
| cancelReason | Set to indicate why the request was cancelled. | 
Reimplemented in zypp::media::multifetchworker.
Definition at line 42 of file curlmultiparthandler.h.
| 
 | inlinevirtual | 
Called everytime a range was finished, returning false from the function will cancel the request.
| range | The index of the range that was finished | 
| validated | Indicates of the range data could be validated against its given checksum | 
| cancelReason | Set to indicate why the request was cancelled. | 
Reimplemented in zypp::media::multifetchworker.
Definition at line 54 of file curlmultiparthandler.h.
| 
 | inlinevirtual | 
Called everytime the error code changes, this is just to notify that a error was set
Reimplemented in zyppng::NetworkRequestPrivate.
Definition at line 59 of file curlmultiparthandler.h.