|
MistServer
2.5.3-Pro-19-gf5e75b1 ( Generic_64)
|
Contains all code for the controller updater. More...
#include <fstream>#include <iostream>#include <unistd.h>#include <sys/stat.h>#include <stdlib.h>#include <time.h>#include <signal.h>#include <mist/http_parser.h>#include <mist/socket.h>#include <mist/auth.h>#include <mist/timing.h>#include <mist/config.h>#include "controller_storage.h"#include "controller_connectors.h"#include "controller_updater.h"Namespaces | |
| Controller | |
| Holds everything unique to the controller. | |
Functions | |
| JSON::Value | Controller::CheckUpdateInfo () |
| void | Controller::CheckUpdates () |
| Calls CheckUpdateInfo(), uses the resulting JSON::Value to download any needed updates. More... | |
| std::string | Controller::readFile (std::string filename) |
| void | Controller::updateComponent (const std::string &component, const std::string &md5sum, Socket::Connection &updrConn) |
| Attempts to download an update for the listed component. More... | |
| bool | Controller::writeFile (std::string filename, std::string &contents) |
Variables | |
| bool | Controller::restarting = false |
| Signals if the controller is shutting down (false) or restarting (true). More... | |
| std::string | Controller::uniqId |
| JSON::Value | Controller::updates |
Contains all code for the controller updater.
1.8.11