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 virtual ~SctpTransportInternal();
21
22 virtual void SetOnConnectedCallback(::std::function<void()>) = 0;
23
24 virtual void SetDataChannelSink(::webrtc::DataChannelSink*) = 0;
25
26 virtual void SetDtlsTransport(::rtc::PacketTransportInternal*) = 0;
27
28 virtual bool Start(int, int, int) = 0;
29
30 virtual bool OpenStream(int) = 0;
31
32 virtual bool ResetStream(int) = 0;
33
34 virtual ::webrtc::RTCError SendData(int, ::webrtc::SendDataParams const&, ::rtc::CopyOnWriteBuffer const&) = 0;
35
36 virtual bool ReadyToSendData() = 0;
37
38 virtual int max_message_size() const = 0;
39
40 virtual ::std::optional<int> max_outbound_streams() const = 0;
41
42 virtual ::std::optional<int> max_inbound_streams() const = 0;
43
44 virtual uint64 buffered_amount(int) const = 0;
45
46 virtual uint64 buffered_amount_low_threshold(int) const = 0;
47
48 virtual void SetBufferedAmountLowThreshold(int, uint64) = 0;
49
50 virtual void set_debug_name_for_testing(char const*) = 0;
51 // NOLINTEND
52
53public:
54 // destructor thunk
55 // NOLINTBEGIN
56 MCNAPI void $dtor();
57 // NOLINTEND
58
59public:
60 // virtual function thunks
61 // NOLINTBEGIN
62
63 // NOLINTEND
64
65public:
66 // vftables
67 // NOLINTBEGIN
68 MCNAPI static void** $vftable();
69 // NOLINTEND
70};
71
72} // namespace cricket
Definition SctpTransportInternal.h:16
static MCAPI void ** $vftable()
Definition CopyOnWriteBuffer.h:11
Definition PacketTransportInternal.h:20
Definition DataChannelSink.h:16
Definition RTCError.h:10
Definition SendDataParams.h:7