actr_runtime/transport/
mod.rs

1//! Transport Layer 1: Transport layer
2//!
3//! Core Lane abstraction and transport management:
4//! - Lane: Physical embodiment of PayloadType, unified bidirectional channel abstraction ⭐
5//! - InprocTransportManager: Intra-process transport management (Workload ↔ Shell)
6//! - OutprocTransportManager: Cross-process transport management (WebRTC + WebSocket)
7//! - WireHandle: Unified handle for Wire layer components
8//! - WirePool: Wire connection pool manager (strategy layer)
9//! - WireBuilder: Wire layer component builder
10
11mod backoff;
12pub mod connection_event;
13mod dest_transport;
14pub mod error;
15mod inproc_manager;
16mod lane;
17mod manager;
18mod route_table;
19mod wire_builder;
20mod wire_handle;
21mod wire_pool;
22
23// Re-export Dest from actr-framework (unified API layer)
24pub use actr_framework::Dest;
25
26// DataLane core abstraction
27pub use lane::DataLane;
28pub use route_table::{DataChannelQoS, DataLaneType, PayloadTypeExt};
29
30// Transport management
31pub use inproc_manager::InprocTransportManager;
32pub use manager::{OutprocTransportManager, WireBuilder};
33
34// Backward compatible alias (deprecated)
35pub use dest_transport::DestTransport;
36#[deprecated(note = "Use OutprocTransportManager instead")]
37pub use manager::OutprocTransportManager as TransportManager;
38
39// Wire layer management
40pub use wire_builder::{DefaultWireBuilder, DefaultWireBuilderConfig};
41pub use wire_handle::WireHandle;
42pub use wire_pool::WirePool;
43
44// Error types
45pub use error::{NetworkError, NetworkResult};
46
47// Retry and backoff strategies
48pub use backoff::ExponentialBackoff;
49
50// Connection events
51pub use connection_event::{ConnectionEvent, ConnectionEventBroadcaster, ConnectionState};