12#include "SourceTransport.hpp"
13#include <dfx-fdwatch/PollerFd.hpp>
45 void stop() noexcept override;
52 std::
size_t _messageMaxSize;
Definition Endpoint.hpp:24
void start(FdWatch::Poller &poller) override
Opens the MQ and attaches to the poller.
MqSource(Endpoint endpoint, nlohmann::json config)
Initializes the MQ source with endpoint information.
void stop() noexcept override
Closes the MQ and detaches from the poller.
SourceTransport(Endpoint endpoint, nlohmann::json config)
Constructs a SourceTransport with the Role::Source role.
Definition SourceTransport.hpp:31
Endpoint const & endpoint() const noexcept
Gets the endpoint descriptor associated with this transport.
Definition Transport.hpp:161
nlohmann::json const & config() const noexcept
Gets the JSON configuration used to initialize this transport.
Definition Transport.hpp:176
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