AsyncBerkeley
Asynchronous Berkeley sockets. Simple.
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
io::socket::socket_dialog< Mux > Struct Template Reference

A dialog that facilitates asynchronous operations on the socket by the executor. More...

#include <io/socket/socket_dialog.hpp>

Public Types

using executor_type = ::io::execution::executor< Mux >
 The executor type for this dialog.
 

Public Member Functions

 operator bool () const noexcept
 Checks if the socket_dialog is valid.
 
auto operator<=> (const socket_dialog &other) const -> std::strong_ordering
 Compares two socket_dialog objects.
 
auto operator== (const socket_dialog &other) const -> bool
 Checks for equality between two socket_dialog objects.
 

Public Attributes

std::weak_ptr< executor_typeexecutor
 A weak pointer to the executor that owns the socket.
 
std::shared_ptr< socket_handlesocket
 A shared pointer to the socket handle.
 

Detailed Description

template<Multiplexer Mux>
struct io::socket::socket_dialog< Mux >

A dialog that facilitates asynchronous operations on the socket by the executor.

Template Parameters
MuxThe multiplexer type.

The documentation for this struct was generated from the following file: