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