MistServer  2.5.3-Pro-19-gf5e75b1 ( Generic_64)
controller_connectors.h
Go to the documentation of this file.
1 #include <mist/json.h>
2 
3 namespace Controller {
4 
6  void UpdateProtocol(std::string protocol);
7 
10 
11 }
Holds everything unique to the controller.
Definition: controller_api.h:4
A JSON::Value is either a string or an integer, but may also be an object, array or null...
Definition: json.h:21
JSON::Value capabilities
Global storage of capabilities.
Definition: controller_capabilities.cpp:12
void UpdateProtocol(std::string protocol)
Checks if the binary mentioned in the protocol argument is currently active, if so, restarts it.
Definition: controller_connectors.cpp:26
bool CheckProtocols(JSON::Value &p, const JSON::Value &capabilities)
Checks current protocol configuration, updates state of enabled connectors if neccessary.
Definition: controller_connectors.cpp:88