|
libzypp
17.35.14
|
#include <zypp-curl/ng/network/private/downloader_p.h>

Public Member Functions | |
| DownloadPrivate (Downloader &parent, std::shared_ptr< NetworkRequestDispatcher > requestDispatcher, std::shared_ptr< MirrorControl > mirrors, DownloadSpec &&spec, Download &p) | |
| void | start () |
| void | init () override |
Public Member Functions inherited from zyppng::DownloadPrivateBase | |
| DownloadPrivateBase (Downloader &parent, std::shared_ptr< NetworkRequestDispatcher > requestDispatcher, std::shared_ptr< MirrorControl > mirrors, DownloadSpec &&spec, Download &p) | |
| ~DownloadPrivateBase () override | |
| bool | handleRequestAuthError (const std::shared_ptr< Request > &req, const zyppng::NetworkRequestError &err) |
| NetworkRequestError | safeFillSettingsFromURL (const Url &url, TransferSettings &set) |
Public Member Functions inherited from zyppng::BasePrivate | |
| BasePrivate (Base &b) | |
| virtual | ~BasePrivate () |
Public Member Functions inherited from zyppng::Statemachine< Derived, StateId, Transitions > | |
| Statemachine () | |
| virtual | ~Statemachine () |
| void | start () |
| template<typename Func > | |
| auto | visitState (Func &&f) |
| std::optional< StateId > | currentState () const |
| std::optional< StateId > | previousState () const |
| template<typename T > | |
| std::shared_ptr< T > | state () |
| template<typename T > | |
| const std::shared_ptr< T > | state () const |
| template<typename NewState > | |
| void | forceState (std::unique_ptr< NewState > &&nS) |
| SignalProxy< void()> | sigFinished () |
| SignalProxy< void(StateId)> | sigStateChanged () |
Additional Inherited Members | |
Public Types inherited from zyppng::Statemachine< Derived, StateId, Transitions > | |
| using | AllStates = typename detail::make_state_set< Transitions... >::Type |
| using | StateSetHelper = typename detail::make_statewithtransition_set< _InitialState, AllStates, Transitions... > |
| using | FState = typename StateSetHelper::FirstState |
| using | StateSet = typename StateSetHelper::Type |
| using | StatemachineType = Statemachine< Derived, StateId, Transitions... > |
Public Attributes inherited from zyppng::DownloadPrivateBase | |
| bool | _emittedSigStart = false |
| std::shared_ptr< NetworkRequestDispatcher > | _requestDispatcher |
| std::shared_ptr< MirrorControl > | _mirrorControl |
| zypp::media::CredentialManager::CredentialSet | _credCache |
| DownloadSpec | _spec |
| zypp::TriBool | _specHasZckInfo = zypp::indeterminate |
| Downloader * | _parent = nullptr |
| time_t | _lastTriedAuthTime = 0 |
| bool | _stopOnMetalink = false |
| bool | _stoppedOnMetalink = false |
| NetworkRequest::Priority | _defaultSubRequestPriority = NetworkRequest::High |
| Signal< void(Download &req)> | _sigStarted |
| Signal< void(Download &req, Download::State state)> | _sigStateChanged |
| Signal< void(Download &req, off_t dlnow)> | _sigAlive |
| Signal< void(Download &req, off_t dltotal, off_t dlnow)> | _sigProgress |
| Signal< void(Download &req)> | _sigFinished |
| Signal< void(zyppng::Download &req, zyppng::NetworkAuthData &auth, const std::string &availAuth)> | _sigAuthRequired |
Public Attributes inherited from zyppng::BasePrivate | |
| Base::WeakPtr | parent |
| std::unordered_set< Base::Ptr > | children |
| Base * | z_ptr = nullptr |
| std::thread::id | threadId = std::this_thread::get_id() |
Protected Member Functions inherited from zyppng::Statemachine< Derived, StateId, Transitions > | |
| template<typename OldState , typename NewState > | |
| void | enterState (OldState &os, NewState &&nS) |
| template<typename NewState > | |
| void | enterState (NewState &&nS) |
| template<typename State , typename Transition > | |
| auto | makeEventCallback (Transition &transition) |
| template<std::size_t I = 0, typename State , typename ... StateTrans> | |
| void | connectAllTransitions (State &&nS, std::tuple< StateTrans... > &transitions) |
| void | clearConnections () |
Definition at line 89 of file downloader_p.h.
| zyppng::DownloadPrivate::DownloadPrivate | ( | Downloader & | parent, |
| std::shared_ptr< NetworkRequestDispatcher > | requestDispatcher, | ||
| std::shared_ptr< MirrorControl > | mirrors, | ||
| DownloadSpec && | spec, | ||
| Download & | p | ||
| ) |
Definition at line 112 of file downloader.cc.
| void zyppng::DownloadPrivate::start | ( | ) |
Definition at line 127 of file downloader.cc.
|
overridevirtual |
Reimplemented from zyppng::BasePrivate.
Definition at line 116 of file downloader.cc.