AsyncFw 1.2
Async Framework is c++ runtime with timers, poll notifiers, sockets, coroutines, etc.
 
Loading...
Searching...
No Matches
RrdServer.h
1/*
2Copyright (c) 2026 Alexandr Kuzmuk
3
4This file is part of the AsyncFw project. Licensed under the MIT License.
5See {Link: LICENSE file https://mit-license.org} in the project root for full license information.
6*/
7
8#pragma once
9
10#include "../core/FunctionConnector.h"
11
12namespace AsyncFw {
13class DataArraySocket;
15class Rrd;
16
18class RrdServer {
19public:
20 RrdServer(DataArrayTcpServer *, const std::vector<Rrd *> &Rrd);
21 virtual ~RrdServer();
22 void quit();
23
24protected:
25 void transmit(const DataArraySocket *socket, uint64_t index, uint32_t size, uint32_t pi);
26 DataArrayTcpServer *tcpServer;
27 std::vector<Rrd *> rrd;
29};
30} // namespace AsyncFw
The DataArraySocket class.
Definition DataArraySocket.h:17
The DataArrayTcpServer class.
Definition DataArrayTcpServer.h:17
The FunctionConnectionGuard class.
Definition FunctionConnector.h:144
The Rrd class.
Definition Rrd.h:16