3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/external/cricket/IceRole.h"
7#include "mc/external/cricket/PortInterface.h"
8#include "mc/external/cricket/ProtocolType.h"
9#include "mc/external/rtc/DiffServCodePoint.h"
10#include "mc/external/rtc/WeakPtr.h"
11#include "mc/external/sigslot/has_slots.h"
12#include "mc/external/sigslot/single_threaded.h"
13#include "mc/external/webrtc/IceCandidateType.h"
17namespace cricket {
class Candidate; }
18namespace cricket {
class Connection; }
19namespace cricket {
class IceMessage; }
20namespace cricket {
class StunMessage; }
21namespace cricket {
class StunStats; }
22namespace rtc {
class AsyncPacketSocket; }
23namespace rtc {
class Network; }
24namespace rtc {
class PacketSocketFactory; }
25namespace rtc {
class ReceivedPacket; }
26namespace rtc {
class SocketAddress; }
27namespace rtc {
struct PacketInfo; }
28namespace rtc {
struct ProxyInfo; }
29namespace rtc {
struct SentPacket; }
30namespace webrtc {
class FieldTrialsView; }
31namespace webrtc {
class TaskQueueBase; }
39 enum class State :
int {
92 virtual ~Port() =
default;
95 virtual ::webrtc::IceCandidateType Type()
const ;
98 virtual ::rtc::Network
const* Network()
const ;
101 virtual ::cricket::IceRole GetIceRole()
const ;
104 virtual void SetIceRole(::cricket::IceRole) ;
107 virtual void SetIceTiebreaker(uint64) ;
110 virtual uint64 IceTiebreaker()
const ;
113 virtual bool SharedSocket()
const ;
116 virtual ::webrtc::TaskQueueBase* thread() ;
119 virtual ::rtc::PacketSocketFactory* socket_factory()
const ;
122 virtual ::std::string
const& content_name()
const ;
125 virtual bool send_retransmit_count_attribute()
const ;
128 virtual uint generation()
const ;
131 virtual void set_generation(uint) ;
134 virtual ::std::vector<::cricket::Candidate>
const& Candidates()
const ;
155 virtual void SendBindingErrorResponse(
163 virtual ::std::string
const& user_agent() ;
166 virtual ::rtc::ProxyInfo
const& proxy() ;
169 virtual void EnablePortPackets() ;
172 virtual ::std::string ToString()
const ;
178 virtual ::std::string CreateStunUsername(::std::string_view)
const ;
191 virtual short network_cost()
const ;
194 virtual void GetStunStats(::std::optional<::cricket::StunStats>*) ;
197 virtual void UpdateNetworkCost() ;
200 virtual void PostAddAddress(
bool);
203 virtual bool GetStunMessage(
207 ::std::unique_ptr<::cricket::IceMessage>*,
212 virtual ::rtc::DiffServCodePoint StunDscpValue()
const ;
228 ::webrtc::IceCandidateType,
269 ::webrtc::IceCandidateType,
279 ::webrtc::IceCandidateType,
299 ::std::vector<ushort>
const&
314 ::webrtc::IceCandidateType,
324 ::webrtc::IceCandidateType,
Definition Candidate.h:15
Definition Connection.h:38
Definition IceMessage.h:11
Definition PortInterface.h:29
MCAPI void SendPortDestroyed(::cricket::Port *)
static MCAPI void ** $vftableForPortInterface()
MCAPI void AddOrReplaceConnection(::cricket::Connection *)
MCAPI void CopyPortInformationToPacketInfo(::rtc::PacketInfo *) const
MCAPI void AddAddress(::rtc::SocketAddress const &, ::rtc::SocketAddress const &, ::rtc::SocketAddress const &, ::std::string_view, ::std::string_view, ::std::string_view, ::webrtc::IceCandidateType, uint, uint, ::std::string_view, bool)
MCAPI Port(::webrtc::TaskQueueBase *, ::webrtc::IceCandidateType, ::rtc::PacketSocketFactory *, ::rtc::Network const *, ::std::string_view, ::std::string_view, ::webrtc::FieldTrialsView const *)
MCAPI bool IsCompatibleAddress(::rtc::SocketAddress const &)
MCAPI bool MaybeObfuscateAddress(::cricket::Candidate const &, bool)
MCAPI bool OnConnectionDestroyed(::cricket::Connection *)
MCAPI void KeepAliveUntilPruned()
MCAPI void * $ctor(::webrtc::TaskQueueBase *, ::webrtc::IceCandidateType, ::rtc::PacketSocketFactory *, ::rtc::Network const *, ::std::string_view, ::std::string_view, ::webrtc::FieldTrialsView const *)
MCAPI void SetIceParameters(int, ::std::string_view, ::std::string_view)
MCAPI Port(::webrtc::TaskQueueBase *, ::webrtc::IceCandidateType, ::rtc::PacketSocketFactory *, ::rtc::Network const *, ushort, ushort, ::std::string_view, ::std::string_view, ::webrtc::FieldTrialsView const *, bool)
MCAPI void DestroyConnectionInternal(::cricket::Connection *, bool)
MCAPI::std::string const & username_fragment() const
MCAPI void SendUnknownAttributesErrorResponse(::cricket::StunMessage *, ::rtc::SocketAddress const &, ::std::vector< ushort > const &)
MCAPI void DestroyAllConnections()
static MCAPI void ** $vftableForHasSlots()
MCAPI void OnNetworkTypeChanged(::rtc::Network const *)
MCAPI void PostDestroyIfDead(bool)
MCAPI void OnReadPacket(::rtc::ReceivedPacket const &, ::cricket::ProtocolType)
MCAPI void FinishAddingAddress(::cricket::Candidate const &, bool)
MCAPI void CancelPendingTasks()
MCAPI void set_content_name(::std::string_view)
MCAPI void * $ctor(::webrtc::TaskQueueBase *, ::webrtc::IceCandidateType, ::rtc::PacketSocketFactory *, ::rtc::Network const *, ushort, ushort, ::std::string_view, ::std::string_view, ::webrtc::FieldTrialsView const *, bool)
MCAPI ::rtc::WeakPtr<::cricket::Port > NewWeakPtr()
MCAPI void OnReadyToSend()
MCAPI void DestroyIfDead()
Definition StunMessage.h:23
Definition AsyncPacketSocket.h:20
Definition PacketSocketFactory.h:17
Definition ReceivedPacket.h:16
Definition SocketAddress.h:12
Definition FieldTrialsView.h:7
Definition TaskQueueBase.h:16
Definition PacketInfo.h:7
Definition SentPacket.h:12