Network System 0.1.1
High-performance modular networking library for scalable client-server applications
Loading...
Searching...
No Matches
network_system.h
Go to the documentation of this file.
1// BSD 3-Clause License
2// Copyright (c) 2021-2025, 🍀☀🌕🌥 🌊
3// See the LICENSE file in the project root for full license information.
4
5#pragma once
6
28// Core networking components
29#include "kcenon/network/internal/core/messaging_client.h"
30#include "kcenon/network/internal/core/messaging_server.h"
31
32// Unified templates with protocol/TLS policy parameters
33#include "kcenon/network/internal/core/unified_messaging_client.h"
34#include "kcenon/network/internal/core/unified_messaging_server.h"
35
36// Protocol tags and TLS policies for unified templates
39
40// Session management
42
43// Integration interfaces
44#include "kcenon/network/internal/integration/messaging_bridge.h"
46#include "kcenon/network/internal/integration/container_integration.h"
47
48// Configuration system
50#include "kcenon/network/internal/core/network_context.h"
51
52// Result type for error handling
54
55// C++20 Concepts for compile-time type validation
57
62namespace kcenon::network {
63
81
111VoidResult initialize(const config::network_config& config);
112
144VoidResult initialize(const config::network_system_config& config);
145
155
160bool is_initialized();
161
162} // namespace kcenon::network
Unified header for all C++20 concepts in network_system.
Unified configuration header for network_system.
Main namespace for all Network System components.
Result< std::monostate > VoidResult
bool is_initialized()
Check if network system is initialized.
VoidResult initialize()
Initialize the network system with default production configuration.
VoidResult shutdown()
Shutdown the network system.
Convenience header for all protocol factory functions.
Public header for Result<T> error handling types.
Unified session header for network_system.
Thread system integration interface for network_system.
Policy-based TLS configuration (no_tls, require_tls, optional_tls).