Connection¶
-
struct Connection : public roq::io::Receiver¶
Public Functions
-
Connection(Connection const&) = delete¶
-
Connection(Connection&&) = delete¶
-
virtual ~Connection() = default¶
-
virtual void close() = 0¶
-
virtual std::span<std::byte> get_reusable_buffer() = 0¶
-
virtual bool send_helper(std::span<std::byte> const &payload) = 0¶
-
virtual bool send_helper(std::span<std::byte> const &payload, NetworkAddress const&) = 0¶
-
struct Connected¶
-
struct Connecting¶
-
struct Disconnected¶
-
struct Handler¶
Public Functions
-
virtual void operator()(Connecting const&) = 0¶
-
virtual void operator()(Disconnected const&) = 0¶
-
virtual void operator()(Connecting const&) = 0¶
-
struct Write¶
-
Connection(Connection const&) = delete¶