Expand description
Relay server domain model and module wiring.
TCP / QUIC listener -> connection authentication/dispatch -> ManagerTask queue
-> routing runtime
registered control connection <------ ConnTask ----+------> subscriberconnection owns per-socket protocol/authentication concerns, while runtime
serializes global routing maps and quotas. task holds the messages between
them, routing the routing model the runtime keeps, and service_key the
namespaced service keys both use. Service-side and client-side tunnel loops
remain isolated in server and client.
Re-exports§
pub use direct::DirectServerConfig;
Modules§
- direct
- Setup coordination is serialized by the existing routing manager. Established direct sessions are observations only and never acquire an authorization lease.
- manager
- The routing manager’s work queue, and its registry of connection IDs and the mailboxes they are reached through.
Structs§
- Quic
Server Config - Optional QUIC listener, separate from the direct STUN UDP port.
- Relay
Server Options - Server
Conn Info - Server
Status Info
Enums§
Functions§
- run_
server - Run a server that takes its keep-alive setting from the environment.
- run_
server_ on_ listener - run_
server_ on_ listener_ with_ direct - run_
server_ on_ listener_ with_ options - run_
server_ with_ auth_ config - run_
server_ with_ shutdown