LeviLamina
Loading...
Searching...
No Matches
BasicPortAllocator.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/cricket/PortAllocator.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace cricket { class PortAllocatorSession; }
11namespace cricket { class RelayPortFactoryInterface; }
12namespace rtc { class NetworkManager; }
13namespace rtc { class NetworkMask; }
14namespace rtc { class PacketSocketFactory; }
15namespace webrtc { class FieldTrialsView; }
16namespace webrtc { class TurnCustomizer; }
17// clang-format on
18
19namespace cricket {
20
22public:
23 // member variables
24 // NOLINTBEGIN
31 // NOLINTEND
32
33public:
34 // prevent constructor by default
35 BasicPortAllocator& operator=(BasicPortAllocator const&);
38
39public:
40 // virtual functions
41 // NOLINTBEGIN
42 // vIndex: 0
43 virtual ~BasicPortAllocator() /*override*/;
44
45 // vIndex: 3
46 virtual void SetNetworkIgnoreMask(int network_ignore_mask) /*override*/;
47
48 // vIndex: 7
49 virtual ::cricket::PortAllocatorSession* CreateSessionInternal(
50 ::std::string_view content_name,
51 int component,
52 ::std::string_view ice_ufrag,
53 ::std::string_view ice_pwd
54 ) /*override*/;
55
56 // vIndex: 5
57 virtual void SetVpnList(::std::vector<::rtc::NetworkMask> const& vpn_list) /*override*/;
58
59 // vIndex: 8
60 virtual bool MdnsObfuscationEnabled() const /*override*/;
61 // NOLINTEND
62
63public:
64 // member functions
65 // NOLINTBEGIN
67 ::rtc::NetworkManager* network_manager,
68 ::rtc::PacketSocketFactory* socket_factory,
69 ::webrtc::TurnCustomizer* customizer,
70 ::cricket::RelayPortFactoryInterface* relay_port_factory,
71 ::webrtc::FieldTrialsView const* field_trials
72 );
73
74 MCNAPI int GetNetworkIgnoreMask() const;
75 // NOLINTEND
76
77public:
78 // constructor thunks
79 // NOLINTBEGIN
80 MCNAPI void* $ctor(
81 ::rtc::NetworkManager* network_manager,
82 ::rtc::PacketSocketFactory* socket_factory,
83 ::webrtc::TurnCustomizer* customizer,
84 ::cricket::RelayPortFactoryInterface* relay_port_factory,
85 ::webrtc::FieldTrialsView const* field_trials
86 );
87 // NOLINTEND
88
89public:
90 // destructor thunk
91 // NOLINTBEGIN
92 MCNAPI void $dtor();
93 // NOLINTEND
94
95public:
96 // virtual function thunks
97 // NOLINTBEGIN
98 MCNAPI void $SetNetworkIgnoreMask(int network_ignore_mask);
99
100 MCNAPI ::cricket::PortAllocatorSession* $CreateSessionInternal(
101 ::std::string_view content_name,
102 int component,
103 ::std::string_view ice_ufrag,
104 ::std::string_view ice_pwd
105 );
106
107 MCNAPI void $SetVpnList(::std::vector<::rtc::NetworkMask> const& vpn_list);
108
109 MCNAPI bool $MdnsObfuscationEnabled() const;
110 // NOLINTEND
111
112public:
113 // vftables
114 // NOLINTBEGIN
115 MCNAPI static void** $vftable();
116 // NOLINTEND
117};
118
119} // namespace cricket
Definition BasicPortAllocator.h:21
static MCAPI void ** $vftable()
MCAPI void * $ctor(::rtc::NetworkManager *network_manager, ::rtc::PacketSocketFactory *socket_factory, ::webrtc::TurnCustomizer *customizer, ::cricket::RelayPortFactoryInterface *relay_port_factory, ::webrtc::FieldTrialsView const *field_trials)
MCAPI::cricket::PortAllocatorSession * $CreateSessionInternal(::std::string_view content_name, int component, ::std::string_view ice_ufrag, ::std::string_view ice_pwd)
MCAPI void $SetVpnList(::std::vector<::rtc::NetworkMask > const &vpn_list)
MCAPI BasicPortAllocator(::rtc::NetworkManager *network_manager, ::rtc::PacketSocketFactory *socket_factory, ::webrtc::TurnCustomizer *customizer, ::cricket::RelayPortFactoryInterface *relay_port_factory, ::webrtc::FieldTrialsView const *field_trials)
MCAPI bool $MdnsObfuscationEnabled() const
MCAPI int GetNetworkIgnoreMask() const
MCAPI void $SetNetworkIgnoreMask(int network_ignore_mask)
Definition PortAllocator.h:25
Definition RelayPortFactoryInterface.h:14
Definition NetworkManager.h:19
Definition PacketSocketFactory.h:17
Definition FieldTrialsView.h:7
Definition TurnCustomizer.h:13
Definition Alias.h:14