LeviLamina
Loading...
Searching...
No Matches
Network.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/rtc/AdapterType.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace rtc { class IPAddress; }
11namespace rtc { class InterfaceAddress; }
12namespace webrtc { class FieldTrialsView; }
13namespace webrtc { class MdnsResponderInterface; }
14// clang-format on
15
16namespace rtc {
17
18class Network {
19public:
20 // member variables
21 // NOLINTBEGIN
40 // NOLINTEND
41
42public:
43 // prevent constructor by default
44 Network& operator=(Network const&);
45 Network(Network const&);
46 Network();
47
48public:
49 // member functions
50 // NOLINTBEGIN
51 MCNAPI ::rtc::IPAddress GetBestIP() const;
52
53 MCNAPI ushort GetCost(::webrtc::FieldTrialsView const&) const;
54
55 MCNAPI ::webrtc::MdnsResponderInterface* GetMdnsResponder() const;
56
57 MCNAPI Network(::std::string_view, ::std::string_view, ::rtc::IPAddress const&, int, ::rtc::AdapterType);
58
59 MCNAPI bool SetIPs(::std::vector<::rtc::InterfaceAddress> const&, bool);
60
61 MCNAPI ::std::string ToString() const;
62
63 MCNAPI ~Network();
64 // NOLINTEND
65
66public:
67 // static functions
68 // NOLINTBEGIN
69 MCNAPI static ::std::pair<::rtc::AdapterType, bool> GuessAdapterFromNetworkCost(int);
70 // NOLINTEND
71
72public:
73 // constructor thunks
74 // NOLINTBEGIN
75 MCNAPI void* $ctor(::std::string_view, ::std::string_view, ::rtc::IPAddress const&, int, ::rtc::AdapterType);
76 // NOLINTEND
77
78public:
79 // destructor thunk
80 // NOLINTBEGIN
81 MCNAPI void $dtor();
82 // NOLINTEND
83};
84
85} // namespace rtc
Definition IPAddress.h:7
Definition Network.h:18
MCAPI ~Network()
MCAPI Network(::std::string_view, ::std::string_view, ::rtc::IPAddress const &, int, ::rtc::AdapterType)
static MCAPI ::std::pair<::rtc::AdapterType, bool > GuessAdapterFromNetworkCost(int)
MCAPI::std::string ToString() const
MCAPI bool SetIPs(::std::vector<::rtc::InterfaceAddress > const &, bool)
MCAPI ushort GetCost(::webrtc::FieldTrialsView const &) const
MCAPI void $dtor()
MCAPI::webrtc::MdnsResponderInterface * GetMdnsResponder() const
MCAPI void * $ctor(::std::string_view, ::std::string_view, ::rtc::IPAddress const &, int, ::rtc::AdapterType)
MCAPI::rtc::IPAddress GetBestIP() const
Definition FieldTrialsView.h:7
Definition Alias.h:14