relay
Safe HaskellNone
LanguageGHC2024

Relay.Reliable.Response

Description

 
Synopsis

Documentation

newtype Response Source #

A response travelling from receiver back to sender. v1 models the cumulative acknowledgement only: Ack n confirms that every frame with sequence number <= n has been contiguously received.

Monarch's wire type NetRxResponse also carries terminal Reject/Closed variants; those sit outside the reliability algebra and are modelled later, when we add shutdown.

Constructors

Ack Nat 

Instances

Instances details
Eq Response Source # 
Instance details

Defined in Relay.Reliable.Response

Show Response Source # 
Instance details

Defined in Relay.Reliable.Response