diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2025-03-11 16:48:39 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2025-03-11 16:48:39 +0100 |
commit | 228ec291a58869a19b368a536f3ea0fcd97a57b6 (patch) | |
tree | 957d2be8f67f0fbd6ae70c49e3705061982c8fbf /lib/edioutput/Transport.h | |
parent | b2a964b6338466b74d6ef217f7453a1c7c2f72c9 (diff) | |
download | ODR-SourceCompanion-next.tar.gz ODR-SourceCompanion-next.tar.bz2 ODR-SourceCompanion-next.zip |
Update common 5959418next
Diffstat (limited to 'lib/edioutput/Transport.h')
-rw-r--r-- | lib/edioutput/Transport.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/edioutput/Transport.h b/lib/edioutput/Transport.h index c62545c..2ca638e 100644 --- a/lib/edioutput/Transport.h +++ b/lib/edioutput/Transport.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2022 + Copyright (C) 2025 Matthias P. Braendli, matthias.braendli@mpb.li http://www.opendigitalradio.org @@ -38,10 +38,11 @@ #include <cstdint> #include <thread> #include <mutex> +#include <vector> namespace edi { -/** STI sender for EDI output */ +/** ETI/STI sender for EDI output */ class Sender { public: @@ -64,6 +65,12 @@ class Sender { void override_af_sequence(uint16_t seq); void override_pft_sequence(uint16_t pseq); + struct stats_t { + uint16_t listen_port; + std::vector<Socket::TCPConnection::stats_t> stats; + }; + std::vector<stats_t> get_tcp_server_stats() const; + private: void run(); |