72 void headers(std::map<std::string, std::string>
const&
headers)
override;
74 void frame(
char const*
data,
size_t s)
override;
92 void sendText(std::string
const&
json);
93 void handleListMetrics(std::string_view deviceName);
94 void handleSubscribe(std::string_view deviceName, std::string_view metricsJson);
95 void handleUnsubscribe(std::string_view deviceName, std::string_view metricsJson);
96 void handleSubscribeLogs(std::string_view deviceName);
97 void handleUnsubscribeLogs(std::string_view deviceName);
98 void handleStartDevices();
99 void handleEnableSignpost(std::string_view deviceName, std::string_view streamsArr);
100 void handleDisableSignpost(std::string_view deviceName, std::string_view streamsArr);
101 size_t findDeviceIndex(std::string_view
name)
const;
107 std::vector<std::unordered_set<std::string>> mSubscribedMetrics;
109 std::vector<size_t> mLastLogSeq;
111 std::unordered_set<size_t> mLogSubscriptions;