AsyncFw
1.2
Async Framework is c++ runtime with timers, poll notifiers, sockets, coroutines, etc.
Loading...
Searching...
No Matches
RrdServer.h
1
/*
2
Copyright (c) 2026 Alexandr Kuzmuk
3
4
This file is part of the AsyncFw project. Licensed under the MIT License.
5
See {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
12
namespace
AsyncFw {
13
class
DataArraySocket
;
14
class
DataArrayTcpServer
;
15
class
Rrd
;
16
18
class
RrdServer {
19
public
:
20
RrdServer(
DataArrayTcpServer
*,
const
std::vector<Rrd *> &
Rrd
);
21
virtual
~RrdServer();
22
void
quit();
23
24
protected
:
25
void
transmit(
const
DataArraySocket
*socket, uint64_t index, uint32_t size, uint32_t pi);
26
DataArrayTcpServer
*tcpServer;
27
std::vector<Rrd *> rrd;
28
FunctionConnectionGuard
rf_;
29
};
30
}
// namespace AsyncFw
AsyncFw::DataArraySocket
The DataArraySocket class.
Definition
DataArraySocket.h:17
AsyncFw::DataArrayTcpServer
The DataArrayTcpServer class.
Definition
DataArrayTcpServer.h:17
AsyncFw::FunctionConnectionGuard
The FunctionConnectionGuard class.
Definition
FunctionConnector.h:144
AsyncFw::Rrd
The Rrd class.
Definition
Rrd.h:16
main
RrdServer.h
Generated by
1.13.2