SRS-control 0.1.4
Loading...
Searching...
No Matches
srs::connection::SpecialSocketDerived Concept Reference

#include <SpecialSocketBase.hpp>

Concept definition

template<typename SocketType>
requires(SocketType socket, std::shared_ptr<typename SocketType::ConnectionType> connection) {
requires std::derived_from<SocketType, SpecialSocket>;
requires not std::is_same_v<SocketType, SpecialSocket>;
asio::buffer(socket.get_response_msg_buffer());
{ socket.response_handler(UDPEndpoint{}, std::span<char>{}) } -> std::same_as<void>;
{ socket.is_finished() } -> std::same_as<bool>;
{ socket.print_error() } -> std::same_as<void>;
{ socket.register_send_action_imp(asio::awaitable<void>{}, connection) } -> std::same_as<void>;
}
boost::asio::ip::basic_endpoint< boost::asio::ip::udp > UDPEndpoint

Detailed Description

Definition at line 32 of file SpecialSocketBase.hpp.