libzypp
17.34.1
|
#include <zypp-media/ng/private/providemessage_p.h>
Public Types | |
enum | WorkerType { Invalid = 0, Downloading = 1, SimpleMount = 2, VolatileMount = 3, CPUBound = 4 } |
enum | Flags { None = 0, SingleInstance = 1, Pipeline = 2, ZyppLogFormat = 4, FileArtifacts = 8 } |
Public Member Functions | |
WorkerCaps () | |
~WorkerCaps () | |
WorkerCaps (const WorkerCaps &)=default | |
WorkerCaps (WorkerCaps &&)=default | |
WorkerCaps & | operator= (const WorkerCaps &)=default |
WorkerCaps & | operator= (WorkerCaps &&)=default |
uint32_t | protocol_version () const |
WorkerType | worker_type () const |
Flags | cfg_flags () const |
const std::string & | worker_name () const |
void | set_protocol_version (uint32_t v) |
void | set_worker_type (WorkerType t) |
void | set_cfg_flags (Flags f) |
void | set_worker_name (std::string name) |
![]() | |
RpcBaseType ()=default | |
virtual | ~RpcBaseType ()=default |
RpcBaseType (const RpcBaseType &)=default | |
RpcBaseType (RpcBaseType &&)=default | |
RpcBaseType & | operator= (const RpcBaseType &)=default |
RpcBaseType & | operator= (RpcBaseType &&)=default |
virtual const std::string & | typeName () const =0 |
virtual bool | deserialize (const std::string &data)=0 |
virtual void | serializeInto (std::string &str) const =0 |
virtual std::string | serialize () const |
Private Attributes | |
zypp::RWCOW_pointer< zypp::proto::Capabilities > | _data |
Definition at line 381 of file providemessage_p.h.
The worker type, see the description in Worker Types above
Enumerator | |
---|---|
Invalid | |
Downloading | |
SimpleMount | |
VolatileMount | |
CPUBound |
Definition at line 386 of file providemessage_p.h.
Enumerator | |
---|---|
None | |
SingleInstance | |
Pipeline | |
ZyppLogFormat | |
FileArtifacts |
Definition at line 394 of file providemessage_p.h.
|
explicit |
Worker Capabilities , sent by the workers to the provider
Definition at line 59 of file providemessage.cc.
zyppng::WorkerCaps::~WorkerCaps | ( | ) |
Definition at line 65 of file providemessage.cc.
|
default |
|
default |
|
default |
|
default |
uint32_t zyppng::WorkerCaps::protocol_version | ( | ) | const |
Definition at line 68 of file providemessage.cc.
WorkerCaps::WorkerType zyppng::WorkerCaps::worker_type | ( | ) | const |
Definition at line 73 of file providemessage.cc.
WorkerCaps::Flags zyppng::WorkerCaps::cfg_flags | ( | ) | const |
Definition at line 78 of file providemessage.cc.
const std::string & zyppng::WorkerCaps::worker_name | ( | ) | const |
Definition at line 83 of file providemessage.cc.
void zyppng::WorkerCaps::set_protocol_version | ( | uint32_t | v | ) |
Definition at line 88 of file providemessage.cc.
void zyppng::WorkerCaps::set_worker_type | ( | WorkerType | t | ) |
Definition at line 93 of file providemessage.cc.
void zyppng::WorkerCaps::set_cfg_flags | ( | Flags | f | ) |
Definition at line 98 of file providemessage.cc.
void zyppng::WorkerCaps::set_worker_name | ( | std::string | name | ) |
Definition at line 103 of file providemessage.cc.
|
private |
Definition at line 422 of file providemessage_p.h.