9#ifndef HealthChecker_H_
10#define HealthChecker_H_
14#include <Poco/Process.h>
15#include "ProcessInfo.h"
16#include "Configuration.h"
17#include "UInterface.h"
28 explicit HealthChecker(std::shared_ptr<Configuration> conf =
nullptr);
58 bool checkTCP(
const std::string& hostPort,
size_t timeout_msec);
59 bool checkCORBA(
const std::string& objectName,
size_t timeout_msec,
size_t pause_msec);
60 bool checkHTTP(
const std::string& url,
size_t timeout_msec);
61 bool checkFile(
const std::string& path);
63 std::shared_ptr<Configuration> conf_;
64 std::shared_ptr<UInterface> ui_;
static bool isProcessAlive(Poco::Process::PID pid)
Определения HealthChecker.cc:81
bool checkOnce(const ReadyCheck &check)
Определения HealthChecker.cc:56
static ReadyCheck parseReadyCheck(const std::string &checkStr)
Определения HealthChecker.cc:89
bool waitForReady(const ReadyCheck &check, size_t timeout_msec)
Определения HealthChecker.cc:32
Определения Calibration.h:27
Определения ProcessInfo.h:51