libzypp 17.31.23
|
Static Public Attributes | |
static constexpr auto | stateId = Download::DlMetaLinkInfo |
Protected Member Functions | |
virtual void | handleRequestProgress (NetworkRequest &req, off_t dltotal, off_t dlnow) override |
Protected Member Functions inherited from zyppng::BasicDownloaderStateBase | |
void | startWithMirror (MirrorControl::MirrorHandle mirror, const zypp::Url &url, const TransferSettings &set) |
void | startWithoutMirror () |
void | startRequest () |
virtual void | handleRequestProgress (NetworkRequest &req, off_t dltotal, off_t dlnow) |
Protected Attributes | |
MetaDataType | _detectedMetaType = MetaDataType::None |
Signal< void() > | _sigGotMetadata |
Protected Attributes inherited from zyppng::BasicDownloaderStateBase | |
NetworkRequestError | _error |
Signal< void() > | _sigFinished |
Signal< void() > | _sigFailed |
Private Attributes | |
bool | _fallbackMilWritten = false |
Additional Inherited Members | |
Public Types inherited from zyppng::BasicDownloaderStateBase | |
using | Request = DownloadPrivateBase::Request |
Public Types inherited from zyppng::MirrorHandlingStateBase | |
enum | PrepareResult { Failed , Ok , Delayed } |
Public Attributes inherited from zyppng::BasicDownloaderStateBase | |
std::shared_ptr< Request > | _request |
std::optional< std::string > | _chksumtype |
std::optional< UByteArray > | _chksumVec |
Public Attributes inherited from zyppng::MirrorHandlingStateBase | |
std::vector< Url > | _fileMirrors |
State to download the actual metalink file, we can however not be 100% sure that we actually will get a metalink file, so we need to check the content type or in bad cases the data we get from the server.
Definition at line 37 of file metalinkinfo_p.h.
zyppng::DlMetaLinkInfoState::DlMetaLinkInfoState | ( | DownloadPrivate & | parent | ) |
Definition at line 62 of file metalinkinfo_p.cc.
zyppng::DlMetaLinkInfoState::DlMetaLinkInfoState | ( | std::shared_ptr< Request > && | prevRequest, |
DownloadPrivate & | parent | ||
) |
Definition at line 68 of file metalinkinfo_p.cc.
|
inline |
Definition at line 43 of file metalinkinfo_p.h.
|
inline |
Definition at line 46 of file metalinkinfo_p.h.
|
inline |
Definition at line 49 of file metalinkinfo_p.h.
std::shared_ptr< FinishedState > zyppng::DlMetaLinkInfoState::transitionToFinished | ( | ) |
Definition at line 74 of file metalinkinfo_p.cc.
std::shared_ptr< PrepareMultiState > zyppng::DlMetaLinkInfoState::transitionToPrepareMulti | ( | ) |
Definition at line 80 of file metalinkinfo_p.cc.
|
overridevirtual |
Reimplemented from zyppng::BasicDownloaderStateBase.
Definition at line 89 of file metalinkinfo_p.cc.
|
overridevirtual |
Reimplemented from zyppng::BasicDownloaderStateBase.
Definition at line 96 of file metalinkinfo_p.cc.
|
overrideprotectedvirtual |
Reimplemented from zyppng::BasicDownloaderStateBase.
Definition at line 123 of file metalinkinfo_p.cc.
|
staticconstexpr |
Definition at line 38 of file metalinkinfo_p.h.
|
protected |
Definition at line 60 of file metalinkinfo_p.h.
|
protected |
Definition at line 61 of file metalinkinfo_p.h.
|
private |
Definition at line 66 of file metalinkinfo_p.h.