Rest of software updater, ready to test...

This commit is contained in:
Adam Ierymenko 2013-12-10 15:30:53 -08:00
parent 612c17240a
commit bf0da9f2f7
10 changed files with 361 additions and 11 deletions

View file

@ -97,9 +97,24 @@ public:
*/
enum ReasonForTermination
{
/**
* Node is currently in run()
*/
NODE_RUNNING = 0,
/**
* Node is shutting down for normal reasons, including a signal
*/
NODE_NORMAL_TERMINATION = 1,
NODE_RESTART_FOR_RECONFIGURATION = 2,
/**
* An upgrade is available. Its path is in reasonForTermination().
*/
NODE_RESTART_FOR_UPGRADE = 2,
/**
* A serious unrecoverable error has occurred.
*/
NODE_UNRECOVERABLE_ERROR = 3
};