MeshLib C++ Docs
Loading...
Searching...
No Matches
MRMCPGatewayBackend.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRMcp/MRFastmcpp.h"
4
5#include <atomic>
6#include <mutex>
7#include <string>
8
10{
11
12struct Config;
13
17std::atomic<bool>& getBackendAlive();
18
21bool probeBackendAlive( const std::string& targetUrl );
22
27void updateBackendAliveAndNotify( bool nowAlive );
28
31bool probeAndTrackBackend( const std::string& targetUrl );
32
38std::mutex& gatewayStdoutMutex();
39
41void registerLocalTools( fastmcpp::ProxyApp& proxy, const Config& cfg );
42
43}
Definition MRMCPGatewayBackend.h:10
std::mutex & gatewayStdoutMutex()
void updateBackendAliveAndNotify(bool nowAlive)
std::atomic< bool > & getBackendAlive()
bool probeAndTrackBackend(const std::string &targetUrl)
bool probeBackendAlive(const std::string &targetUrl)
void registerLocalTools(fastmcpp::ProxyApp &proxy, const Config &cfg)
Registers the gateway-local launch and status tools on proxy.
Definition MRMCPGatewayConfig.h:15