libzypp 17.37.17
|
#include <zypp-media/ng/private/provideitem_p.h>
Public Member Functions | |
ProvideItem * | owner () |
uint | code () const |
void | setCurrentQueue (ProvideQueueRef ref) |
ProvideQueueRef | currentQueue () |
const ProvideMessage & | provideMessage () const |
ProvideMessage & | provideMessage () |
const std::optional< zypp::Url > | activeUrl () const |
Returns the currenty active URL as set by the scheduler. | |
void | setActiveUrl (const zypp::Url &urlToUse) |
void | setOrigin (zypp::MirroredOrigin origin) |
const zypp::MirroredOrigin & | origin () const |
zypp::Url | url () const |
void | setUrl (const zypp::Url &url) |
void | clearForRestart () |
Static Public Member Functions | |
static expected< ProvideRequestRef > | create (ProvideItem &owner, const zypp::MirroredOrigin &origin, const std::string &id, ProvideMediaSpec &spec) |
static expected< ProvideRequestRef > | create (ProvideItem &owner, const zypp::MirroredOrigin &origin, ProvideFileSpec &spec) |
static expected< ProvideRequestRef > | createDetach (const zypp::Url &url) |
Private Member Functions | |
ProvideRequest (ProvideItem *owner, zypp::MirroredOrigin origin, ProvideMessage &&msg) |
Private Attributes | |
ProvideItem * | _owner = nullptr |
ProvideMessage | _message |
zypp::MirroredOrigin | _origin |
std::vector< zypp::Url > | _pastRedirects |
std::optional< zypp::Url > | _activeUrl |
ProvideQueueWeakRef | _myQueue |
Friends | |
class | ProvideItem |
The internal request type, which represents all possible user requests and exports some convenience functions for the scheduler to directly access relevant data
Definition at line 36 of file provideitem_p.h.
|
inlineprivate |
Definition at line 85 of file provideitem_p.h.
|
static |
Definition at line 27 of file provideitem.cc.
|
static |
Definition at line 48 of file provideitem.cc.
Definition at line 75 of file provideitem.cc.
|
inline |
Definition at line 45 of file provideitem_p.h.
|
inline |
Definition at line 47 of file provideitem_p.h.
void zyppng::ProvideRequest::setCurrentQueue | ( | ProvideQueueRef | ref | ) |
Definition at line 503 of file provideitem.cc.
ProvideQueueRef zyppng::ProvideRequest::currentQueue | ( | ) |
Definition at line 508 of file provideitem.cc.
|
inline |
Definition at line 52 of file provideitem_p.h.
|
inline |
Definition at line 53 of file provideitem_p.h.
const std::optional< zypp::Url > zyppng::ProvideRequest::activeUrl | ( | ) | const |
Returns the currenty active URL as set by the scheduler.
Definition at line 513 of file provideitem.cc.
void zyppng::ProvideRequest::setActiveUrl | ( | const zypp::Url & | urlToUse | ) |
Definition at line 544 of file provideitem.cc.
|
inline |
Definition at line 61 of file provideitem_p.h.
|
inline |
Definition at line 65 of file provideitem_p.h.
|
inline |
Definition at line 69 of file provideitem_p.h.
|
inline |
Definition at line 73 of file provideitem_p.h.
|
inline |
Definition at line 78 of file provideitem_p.h.
|
friend |
Definition at line 39 of file provideitem_p.h.
|
private |
Definition at line 86 of file provideitem_p.h.
|
private |
Definition at line 87 of file provideitem_p.h.
|
private |
Definition at line 88 of file provideitem_p.h.
|
private |
Definition at line 89 of file provideitem_p.h.
|
private |
Definition at line 90 of file provideitem_p.h.
|
private |
Definition at line 91 of file provideitem_p.h.