Added ability for controller to restart without restarting connectors simultaneously

This commit is contained in:
Thulinma 2017-01-02 12:11:05 +01:00
parent 707c055ba5
commit 0ece6d8f26
3 changed files with 81 additions and 1 deletions

View file

@ -8,4 +8,20 @@ namespace Controller {
/// Checks current protocol configuration, updates state of enabled connectors if neccesary.
bool CheckProtocols(JSON::Value & p, const JSON::Value & capabilities);
/// Updates the shared memory page with active connectors
void saveActiveConnectors();
/// Reads active connectors from the shared memory pages
void loadActiveConnectors();
/// Deletes the shared memory page with connector information
/// in preparation of shutdown.
void prepareActiveConnectorsForShutdown();
/// Forgets all active connectors, preventing them from being killed,
/// in preparation of reload.
void prepareActiveConnectorsForReload();
}