LeviLamina
Loading...
Searching...
No Matches
PortAllocatorSession.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/sigslot/has_slots.h"
7#include "mc/external/sigslot/single_threaded.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace cricket { class Candidate; }
12namespace cricket { class CandidateStats; }
13namespace cricket { class PortInterface; }
14// clang-format on
15
16namespace cricket {
17
18class PortAllocatorSession : public ::sigslot::has_slots<::sigslot::single_threaded> {
19public:
20 // member variables
21 // NOLINTBEGIN
36 // NOLINTEND
37
38public:
39 // prevent constructor by default
43
44public:
45 // virtual functions
46 // NOLINTBEGIN
47 // vIndex: 0
48 virtual ~PortAllocatorSession() /*override*/;
49
50 // vIndex: 1
51 virtual void SetCandidateFilter(uint filter) = 0;
52
53 // vIndex: 2
54 virtual void StartGettingPorts() = 0;
55
56 // vIndex: 3
57 virtual void StopGettingPorts() = 0;
58
59 // vIndex: 4
60 virtual bool IsGettingPorts() = 0;
61
62 // vIndex: 5
63 virtual void ClearGettingPorts() = 0;
64
65 // vIndex: 6
66 virtual bool IsCleared() const;
67
68 // vIndex: 7
69 virtual bool IsStopped() const;
70
71 // vIndex: 8
72 virtual void RegatherOnFailedNetworks();
73
74 // vIndex: 9
75 virtual void GetCandidateStatsFromReadyPorts(::std::vector<::cricket::CandidateStats>* candidate_stats_list) const;
76
77 // vIndex: 10
78 virtual void SetStunKeepaliveIntervalForReadyPorts(::std::optional<int> const& stun_keepalive_interval);
79
80 // vIndex: 11
81 virtual ::std::vector<::cricket::PortInterface*> ReadyPorts() const = 0;
82
83 // vIndex: 12
84 virtual ::std::vector<::cricket::Candidate> ReadyCandidates() const = 0;
85
86 // vIndex: 13
87 virtual bool CandidatesAllocationDone() const = 0;
88
89 // vIndex: 14
90 virtual void PruneAllPorts();
91
92 // vIndex: 15
93 virtual uint generation();
94
95 // vIndex: 16
96 virtual void set_generation(uint generation);
97
98 // vIndex: 17
99 virtual void UpdateIceParametersInternal();
100 // NOLINTEND
101
102public:
103 // member functions
104 // NOLINTBEGIN
106 ::std::string_view content_name,
107 int component,
108 ::std::string_view ice_ufrag,
109 ::std::string_view ice_pwd,
110 uint flags
111 );
112
113 MCNAPI void SetIceParameters(
114 ::std::string_view content_name,
115 int component,
116 ::std::string_view ice_ufrag,
117 ::std::string_view ice_pwd
118 );
119 // NOLINTEND
120
121public:
122 // constructor thunks
123 // NOLINTBEGIN
124 MCNAPI void* $ctor(
125 ::std::string_view content_name,
126 int component,
127 ::std::string_view ice_ufrag,
128 ::std::string_view ice_pwd,
129 uint flags
130 );
131 // NOLINTEND
132
133public:
134 // destructor thunk
135 // NOLINTBEGIN
136 MCNAPI void $dtor();
137 // NOLINTEND
138
139public:
140 // virtual function thunks
141 // NOLINTBEGIN
142 MCNAPI bool $IsCleared() const;
143
144 MCNAPI bool $IsStopped() const;
145
147
148 MCNAPI void $GetCandidateStatsFromReadyPorts(::std::vector<::cricket::CandidateStats>* candidate_stats_list) const;
149
150 MCNAPI void $SetStunKeepaliveIntervalForReadyPorts(::std::optional<int> const& stun_keepalive_interval);
151
152 MCNAPI void $PruneAllPorts();
153
154 MCNAPI uint $generation();
155
156 MCNAPI void $set_generation(uint generation);
157
159 // NOLINTEND
160
161public:
162 // vftables
163 // NOLINTBEGIN
164 MCNAPI static void** $vftable();
165 // NOLINTEND
166};
167
168} // namespace cricket
Definition PortAllocatorSession.h:18
MCAPI bool $IsCleared() const
MCAPI void $SetStunKeepaliveIntervalForReadyPorts(::std::optional< int > const &stun_keepalive_interval)
MCAPI void $GetCandidateStatsFromReadyPorts(::std::vector<::cricket::CandidateStats > *candidate_stats_list) const
MCAPI bool $IsStopped() const
MCAPI void SetIceParameters(::std::string_view content_name, int component, ::std::string_view ice_ufrag, ::std::string_view ice_pwd)
MCAPI void $RegatherOnFailedNetworks()
MCAPI void * $ctor(::std::string_view content_name, int component, ::std::string_view ice_ufrag, ::std::string_view ice_pwd, uint flags)
static MCAPI void ** $vftable()
MCAPI void $set_generation(uint generation)
MCAPI void $UpdateIceParametersInternal()
MCAPI PortAllocatorSession(::std::string_view content_name, int component, ::std::string_view ice_ufrag, ::std::string_view ice_pwd, uint flags)
Definition has_slots.h:8
Definition Alias.h:14