- <init>
Creates a new instance with the given retransmit command
- _reset
Reset the Nak window. Should be called from within a writeLock() context. i.
Delete all received ent
- add
Adds a message according to its sequence number (ordered). Variables head and tail mark the start an
- destroy
Stop the retransmitter and reset the nak window
- get
Returns the message from received_msgs or delivered_msgs.
- getHighestReceived
Returns the highest sequence number received so far (which may be higher than
the highest seqno deli
- getHighestSeen
Returns the highest deliverable seqno; e.g., for 1,2,3,5,6 it would be 3.
- getLowestSeen
- getMessagesInList
Return a list of all messages for which there is a seqno inmissing_msgs. The
seqnos of the argument
- getMissingMessages
Find all messages between 'low' and 'high' (including 'low' and 'high') that
have a null msg. Return
- printDeliveredMessages
Prints delivered_msgs. Requires read lock present.
- printReceivedMessages
Prints received_msgs. Requires read lock to be present