LeviLamina
Loading...
Searching...
No Matches
SctpTransportInternal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace rtc { class CopyOnWriteBuffer; }
8namespace rtc { class PacketTransportInternal; }
9namespace webrtc { class DataChannelSink; }
10namespace webrtc { class RTCError; }
11namespace webrtc { struct SendDataParams; }
12// clang-format on
13
14namespace cricket {
15
17public:
18 // virtual functions
19 // NOLINTBEGIN
20 // vIndex: 0
21 virtual ~SctpTransportInternal();
22
23 // vIndex: 1
24 virtual void SetOnConnectedCallback(::std::function<void()>) = 0;
25
26 // vIndex: 2
27 virtual void SetDataChannelSink(::webrtc::DataChannelSink*) = 0;
28
29 // vIndex: 3
30 virtual void SetDtlsTransport(::rtc::PacketTransportInternal*) = 0;
31
32 // vIndex: 4
33 virtual bool Start(int, int, int) = 0;
34
35 // vIndex: 5
36 virtual bool OpenStream(int) = 0;
37
38 // vIndex: 6
39 virtual bool ResetStream(int) = 0;
40
41 // vIndex: 7
42 virtual ::webrtc::RTCError SendData(int, ::webrtc::SendDataParams const&, ::rtc::CopyOnWriteBuffer const&) = 0;
43
44 // vIndex: 8
45 virtual bool ReadyToSendData() = 0;
46
47 // vIndex: 9
48 virtual int max_message_size() const = 0;
49
50 // vIndex: 10
51 virtual ::std::optional<int> max_outbound_streams() const = 0;
52
53 // vIndex: 11
54 virtual ::std::optional<int> max_inbound_streams() const = 0;
55
56 // vIndex: 12
57 virtual uint64 buffered_amount(int) const = 0;
58
59 // vIndex: 13
60 virtual uint64 buffered_amount_low_threshold(int) const = 0;
61
62 // vIndex: 14
63 virtual void SetBufferedAmountLowThreshold(int, uint64) = 0;
64
65 // vIndex: 15
66 virtual void set_debug_name_for_testing(char const*) = 0;
67 // NOLINTEND
68
69public:
70 // destructor thunk
71 // NOLINTBEGIN
72 MCNAPI void $dtor();
73 // NOLINTEND
74
75public:
76 // virtual function thunks
77 // NOLINTBEGIN
78
79 // NOLINTEND
80
81public:
82 // vftables
83 // NOLINTBEGIN
84 MCNAPI static void** $vftable();
85 // NOLINTEND
86};
87
88} // namespace cricket
Definition SctpTransportInternal.h:16
static MCAPI void ** $vftable()
Definition CopyOnWriteBuffer.h:11
Definition PacketTransportInternal.h:20
Definition DataChannelSink.h:16
Definition SendDataParams.h:7