LeviLamina
Loading...
Searching...
No Matches
IceAgentInterface.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/ArrayView.h"
7#include "mc/external/webrtc/IceRole.h"
8#include "mc/external/webrtc/IceSwitchReason.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace webrtc { class Connection; }
13// clang-format on
14
15namespace webrtc {
16
18public:
19 // virtual functions
20 // NOLINTBEGIN
21 virtual ~IceAgentInterface() = default;
22
23 virtual int64 GetLastPingSentMs() const = 0;
24
25 virtual ::webrtc::IceRole GetIceRole() const = 0;
26
27 virtual void OnStartedPinging() = 0;
28
29 virtual void UpdateConnectionStates() = 0;
30
31 virtual void UpdateState() = 0;
32
33 virtual void
34 ForgetLearnedStateForConnections(::webrtc::ArrayView<::webrtc::Connection const* const> connections) = 0;
35
36 virtual void SendPingRequest(::webrtc::Connection const* connection) = 0;
37
38 virtual void
39 SwitchSelectedConnection(::webrtc::Connection const* new_connection, ::webrtc::IceSwitchReason reason) = 0;
40
41 virtual bool PruneConnections(::webrtc::ArrayView<::webrtc::Connection const* const> connections) = 0;
42 // NOLINTEND
43};
44
45} // namespace webrtc
Definition ArrayView.h:8
Definition Connection.h:35
Definition IceAgentInterface.h:17