mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-11-09 10:00:57 +03:00
Summary: will add read side support Reviewed By: lnicco Differential Revision: D20120320 fbshipit-source-id: 83a515eff0cdd01142a78f21fbca4adbf96b4e62
27 lines
546 B
C++
27 lines
546 B
C++
/*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <quic/QuicConstants.h>
|
|
|
|
namespace quic {
|
|
|
|
class LoopDetectorCallback {
|
|
public:
|
|
virtual ~LoopDetectorCallback() = default;
|
|
|
|
virtual void onSuspiciousWriteLoops(
|
|
uint64_t emptyLoopCount,
|
|
WriteDataReason writeReason,
|
|
NoWriteReason noWriteReason,
|
|
const std::string& scheduler) = 0;
|
|
};
|
|
|
|
} // namespace quic
|