Integrate host escalation with production sessions
This commit is contained in:
parent
254bb37764
commit
696dae610a
1 changed files with 1175 additions and 96 deletions
|
|
@ -113,6 +113,11 @@ impl ResultSenderWindow {
|
|||
pub const fn sent_count(&self) -> u64 {
|
||||
self.sent_count
|
||||
}
|
||||
|
||||
#[must_use]
|
||||
pub const fn acknowledged_count(&self) -> u64 {
|
||||
self.acknowledged_count
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
|
|
@ -183,4 +188,9 @@ impl ResultCollector {
|
|||
pub const fn highest_contiguous_sequence(&self) -> Option<u64> {
|
||||
self.next_sequence.checked_sub(1)
|
||||
}
|
||||
|
||||
#[must_use]
|
||||
pub const fn received_count(&self) -> u64 {
|
||||
self.next_sequence
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue