small refactor and print in flight packages when timing out

This commit is contained in:
2024-05-31 17:03:22 +02:00
parent c52ac19285
commit 0eb30246a8
4 changed files with 14 additions and 6 deletions

View File

@@ -64,6 +64,8 @@ struct CCAI {
// get the list of timed out seq_ids
virtual std::vector<SeqIDType> getTimeouts(void) const = 0;
virtual int64_t inFlightCount(void) const { return -1; }
public: // callbacks
// data size is without overhead
virtual void onSent(SeqIDType seq, size_t data_size) = 0;