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
8// auto generated forward declare list
9// clang-format off
10namespace cricket { class Candidate; }
11namespace cricket { class CandidateStats; }
12namespace cricket { class PortInterface; }
13namespace sigslot { class single_threaded; }
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*/ = default;
49
50 // vIndex: 1
51 virtual void SetCandidateFilter(uint) = 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>*) const;
76
77 // vIndex: 10
78 virtual void SetStunKeepaliveIntervalForReadyPorts(::std::optional<int> const&);
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);
97
98 // vIndex: 17
99 virtual void UpdateIceParametersInternal();
100 // NOLINTEND
101
102public:
103 // member functions
104 // NOLINTBEGIN
105 MCAPI PortAllocatorSession(::std::string_view, int, ::std::string_view, ::std::string_view, uint);
106
107 MCAPI void SetIceParameters(::std::string_view, int, ::std::string_view, ::std::string_view);
108 // NOLINTEND
109
110public:
111 // constructor thunks
112 // NOLINTBEGIN
113 MCAPI void* $ctor(::std::string_view, int, ::std::string_view, ::std::string_view, uint);
114 // NOLINTEND
115
116public:
117 // destructor thunk
118 // NOLINTBEGIN
119
120 // NOLINTEND
121
122public:
123 // virtual function thunks
124 // NOLINTBEGIN
125
126 // NOLINTEND
127
128public:
129 // vftables
130 // NOLINTBEGIN
131 MCAPI static void** $vftable();
132 // NOLINTEND
133};
134
135} // namespace cricket
Definition PortAllocatorSession.h:18
Definition has_slots.h:8
Definition Alias.h:14