Connection¶
-
struct Connection : public roq::io::Receiver, public roq::io::Sender¶
Public Functions
-
virtual ~Connection()¶
-
virtual void close() = 0¶
-
virtual size_t recvmsg(std::span<std::byte> const&, std::span<int> const&) = 0¶
-
virtual size_t sendmsg(std::span<std::byte const> const&, std::span<int const> const&) = 0¶
-
struct Connected¶
-
struct Disconnected¶
-
struct Factory¶
Public Functions
-
virtual std::unique_ptr<Connection> create(Handler&) = 0¶
-
virtual std::unique_ptr<Connection> create(Handler&) = 0¶
-
struct Handler¶
-
struct Write¶
-
virtual ~Connection()¶