14#ifndef ZYPP_CURL_NG_NETWORK_PRIVATE_DOWNLOADERSTATES_BASICDOWNLOADER_P_H_INCLUDED
15#define ZYPP_CURL_NG_NETWORK_PRIVATE_DOWNLOADERSTATES_BASICDOWNLOADER_P_H_INCLUDED
19#include <zypp-core/zyppng/base/statemachine.h>
std::pair< std::vector< Url >::const_iterator, MirrorHandle > MirrorPick
std::shared_ptr< Mirror > MirrorHandle
The NetworkRequestError class Represents a error that occured in.
String related utilities and Regular expression matching.
std::optional< UByteArray > _chksumVec
const NetworkRequestError & error() const
virtual void handleRequestProgress(NetworkRequest &req, off_t dltotal, off_t dlnow)
void startWithoutMirror()
std::optional< std::string > _chksumtype
void failedToPrepare() override
virtual void gotFinished()
NetworkRequestError _error
void onRequestProgress(NetworkRequest &, off_t dltotal, off_t dlnow, off_t, off_t)
void onRequestFinished(NetworkRequest &req, const NetworkRequestError &err)
std::shared_ptr< Request > _request
virtual void failed(NetworkRequestError &&err)
void startWithMirror(MirrorControl::MirrorHandle mirror, const zypp::Url &url, const TransferSettings &set)
BasicDownloaderStateBase(DownloadPrivate &parent)
void mirrorReceived(MirrorControl::MirrorPick mirror) override
virtual bool initializeRequest(std::shared_ptr< Request > &r)
Signal< void() > _sigFailed
void onRequestStarted(NetworkRequest &)
Signal< void() > _sigFinished