LeviLamina
Loading...
Searching...
No Matches
PortConfiguration.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/cricket/ProtocolType.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace cricket { struct RelayServerConfig; }
11namespace rtc { class SocketAddress; }
12namespace webrtc { class FieldTrialsView; }
13// clang-format on
14
15namespace cricket {
16
18public:
19 // member variables
20 // NOLINTBEGIN
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 PortConfiguration& operator=(PortConfiguration const&);
35
36public:
37 // member functions
38 // NOLINTBEGIN
39 MCNAPI void AddRelay(::cricket::RelayServerConfig const& config);
40
41 MCNAPI ::std::set<::rtc::SocketAddress> GetRelayServerAddresses(::cricket::ProtocolType type) const;
42
44 ::std::set<::rtc::SocketAddress> const& stun_servers,
45 ::std::vector<::std::pair<::rtc::SocketAddress, ::rtc::SocketAddress>> const& mapped_ports_,
46 ::std::string_view username,
47 ::std::string_view password,
48 ::webrtc::FieldTrialsView const* field_trials
49 );
50
51 MCNAPI ::std::set<::rtc::SocketAddress> StunServers();
52
53 MCNAPI bool SupportsProtocol(::cricket::RelayServerConfig const& relay, ::cricket::ProtocolType type) const;
54 // NOLINTEND
55
56public:
57 // constructor thunks
58 // NOLINTBEGIN
59 MCNAPI void* $ctor(
60 ::std::set<::rtc::SocketAddress> const& stun_servers,
61 ::std::vector<::std::pair<::rtc::SocketAddress, ::rtc::SocketAddress>> const& mapped_ports_,
62 ::std::string_view username,
63 ::std::string_view password,
64 ::webrtc::FieldTrialsView const* field_trials
65 );
66 // NOLINTEND
67};
68
69} // namespace cricket
Definition FieldTrialsView.h:7
Definition PortConfiguration.h:17
MCAPI ::std::set<::rtc::SocketAddress > StunServers()
MCAPI PortConfiguration(::std::set<::rtc::SocketAddress > const &stun_servers, ::std::vector<::std::pair<::rtc::SocketAddress, ::rtc::SocketAddress > > const &mapped_ports_, ::std::string_view username, ::std::string_view password, ::webrtc::FieldTrialsView const *field_trials)
MCAPI void * $ctor(::std::set<::rtc::SocketAddress > const &stun_servers, ::std::vector<::std::pair<::rtc::SocketAddress, ::rtc::SocketAddress > > const &mapped_ports_, ::std::string_view username, ::std::string_view password, ::webrtc::FieldTrialsView const *field_trials)
MCAPI void AddRelay(::cricket::RelayServerConfig const &config)
MCAPI bool SupportsProtocol(::cricket::RelayServerConfig const &relay, ::cricket::ProtocolType type) const
MCAPI ::std::set<::rtc::SocketAddress > GetRelayServerAddresses(::cricket::ProtocolType type) const
Definition RelayServerConfig.h:15
Definition Alias.h:14