Module inbound
Available on crate feature
tokio only.Expand description
Inbound packet processing: framing, dispatch through the client state machine, and buffering received messages for delivery.
Functionsยง
- handle_
incoming ๐ - Handles one decoded inbound packet. The client state machine processes it and any response is enqueued. A received message is buffered for delivery to the application.
- process_
inbound ๐ - Decodes and handles the complete packets currently framed in
reader, in order. Stops when the delivery buffer reachesMSG_QUEUE_BOUND(a slow consumer applies backpressure this way) or a terminal event occurs. - send_
response ๐ - Enqueues the response the client asked for, if any.