Network System 0.1.1
High-performance modular networking library for scalable client-server applications
Loading...
Searching...
No Matches
bridge_interface.h File Reference

Unified interface for external system integration bridges. More...

#include <kcenon/network/detail/utils/result_types.h>
#include <chrono>
#include <map>
#include <string>
Include dependency graph for bridge_interface.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kcenon::network::integration::BridgeConfig
 Configuration for bridge initialization. More...
 
struct  kcenon::network::integration::BridgeMetrics
 Metrics and health information for a bridge. More...
 
class  kcenon::network::integration::INetworkBridge
 Abstract interface for external system integration bridges. More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::network
 Main namespace for all Network System components.
 
namespace  kcenon::network::integration
 
namespace  network_system
 

Macros

#define KCENON_NETWORK_INTERNAL_INTEGRATION_BRIDGE_INTERFACE_H_
 

Detailed Description

Unified interface for external system integration bridges.

This file defines the core interface for all integration bridges in network_system. A bridge provides a consistent way to integrate with external systems while maintaining lifecycle management, configuration, and metrics reporting.

Design Goals:

  • Unified interface for all external system integrations
  • Consistent lifecycle management (initialize, shutdown)
  • Configuration support for runtime adaptation
  • Health and metrics reporting
  • Type-safe error handling via Result<T>

Usage Example:

class ThreadPoolBridge : public INetworkBridge {
public:
Result<void> initialize(const BridgeConfig& config) override {
// Setup thread pool with config parameters
return ok();
}
Result<void> shutdown() override {
// Gracefully shutdown thread pool
return ok();
}
// ... other INetworkBridge methods
};
tracing_config config
Definition exporters.cpp:29

Related Issues:

  • #579: Consolidate integration adapters into NetworkSystemBridge
  • #577: EPIC for Facade pattern refactoring
Author
network_system team
Date
2026-02-01

Definition in file bridge_interface.h.

Macro Definition Documentation

◆ KCENON_NETWORK_INTERNAL_INTEGRATION_BRIDGE_INTERFACE_H_

#define KCENON_NETWORK_INTERNAL_INTEGRATION_BRIDGE_INTERFACE_H_

Definition at line 7 of file bridge_interface.h.