LeviLamina
Loading...
Searching...
No Matches
NetworkMonitorInterface.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/rtc/NetworkBindingResult.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace rtc { class IPAddress; }
11// clang-format on
12
13namespace rtc {
14
15class NetworkMonitorInterface {
16public:
17 // NetworkMonitorInterface inner types declare
18 // clang-format off
19 struct InterfaceInfo;
20 // clang-format on
21
22 // NetworkMonitorInterface inner types define
23 struct InterfaceInfo {
24 public:
25 // member variables
26 // NOLINTBEGIN
31 // NOLINTEND
32
33 public:
34 // prevent constructor by default
35 InterfaceInfo& operator=(InterfaceInfo const&);
36 InterfaceInfo(InterfaceInfo const&);
37 InterfaceInfo();
38 };
39
40public:
41 // member variables
42 // NOLINTBEGIN
44 // NOLINTEND
45
46public:
47 // prevent constructor by default
48 NetworkMonitorInterface& operator=(NetworkMonitorInterface const&);
49 NetworkMonitorInterface(NetworkMonitorInterface const&);
50 NetworkMonitorInterface();
51
52public:
53 // virtual functions
54 // NOLINTBEGIN
55 virtual ~NetworkMonitorInterface() = default;
56
57 virtual void Start() = 0;
58
59 virtual void Stop() = 0;
60
61 virtual ::rtc::NetworkMonitorInterface::InterfaceInfo GetInterfaceInfo(::std::string_view) = 0;
62
63 virtual bool SupportsBindSocketToNetwork() const;
64
65 virtual ::rtc::NetworkBindingResult BindSocketToNetwork(int, ::rtc::IPAddress const&, ::std::string_view);
66 // NOLINTEND
67
68public:
69 // virtual function thunks
70 // NOLINTBEGIN
71
72 // NOLINTEND
73};
74
75} // namespace rtc
Definition IPAddress.h:7
Definition Alias.h:14
Definition NetworkMonitorInterface.h:23