14#ifndef ZYPP_CURL_NG_NETWORK_PRIVATE_DOWNLOADERSTATES_PREPAREMULTI_P_H_INCLUDED
15#define ZYPP_CURL_NG_NETWORK_PRIVATE_DOWNLOADERSTATES_PREPAREMULTI_P_H_INCLUDED
18#include <zypp-core/zyppng/base/statemachine.h>
20#include <zypp-curl/parser/MediaBlockList>
24 struct DlNormalFileState;
25 struct DlMetalinkState;
28#if ENABLE_ZCHUNK_COMPRESSION
29 struct DLZckHeadState;
37 struct PrepareMultiState :
public zyppng::SimpleState< DownloadPrivate, Download::PrepareMulti, false > {
68#if ENABLE_ZCHUNK_COMPRESSION
69 std::shared_ptr<DLZckHeadState> transitionToZckHeadDl ();
70 bool toZckHeadDownloadGuard ()
const;
82#if ENABLE_ZCHUNK_COMPRESSION
83 bool _haveZckData =
false;
The NetworkRequestError class Represents a error that occured in.
SignalProxy< void() > sigFallback()
NetworkRequestError _error
SignalProxy< void() > sigFailed()
SignalProxy< void() > sigFinished()
Signal< void() > _sigFailed
std::vector< Url > _mirrors
std::shared_ptr< DlNormalFileState > fallbackToNormalTransition()
std::shared_ptr< FinishedState > transitionToFinished()
sigc::connection _mirrorControlReadyConn
std::shared_ptr< DlMetalinkState > transitionToMetalinkDl()
Signal< void() > _sigFinished
bool toMetalinkDownloadGuard() const
zypp::media::MediaBlockList _blockList
Signal< void() > _sigFallback
std::shared_ptr< Request > _oldRequest
const NetworkRequestError & error() const