LeviLamina
Loading...
Searching...
No Matches
IceTransportInternal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/cricket/IceGatheringState.h"
7#include "mc/external/cricket/IceMode.h"
8#include "mc/external/cricket/IceRole.h"
9#include "mc/external/cricket/IceTransportState.h"
10#include "mc/external/rtc/PacketTransportInternal.h"
11#include "mc/external/webrtc/IceTransportState.h"
12
13// auto generated forward declare list
14// clang-format off
15namespace cricket { class Candidate; }
16namespace cricket { class Connection; }
17namespace cricket { class StunDictionaryWriter; }
18namespace cricket { struct CandidatePair; }
19namespace cricket { struct IceConfig; }
20namespace cricket { struct IceParameters; }
21namespace cricket { struct IceTransportStats; }
22// clang-format on
23
24namespace cricket {
25
26class IceTransportInternal : public ::rtc::PacketTransportInternal {
27public:
28 // member variables
29 // NOLINTBEGIN
43 // NOLINTEND
44
45public:
46 // prevent constructor by default
47 IceTransportInternal& operator=(IceTransportInternal const&);
48 IceTransportInternal(IceTransportInternal const&);
49
50public:
51 // virtual functions
52 // NOLINTBEGIN
53 virtual ~IceTransportInternal() /*override*/;
54
55 virtual ::cricket::IceTransportState GetState() const = 0;
56
57 virtual ::webrtc::IceTransportState GetIceTransportState() const = 0;
58
59 virtual int component() const = 0;
60
61 virtual ::cricket::IceRole GetIceRole() const = 0;
62
63 virtual void SetIceRole(::cricket::IceRole) = 0;
64
65 virtual void SetIceTiebreaker(uint64) = 0;
66
67 virtual void SetIceCredentials(::std::string_view ice_ufrag, ::std::string_view ice_pwd);
68
69 virtual void SetRemoteIceCredentials(::std::string_view ice_ufrag, ::std::string_view ice_pwd);
70
71 virtual void SetIceParameters(::cricket::IceParameters const&) = 0;
72
73 virtual void SetRemoteIceParameters(::cricket::IceParameters const&) = 0;
74
75 virtual void SetRemoteIceMode(::cricket::IceMode) = 0;
76
77 virtual void SetIceConfig(::cricket::IceConfig const& config) = 0;
78
79 virtual void MaybeStartGathering() = 0;
80
81 virtual void AddRemoteCandidate(::cricket::Candidate const&) = 0;
82
83 virtual void RemoveRemoteCandidate(::cricket::Candidate const&) = 0;
84
85 virtual void RemoveAllRemoteCandidates() = 0;
86
87 virtual ::cricket::IceGatheringState gathering_state() const = 0;
88
89 virtual bool GetStats(::cricket::IceTransportStats*) = 0;
90
91 virtual ::std::optional<int> GetRttEstimate() = 0;
92
93 virtual ::cricket::Connection const* selected_connection() const = 0;
94
95 virtual ::std::optional<::cricket::CandidatePair const> GetSelectedCandidatePair() const = 0;
96
97 virtual ::std::optional<::std::reference_wrapper<::cricket::StunDictionaryWriter>> GetDictionaryWriter();
98 // NOLINTEND
99
100public:
101 // member functions
102 // NOLINTBEGIN
104
106
108 // NOLINTEND
109
110public:
111 // constructor thunks
112 // NOLINTBEGIN
113 MCNAPI void* $ctor();
114 // NOLINTEND
115
116public:
117 // destructor thunk
118 // NOLINTBEGIN
119 MCNAPI void $dtor();
120 // NOLINTEND
121
122public:
123 // virtual function thunks
124 // NOLINTBEGIN
125 MCNAPI void $SetIceCredentials(::std::string_view ice_ufrag, ::std::string_view ice_pwd);
126
127 MCNAPI void $SetRemoteIceCredentials(::std::string_view ice_ufrag, ::std::string_view ice_pwd);
128
129 MCNAPI ::std::optional<::std::reference_wrapper<::cricket::StunDictionaryWriter>> $GetDictionaryWriter();
130
131
132 // NOLINTEND
133
134public:
135 // vftables
136 // NOLINTBEGIN
137 MCNAPI static void** $vftable();
138 // NOLINTEND
139};
140
141} // namespace cricket
Definition Candidate.h:15
Definition Connection.h:33
Definition IceTransportInternal.h:26
static MCAPI void ** $vftable()
MCAPI void SignalGatheringStateFired(::cricket::IceTransportInternal *transport)
MCAPI void $SetIceCredentials(::std::string_view ice_ufrag, ::std::string_view ice_pwd)
MCAPI ::std::optional<::std::reference_wrapper<::cricket::StunDictionaryWriter > > $GetDictionaryWriter()
MCAPI void SendGatheringStateEvent()
MCAPI void $SetRemoteIceCredentials(::std::string_view ice_ufrag, ::std::string_view ice_pwd)
Definition StunDictionaryWriter.h:13
Definition PacketTransportInternal.h:20
Definition CandidatePair.h:15
Definition IceConfig.h:10
Definition IceParameters.h:12
Definition IceTransportStats.h:7
Definition Alias.h:14