Network System 0.1.1
High-performance modular networking library for scalable client-server applications
Loading...
Searching...
No Matches
kcenon::network::protocol Namespace Reference

Namespaces

namespace  quic
 
namespace  tcp
 
namespace  udp
 
namespace  websocket
 

Classes

struct  is_connection_oriented
 Type trait to check if a protocol is connection-oriented. More...
 
struct  is_reliable
 Type trait to check if a protocol is reliable. More...
 
struct  quic_protocol
 Protocol tag for QUIC transport. More...
 
struct  tcp_protocol
 Protocol tag for TCP transport. More...
 
struct  udp_protocol
 Protocol tag for UDP transport. More...
 
struct  websocket_protocol
 Protocol tag for WebSocket transport. More...
 

Concepts

concept  Protocol
 Concept that constrains types to be valid protocol tags.
 

Variables

template<Protocol P>
constexpr bool is_connection_oriented_v = P::is_connection_oriented
 Helper variable template to check if protocol is connection-oriented.
 
template<Protocol P>
constexpr bool is_reliable_v = P::is_reliable
 Helper variable template to check if protocol is reliable.
 
template<Protocol P>
constexpr std::string_view protocol_name_v = P::name
 Helper variable template to get protocol name.
 

Variable Documentation

◆ is_connection_oriented_v

template<Protocol P>
bool kcenon::network::protocol::is_connection_oriented_v = P::is_connection_oriented
inlineconstexpr

Helper variable template to check if protocol is connection-oriented.

Definition at line 136 of file protocol_tags.h.

◆ is_reliable_v

template<Protocol P>
bool kcenon::network::protocol::is_reliable_v = P::is_reliable
inlineconstexpr

Helper variable template to check if protocol is reliable.

Definition at line 142 of file protocol_tags.h.

◆ protocol_name_v

template<Protocol P>
std::string_view kcenon::network::protocol::protocol_name_v = P::name
inlineconstexpr

Helper variable template to get protocol name.

Definition at line 148 of file protocol_tags.h.