LeviLamina
Loading...
Searching...
No Matches
AllocationSequence.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace cricket { class BasicPortAllocatorSession; }
8namespace cricket { class PortInterface; }
9namespace cricket { struct PortConfiguration; }
10namespace cricket { struct RelayServerConfig; }
11namespace rtc { class AsyncPacketSocket; }
12namespace rtc { class Network; }
13namespace rtc { class ReceivedPacket; }
14// clang-format on
15
16namespace cricket {
17
19public:
20 // prevent constructor by default
22
23public:
24 // member functions
25 // NOLINTBEGIN
28 ::rtc::Network const*,
30 uint,
31 ::std::function<void()>
32 );
33
34 MCNAPI void Clear();
35
36 MCNAPI void CreateRelayPorts();
37
38 MCNAPI void CreateStunPorts();
39
40 MCNAPI void CreateTCPPorts();
41
43
44 MCNAPI void CreateUDPPorts();
45
47
48 MCNAPI void Init();
49
50 MCNAPI void OnNetworkFailed();
51
53
55
56 MCNAPI void Process(int);
57
58 MCNAPI void Start();
59
60 MCNAPI void Stop();
61
63 // NOLINTEND
64
65public:
66 // constructor thunks
67 // NOLINTBEGIN
68 MCNAPI void* $ctor(
70 ::rtc::Network const*,
72 uint,
73 ::std::function<void()>
74 );
75 // NOLINTEND
76
77public:
78 // destructor thunk
79 // NOLINTBEGIN
80 MCNAPI void $dtor();
81 // NOLINTEND
82};
83
84} // namespace cricket
Definition AllocationSequence.h:18
MCAPI void OnPortDestroyed(::cricket::PortInterface *)
MCAPI void * $ctor(::cricket::BasicPortAllocatorSession *, ::rtc::Network const *, ::cricket::PortConfiguration *, uint, ::std::function< void()>)
MCAPI void CreateTurnPort(::cricket::RelayServerConfig const &, int)
MCAPI void DisableEquivalentPhases(::rtc::Network const *, ::cricket::PortConfiguration *, uint *)
MCAPI AllocationSequence(::cricket::BasicPortAllocatorSession *, ::rtc::Network const *, ::cricket::PortConfiguration *, uint, ::std::function< void()>)
MCAPI void OnReadPacket(::rtc::AsyncPacketSocket *, ::rtc::ReceivedPacket const &)
Definition BasicPortAllocatorSession.h:22
Definition PortInterface.h:29
Definition AsyncPacketSocket.h:20
Definition Network.h:18
Definition ReceivedPacket.h:16
Definition PortConfiguration.h:17
Definition RelayServerConfig.h:15