3636#include " RTC/SCTP/public/Message.hpp"
3737#include " RTC/SCTP/public/SctpOptions.hpp"
3838#include " RTC/SCTP/public/SctpTypes.hpp"
39- #include " handles/BackoffTimerHandle .hpp"
39+ #include " handles/BackoffTimerHandleInterface .hpp"
4040#include < FBS/sctpParameters.h>
4141#include < span>
4242#include < string_view>
@@ -51,7 +51,7 @@ namespace RTC
5151 */
5252 class Association : public AssociationInterface ,
5353 public PacketSender::Listener,
54- public BackoffTimerHandle ::Listener
54+ public BackoffTimerHandleInterface ::Listener
5555 {
5656 public:
5757 /* *
@@ -460,9 +460,9 @@ namespace RTC
460460 public:
461461 void OnPacketSenderPacketSent (PacketSender* packetSender, const Packet* packet, bool sent) override ;
462462
463- /* Pure virtual methods inherited from BackoffTimerHandle ::Listener. */
463+ /* Pure virtual methods inherited from BackoffTimerHandleInterface ::Listener. */
464464 public:
465- void OnTimer (BackoffTimerHandle * backoffTimer, uint64_t & baseTimeoutMs, bool & stop) override ;
465+ void OnTimer (BackoffTimerHandleInterface * backoffTimer, uint64_t & baseTimeoutMs, bool & stop) override ;
466466
467467 private:
468468 // SCTP options given in the constructor.
@@ -487,11 +487,11 @@ namespace RTC
487487 // Private metrics.
488488 AssociationPrivateMetrics privateMetrics{};
489489 // T1-init timer.
490- const std::unique_ptr<BackoffTimerHandle > t1InitTimer;
490+ const std::unique_ptr<BackoffTimerHandleInterface > t1InitTimer;
491491 // T1-cookie timer.
492- const std::unique_ptr<BackoffTimerHandle > t1CookieTimer;
492+ const std::unique_ptr<BackoffTimerHandleInterface > t1CookieTimer;
493493 // T2-shutdown timer.
494- const std::unique_ptr<BackoffTimerHandle > t2ShutdownTimer;
494+ const std::unique_ptr<BackoffTimerHandleInterface > t2ShutdownTimer;
495495 };
496496 } // namespace SCTP
497497} // namespace RTC
0 commit comments