//! Long-running peer services. //! //! Each submodule owns one runtime concern. The public surface intentionally //! stays small because peer startup only needs to start these four background //! tasks. mod advertise; mod discovery; mod handshake; mod liveness; mod local_monitor; mod remote_state; mod server; mod state_sync; mod stream; mod transfer; pub use discovery::run_peer_discovery; pub(crate) use handshake::{ HandshakeCtx, PeerRefreshOutcome, ReservedCandidateHandshake, perform_peer_refresh, }; pub use liveness::run_ping_service; pub use local_monitor::run_local_game_monitor; pub(crate) use remote_state::clear_remote_state_and_publish; pub use server::run_server_component; pub(crate) use state_sync::StateSyncHandle;