LeviLamina
Loading...
Searching...
No Matches
TurnEntry.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/sigslot/has_slots.h"
7#include "mc/external/sigslot/single_threaded.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace rtc { struct PacketOptions; }
12// clang-format on
13
14namespace cricket {
15
16class TurnEntry : public ::sigslot::has_slots<::sigslot::single_threaded> {
17public:
18 // TurnEntry inner types define
19 enum class BindState : int {
20 Unbound = 0,
21 Binding = 1,
22 Bound = 2,
23 };
24
25public:
26 // member variables
27 // NOLINTBEGIN
35 // NOLINTEND
36
37public:
38 // prevent constructor by default
39 TurnEntry& operator=(TurnEntry const&);
40 TurnEntry(TurnEntry const&);
41 TurnEntry();
42
43public:
44 // virtual functions
45 // NOLINTBEGIN
46 virtual ~TurnEntry() /*override*/ = default;
47 // NOLINTEND
48
49public:
50 // member functions
51 // NOLINTBEGIN
52 MCNAPI void OnChannelBindSuccess();
53
55
56 MCNAPI int Send(void const* data, uint64 size, bool payload, ::rtc::PacketOptions const& options);
57
58 MCNAPI void SendChannelBindRequest(int delay);
59
60 MCNAPI void SendCreatePermissionRequest(int delay);
61 // NOLINTEND
62
63public:
64 // vftables
65 // NOLINTBEGIN
66 MCNAPI static void** $vftable();
67 // NOLINTEND
68};
69
70} // namespace cricket
MCAPI void SendChannelBindRequest(int delay)
static MCAPI void ** $vftable()
MCAPI void OnChannelBindSuccess()
MCAPI void OnCreatePermissionSuccess()
MCAPI void SendCreatePermissionRequest(int delay)
MCAPI int Send(void const *data, uint64 size, bool payload, ::rtc::PacketOptions const &options)
Definition has_slots.h:8
Definition Alias.h:14
Definition PacketOptions.h:10