28 auto &sm = stateMachine();
29 auto res = sm._mirrorControl->pickBestMirror(
_fileMirrors );
47 auto &sm = stateMachine();
53 settings = sm._spec.settings();
55 if ( myUrl.getHost() != sm._spec.url().getHost() ) {
std::pair< std::vector< Url >::const_iterator, MirrorHandle > MirrorPick
SignalProxy< void()> sigNewMirrorsReady()
The NetworkRequestError class Represents a error that occured in.
Type type() const
type Returns the type of the error
NetworkRequestError setupMirror(const MirrorControl::MirrorPick &pick, Url &url, TransferSettings &set)
virtual void failedToPrepare()
std::vector< Url > _fileMirrors
virtual void mirrorReceived(MirrorControl::MirrorPick mirror)=0
PrepareResult prepareNextMirror()
connection _sigMirrorsReadyConn
virtual ~MirrorHandlingStateBase()
MirrorHandlingStateBase(DownloadPrivate &parent)