LeviLamina
Loading...
Searching...
No Matches
IceTransportInternal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/cricket/IceGatheringState.h"
7#include "mc/external/cricket/IceMode.h"
8#include "mc/external/cricket/IceRole.h"
9#include "mc/external/cricket/IceTransportState.h"
10#include "mc/external/rtc/PacketTransportInternal.h"
11#include "mc/external/webrtc/IceTransportState.h"
12
13// auto generated forward declare list
14// clang-format off
15namespace cricket { class Candidate; }
16namespace cricket { class Connection; }
17namespace cricket { class StunDictionaryWriter; }
18namespace cricket { struct CandidatePair; }
19namespace cricket { struct IceConfig; }
20namespace cricket { struct IceParameters; }
21namespace cricket { struct IceTransportStats; }
22// clang-format on
23
24namespace cricket {
25
27public:
28 // member variables
29 // NOLINTBEGIN
43 // NOLINTEND
44
45public:
46 // prevent constructor by default
49
50public:
51 // virtual functions
52 // NOLINTBEGIN
53 // vIndex: 0
54 virtual ~IceTransportInternal() /*override*/;
55
56 // vIndex: 9
57 virtual ::cricket::IceTransportState GetState() const = 0;
58
59 // vIndex: 10
60 virtual ::webrtc::IceTransportState GetIceTransportState() const = 0;
61
62 // vIndex: 11
63 virtual int component() const = 0;
64
65 // vIndex: 12
66 virtual ::cricket::IceRole GetIceRole() const = 0;
67
68 // vIndex: 13
69 virtual void SetIceRole(::cricket::IceRole) = 0;
70
71 // vIndex: 14
72 virtual void SetIceTiebreaker(uint64) = 0;
73
74 // vIndex: 15
75 virtual void SetIceCredentials(::std::string_view ice_ufrag, ::std::string_view ice_pwd);
76
77 // vIndex: 16
78 virtual void SetRemoteIceCredentials(::std::string_view ice_ufrag, ::std::string_view ice_pwd);
79
80 // vIndex: 17
81 virtual void SetIceParameters(::cricket::IceParameters const&) = 0;
82
83 // vIndex: 18
84 virtual void SetRemoteIceParameters(::cricket::IceParameters const&) = 0;
85
86 // vIndex: 19
87 virtual void SetRemoteIceMode(::cricket::IceMode) = 0;
88
89 // vIndex: 20
90 virtual void SetIceConfig(::cricket::IceConfig const& config) = 0;
91
92 // vIndex: 21
93 virtual void MaybeStartGathering() = 0;
94
95 // vIndex: 22
96 virtual void AddRemoteCandidate(::cricket::Candidate const&) = 0;
97
98 // vIndex: 23
99 virtual void RemoveRemoteCandidate(::cricket::Candidate const&) = 0;
100
101 // vIndex: 24
102 virtual void RemoveAllRemoteCandidates() = 0;
103
104 // vIndex: 25
105 virtual ::cricket::IceGatheringState gathering_state() const = 0;
106
107 // vIndex: 26
108 virtual bool GetStats(::cricket::IceTransportStats*) = 0;
109
110 // vIndex: 27
111 virtual ::std::optional<int> GetRttEstimate() = 0;
112
113 // vIndex: 28
114 virtual ::cricket::Connection const* selected_connection() const = 0;
115
116 // vIndex: 29
117 virtual ::std::optional<::cricket::CandidatePair const> GetSelectedCandidatePair() const = 0;
118
119 // vIndex: 30
120 virtual ::std::optional<::std::reference_wrapper<::cricket::StunDictionaryWriter>> GetDictionaryWriter();
121 // NOLINTEND
122
123public:
124 // member functions
125 // NOLINTBEGIN
127
129
131 // NOLINTEND
132
133public:
134 // constructor thunks
135 // NOLINTBEGIN
136 MCNAPI void* $ctor();
137 // NOLINTEND
138
139public:
140 // destructor thunk
141 // NOLINTBEGIN
142 MCNAPI void $dtor();
143 // NOLINTEND
144
145public:
146 // virtual function thunks
147 // NOLINTBEGIN
148 MCNAPI void $SetIceCredentials(::std::string_view ice_ufrag, ::std::string_view ice_pwd);
149
150 MCNAPI void $SetRemoteIceCredentials(::std::string_view ice_ufrag, ::std::string_view ice_pwd);
151
152 MCNAPI ::std::optional<::std::reference_wrapper<::cricket::StunDictionaryWriter>> $GetDictionaryWriter();
153 // NOLINTEND
154
155public:
156 // vftables
157 // NOLINTBEGIN
158 MCNAPI static void** $vftable();
159 // NOLINTEND
160};
161
162} // namespace cricket
Definition Candidate.h:15
Definition IceTransportInternal.h:26
static MCAPI void ** $vftable()
MCAPI void SignalGatheringStateFired(::cricket::IceTransportInternal *transport)
MCAPI void $SetIceCredentials(::std::string_view ice_ufrag, ::std::string_view ice_pwd)
MCAPI ::std::optional<::std::reference_wrapper<::cricket::StunDictionaryWriter > > $GetDictionaryWriter()
MCAPI void SendGatheringStateEvent()
MCAPI void $SetRemoteIceCredentials(::std::string_view ice_ufrag, ::std::string_view ice_pwd)
Definition PacketTransportInternal.h:20
Definition IceConfig.h:10
Definition IceParameters.h:12
Definition IceTransportStats.h:7
Definition Alias.h:14