libzypp 17.31.23
|
The Downloader class. More...
#include </home/abuild/rpmbuild/BUILD/libzypp-17.31.23/zypp-curl/ng/network/downloader.h>
Public Types | |
using | Ptr = DownloaderRef |
using | WeakPtr = DownloaderWeakRef |
Public Member Functions | |
Downloader () | |
Downloader (std::shared_ptr< MirrorControl > mc) | |
virtual | ~Downloader () |
std::shared_ptr< Download > | downloadFile (const DownloadSpec &spec) |
std::shared_ptr< NetworkRequestDispatcher > | requestDispatcher () const |
SignalProxy< void(Downloader &parent, Download &download)> | sigStarted () |
SignalProxy< void(Downloader &parent, Download &download)> | sigFinished () |
SignalProxy< void(Downloader &parent)> | queueEmpty () |
The Downloader class.
Provides a high level interface to the
Definition at line 38 of file downloader.h.
using zyppng::Downloader::Ptr = DownloaderRef |
Definition at line 43 of file downloader.h.
using zyppng::Downloader::WeakPtr = DownloaderWeakRef |
Definition at line 44 of file downloader.h.
zyppng::Downloader::Downloader | ( | ) |
Definition at line 369 of file downloader.cc.
zyppng::Downloader::Downloader | ( | std::shared_ptr< MirrorControl > | mc | ) |
Definition at line 375 of file downloader.cc.
|
virtual |
Definition at line 379 of file downloader.cc.
std::shared_ptr< Download > zyppng::Downloader::downloadFile | ( | const DownloadSpec & | spec | ) |
Generates a new Download object in waiting state
Definition at line 388 of file downloader.cc.
std::shared_ptr< NetworkRequestDispatcher > zyppng::Downloader::requestDispatcher | ( | ) | const |
Returns the internally used
Definition at line 400 of file downloader.cc.
SignalProxy< void(Downloader &parent, Download &download)> zyppng::Downloader::sigStarted | ( | ) |
Emitted when a
Definition at line 405 of file downloader.cc.
SignalProxy< void(Downloader &parent, Download &download)> zyppng::Downloader::sigFinished | ( | ) |
Signal that is emitted when a
Definition at line 410 of file downloader.cc.
SignalProxy< void(Downloader &parent)> zyppng::Downloader::queueEmpty | ( | ) |
Signal is always emitted when there are not Downloads anymore waiting in the queue
Definition at line 415 of file downloader.cc.