Skip to main content

Module ack_state

Module ack_state 

Source
Expand description

This module defines the SocketState that turns SessionSocket into a reliable socket, with segment/frame retransmission and frame acknowledgements.

StructsΒ§

AcknowledgementState
Represents a Session socket state is able to process acknowledgements.
AcknowledgementStateConfig
Configuration object of the AcknowledgementState.
AcknowledgementStateContext πŸ”’
FrameServices πŸ”’
How many times a single frame has been served on a peer’s request, and when last.
RetransmissionBudget πŸ”’
Peer-driven retransmission budget.

EnumsΒ§

AcknowledgementMode
Indicates the acknowledgement mode of a stateful Session socket.

FunctionsΒ§

is_running πŸ”’
Whether the state is still running.