fix missing virtual destructor and scale tranfer timeout with concurency

This commit is contained in:
2024-03-05 16:48:58 +01:00
parent bccd04316a
commit 5fd1f2ab84
6 changed files with 32 additions and 17 deletions

View File

@@ -48,13 +48,12 @@ struct CCAI {
public: // api
CCAI(size_t maximum_segment_data_size) : MAXIMUM_SEGMENT_DATA_SIZE(maximum_segment_data_size) {}
// return the current believed window in bytes of how much data can be inflight,
//virtual float getCWnD(void) const = 0;
virtual ~CCAI(void) {}
// returns current rtt/delay
virtual float getCurrentDelay(void) const = 0;
// return the current believed window in bytes of how much data can be inflight,
virtual float getWindow(void) = 0;
// TODO: api for how much data we should send