pub async fn handle_connection(
state: Arc<ServerState>,
stream: TcpStream,
conn_id: u64,
conn_timeout: Duration,
) -> Result<(), Box<dyn Error>>Expand description
Handle a single PVA TCP connection.
This is the main protocol loop: handshake, then dispatch each command
(CreateChannel, GET, PUT, PUT_GET, MONITOR, RPC, etc.) using the
SourceRegistry abstraction.