12#include "../../details/Framer.hpp"
13#include "SourceTransport.hpp"
14#include <dfx-fdwatch/PollerFd.hpp>
15#include <dfx-fdwatch/Timer.hpp>
47 void stop() noexcept override;
51 void _onCleanupTimerTimeout();
59 std::vector<uint8_t> _memory;
SourceTransport(Endpoint endpoint, nlohmann::json config)
Constructs a SourceTransport with the Role::Source role.
Definition SourceTransport.hpp:31
An asynchronous network source transport that reconstructs messages from UDP frames.
Definition UdpSource.hpp:33
SourceTransport(Endpoint endpoint, nlohmann::json config)
Constructs a SourceTransport with the Role::Source role.
Definition SourceTransport.hpp:31
void start(FdWatch::Poller &poller) override
Initializes the UDP socket and attaches it to the poller.
void stop() noexcept override
Stops the transport and cleans up resources.
Bitset wrapper for dfx::FdWatch::EventTrigger values.
Abstract interface for FD-based event polling.
Definition Poller.hpp:37
Definition Channel.hpp:25
Definition SocketClient.hpp:23