#include <DaemonImp.hpp>
|
static std::unique_ptr< Daemon > | make_unique (const std::string &endpoint_name, const std::string &db_path) |
|
◆ DaemonImp() [1/3]
geopm::DaemonImp::DaemonImp |
( |
const std::string & |
endpoint_name, |
|
|
const std::string & |
db_path |
|
) |
| |
◆ DaemonImp() [2/3]
geopm::DaemonImp::DaemonImp |
( |
std::shared_ptr< Endpoint > |
endpoint, |
|
|
std::shared_ptr< const PolicyStore > |
policystore |
|
) |
| |
◆ DaemonImp() [3/3]
geopm::DaemonImp::DaemonImp |
( |
const DaemonImp & |
other | ) |
|
|
delete |
◆ ~DaemonImp()
geopm::DaemonImp::~DaemonImp |
( |
| ) |
|
|
virtual |
◆ operator=()
◆ reset_wait_loop()
void geopm::DaemonImp::reset_wait_loop |
( |
| ) |
|
|
overridevirtual |
◆ stop_wait_loop()
void geopm::DaemonImp::stop_wait_loop |
( |
| ) |
|
|
overridevirtual |
◆ update_endpoint_from_policystore()
void geopm::DaemonImp::update_endpoint_from_policystore |
( |
double |
timeout | ) |
|
|
overridevirtual |
Looks up a policy in the Daemon's PolicyStore given the attached Controller's agent and profile name, and writes it back into the policy side of the Daemon's Endpoint. If no policy is found, an error is returned. If the Controller fails to attach within the timeout , or detaches while this function is running, no policy is written.
- Parameters
-
timeout | Range of time within which the Controller must attach. |
Implements geopm::Daemon.
The documentation for this class was generated from the following files: