#include </home/abuild/rpmbuild/BUILD/libzypp-17.31.23/zypp-media/ng/worker/mountingworker.h>
|
| MountingWorker (std::string_view workerName, DeviceDriverRef driver) |
|
| ~MountingWorker () |
|
void | immediateShutdown () override |
|
| ProvideWorker (std::string_view workerName) |
|
virtual | ~ProvideWorker () |
|
RpcMessageStream::Ptr | messageStream () const |
|
expected< void > | run (int recv=STDIN_FILENO, int send=STDOUT_FILENO) |
|
std::deque< ProvideWorkerItemRef > & | requestQueue () |
|
virtual void | immediateShutdown () |
|
MediaChangeRes | requestMediaChange (const uint32_t id, const std::string &label, const int32_t mediaNr, const std::vector< std::string > &devices, const std::optional< std::string > &desc={}) |
|
expected< AuthInfo > | requireAuthorization (const uint32_t id, const zypp::Url &url, const std::string &lastTriedUsername="", const int64_t lastTimestamp=-1, const std::map< std::string, std::string > &extraFields={}) |
|
ProvideNotificatioMode | provNotificationMode () const |
|
void | setProvNotificationMode (const ProvideNotificatioMode &provNotificationMode) |
|
|
zyppng::expected< zyppng::worker::WorkerCaps > | initialize (const zyppng::worker::Configuration &conf) override |
|
void | provide () override |
|
void | cancel (const std::deque< zyppng::worker::ProvideWorkerItemRef >::iterator &i) override |
|
virtual void | initLog () |
|
virtual expected< WorkerCaps > | initialize (const Configuration &conf)=0 |
|
virtual void | provide ()=0 |
|
virtual void | cancel (const std::deque< ProvideWorkerItemRef >::iterator &request)=0 |
|
virtual ProvideWorkerItemRef | makeItem (ProvideMessage &&spec) |
|
void | provideStart (const uint32_t id, const zypp::Url &url, const zypp::Pathname &localFile, const zypp::Pathname &stagingFile={}) |
|
void | provideSuccess (const uint32_t id, bool cacheHit, const zypp::Pathname &localFile, const HeaderValueMap extra={}) |
|
void | provideFailed (const uint32_t id, const uint code, const std::string &reason, const bool transient, const HeaderValueMap extra={}) |
|
void | provideFailed (const uint32_t id, const uint code, const bool transient, const zypp::Exception &e) |
|
void | attachSuccess (const uint32_t id) |
|
void | detachSuccess (const uint32_t id) |
|
void | redirect (const uint32_t id, const zypp::Url &url, const zypp::Pathname &newPath) |
|
AsyncDataSource & | controlIO () |
|
Definition at line 21 of file mountingworker.h.
◆ MountingWorker()
zyppng::worker::MountingWorker::MountingWorker |
( |
std::string_view |
workerName, |
|
|
DeviceDriverRef |
driver |
|
) |
| |
◆ ~MountingWorker()
zyppng::worker::MountingWorker::~MountingWorker |
( |
| ) |
|
◆ immediateShutdown()
void zyppng::worker::MountingWorker::immediateShutdown |
( |
| ) |
|
|
overridevirtual |
◆ initialize()
◆ provide()
void zyppng::worker::MountingWorker::provide |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ cancel()
void zyppng::worker::MountingWorker::cancel |
( |
const std::deque< zyppng::worker::ProvideWorkerItemRef >::iterator & |
i | ) |
|
|
overrideprotected |
◆ _driver
DeviceDriverRef zyppng::worker::MountingWorker::_driver |
|
private |
◆ _devicesDetected
bool zyppng::worker::MountingWorker::_devicesDetected = false |
|
private |
The documentation for this class was generated from the following files: