LeviLamina
Loading...
Searching...
No Matches
BasicNetworkManager.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/rtc/NetworkBinderInterface.h"
7#include "mc/external/rtc/NetworkBindingResult.h"
8#include "mc/external/rtc/NetworkManagerBase.h"
9#include "mc/external/sigslot/has_slots.h"
10
11// auto generated forward declare list
12// clang-format off
13namespace rtc { class IPAddress; }
14namespace rtc { class Network; }
15namespace rtc { class NetworkMask; }
16namespace rtc { class NetworkMonitorFactory; }
17namespace rtc { class SocketFactory; }
18namespace sigslot { class single_threaded; }
19namespace webrtc { class FieldTrialsView; }
20// clang-format on
21
22namespace rtc {
23
26 public ::sigslot::has_slots<::sigslot::single_threaded> {
27public:
28 // member variables
29 // NOLINTBEGIN
42 // NOLINTEND
43
44public:
45 // prevent constructor by default
49
50public:
51 // virtual functions
52 // NOLINTBEGIN
53 // vIndex: 1
54 virtual ~BasicNetworkManager() /*override*/ = default;
55
56 // vIndex: 3
57 virtual void StartUpdating() /*override*/;
58
59 // vIndex: 4
60 virtual void StopUpdating() /*override*/;
61
62 // vIndex: 8
63 virtual void DumpNetworks() /*override*/;
64
65 // vIndex: 9
66 virtual void set_vpn_list(::std::vector<::rtc::NetworkMask> const&) /*override*/;
67
68 // vIndex: 0
69 virtual ::rtc::NetworkBindingResult BindSocketToNetwork(int, ::rtc::IPAddress const&) /*override*/;
70 // NOLINTEND
71
72public:
73 // member functions
74 // NOLINTBEGIN
76
77 MCAPI bool CreateNetworks(bool, ::std::vector<::std::unique_ptr<::rtc::Network>>*) const;
78
79 MCAPI bool IsConfiguredVpn(::rtc::IPAddress, int) const;
80
81 MCAPI bool IsIgnoredNetwork(::rtc::Network const&) const;
82
83 MCAPI void OnNetworksChanged();
84
85 MCAPI ::rtc::IPAddress QueryDefaultLocalAddress(int) const;
86
87 MCAPI void StartNetworkMonitor();
88
89 MCAPI void StopNetworkMonitor();
90
91 MCAPI void UpdateNetworksContinually();
92
93 MCAPI void UpdateNetworksOnce();
94 // NOLINTEND
95
96public:
97 // constructor thunks
98 // NOLINTBEGIN
100 // NOLINTEND
101
102public:
103 // destructor thunk
104 // NOLINTBEGIN
105
106 // NOLINTEND
107
108public:
109 // virtual function thunks
110 // NOLINTBEGIN
111
112 // NOLINTEND
113
114public:
115 // vftables
116 // NOLINTBEGIN
117 MCAPI static void** $vftableForMdnsResponderProvider();
118
119 MCAPI static void** $vftableForNetworkBinderInterface();
120
121 MCAPI static void** $vftableForDefaultLocalAddressProvider();
122
123 MCAPI static void** $vftableForHasSlots();
124 // NOLINTEND
125};
126
127} // namespace rtc
Definition BasicNetworkManager.h:26
Definition IPAddress.h:7
Definition NetworkBinderInterface.h:15
Definition NetworkManagerBase.h:18
Definition NetworkMonitorFactory.h:13
Definition Network.h:18
Definition SocketFactory.h:12
Definition has_slots.h:8
Definition FieldTrialsView.h:7
Definition Alias.h:14