MistServer  2.5.3-Pro-19-gf5e75b1 ( Generic_64)
Namespaces | Functions | Variables
controller_connectors.cpp File Reference
#include <stdio.h>
#include <string>
#include <cstring>
#include <sys/stat.h>
#include <mist/json.h>
#include <mist/config.h>
#include <mist/procs.h>
#include <mist/timing.h>
#include <mist/tinythread.h>
#include <mist/defines.h>
#include "controller_storage.h"
#include "controller_connectors.h"
#include <mist/triggers.h>
#include <iostream>
#include <unistd.h>

Namespaces

 Controller
 Holds everything unique to the controller.
 

Functions

static void Controller::buildPipedArguments (JSON::Value &p, char *argarr[], const JSON::Value &capabilities)
 
static void Controller::builPipedPart (JSON::Value &p, char *argarr[], int &argnum, const JSON::Value &argset)
 
bool Controller::CheckProtocols (JSON::Value &p, const JSON::Value &capabilities)
 Checks current protocol configuration, updates state of enabled connectors if neccessary. More...
 
void Controller::UpdateProtocol (std::string protocol)
 Checks if the binary mentioned in the protocol argument is currently active, if so, restarts it. More...
 

Variables

static std::map< std::string, pid_t > Controller::currentConnectors
 The currently running connectors. More...