LeviLamina
Loading...
Searching...
No Matches
SctpDataChannel.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/rtc/WeakPtr.h"
7#include "mc/external/webrtc/DataChannelInterface.h"
8#include "mc/external/webrtc/DataMessageType.h"
9#include "mc/external/webrtc/scoped_refptr.h"
10
11// auto generated forward declare list
12// clang-format off
13namespace rtc { class CopyOnWriteBuffer; }
14namespace rtc { class Thread; }
15namespace webrtc { class DataChannelInterface; }
16namespace webrtc { class DataChannelObserver; }
17namespace webrtc { class PendingTaskSafetyFlag; }
18namespace webrtc { class RTCError; }
19namespace webrtc { class SctpDataChannelControllerInterface; }
20namespace webrtc { class StreamId; }
21namespace webrtc { struct DataBuffer; }
22namespace webrtc { struct DataChannelStats; }
23namespace webrtc { struct InternalDataChannelInit; }
24// clang-format on
25
26namespace webrtc {
27
29public:
30 // SctpDataChannel inner types declare
31 // clang-format off
32 class ObserverAdapter;
33 // clang-format on
34
35 // SctpDataChannel inner types define
37 public:
38 // member functions
39 // NOLINTBEGIN
41 // NOLINTEND
42
43 public:
44 // vftables
45 // NOLINTBEGIN
46 MCNAPI static void** $vftable();
47 // NOLINTEND
48 };
49
50public:
51 // prevent constructor by default
53
54public:
55 // member functions
56 // NOLINTBEGIN
57 MCNAPI void CloseAbruptlyWithDataChannelFailure(::std::string const&);
58
60
62
63 MCNAPI ::webrtc::DataChannelStats GetStats() const;
64
66
67 MCNAPI void OnBufferedAmountLow();
68
70
72
73 MCNAPI void OnDataReceived(::webrtc::DataMessageType, ::rtc::CopyOnWriteBuffer const&);
74
76
78
79 MCNAPI void OnTransportReady();
80
84 ::std::string const&,
85 bool,
88 );
89
91
92 MCNAPI ::webrtc::RTCError SendDataMessage(::webrtc::DataBuffer const&, bool);
93
94 MCNAPI ::webrtc::RTCError SendImpl(::webrtc::DataBuffer);
95
97
98 MCNAPI void SetState(::webrtc::DataChannelInterface::DataState);
99
100 MCNAPI void UpdateState();
101 // NOLINTEND
102
103public:
104 // static functions
105 // NOLINTBEGIN
106 MCNAPI static ::webrtc::scoped_refptr<::webrtc::SctpDataChannel> Create(
108 ::std::string const&,
109 bool,
113 );
114
115 MCNAPI static ::webrtc::scoped_refptr<::webrtc::DataChannelInterface> CreateProxy(
118 );
119 // NOLINTEND
120
121public:
122 // constructor thunks
123 // NOLINTBEGIN
124 MCNAPI void* $ctor(
127 ::std::string const&,
128 bool,
131 );
132 // NOLINTEND
133
134public:
135 // vftables
136 // NOLINTBEGIN
137 MCNAPI static void** $vftable();
138 // NOLINTEND
139};
140
141} // namespace webrtc
Definition CopyOnWriteBuffer.h:11
Definition Thread.h:20
Definition WeakPtr.h:8
Definition DataChannelObserver.h:12
Definition RTCError.h:10
Definition SctpDataChannel.h:36
MCAPI void SetDelegate(::webrtc::DataChannelObserver *)
Definition SctpDataChannel.h:28
MCAPI void CloseAbruptlyWithError(::webrtc::RTCError)
MCAPI void OnClosingProcedureStartedRemotely()
MCAPI void SetState(::webrtc::DataChannelInterface::DataState)
MCAPI SctpDataChannel(::webrtc::InternalDataChannelInit const &, ::rtc::WeakPtr<::webrtc::SctpDataChannelControllerInterface >, ::std::string const &, bool, ::rtc::Thread *, ::rtc::Thread *)
MCAPI void OnDataReceived(::webrtc::DataMessageType, ::rtc::CopyOnWriteBuffer const &)
MCAPI void * $ctor(::webrtc::InternalDataChannelInit const &, ::rtc::WeakPtr<::webrtc::SctpDataChannelControllerInterface >, ::std::string const &, bool, ::rtc::Thread *, ::rtc::Thread *)
static MCAPI void ** $vftable()
MCAPI::webrtc::RTCError SendImpl(::webrtc::DataBuffer)
MCAPI void OnTransportReady()
MCAPI void DeliverQueuedReceivedData()
MCAPI void MaybeSendOnBufferedAmountChanged()
MCAPI void OnClosingProcedureComplete()
MCAPI void UpdateState()
MCAPI::webrtc::DataChannelStats GetStats() const
MCAPI::webrtc::RTCError SendDataMessage(::webrtc::DataBuffer const &, bool)
MCAPI void OnTransportChannelClosed(::webrtc::RTCError)
static MCAPI ::webrtc::scoped_refptr<::webrtc::SctpDataChannel > Create(::rtc::WeakPtr<::webrtc::SctpDataChannelControllerInterface >, ::std::string const &, bool, ::webrtc::InternalDataChannelInit const &, ::rtc::Thread *, ::rtc::Thread *)
MCAPI void OnBufferedAmountLow()
MCAPI bool SendControlMessage(::rtc::CopyOnWriteBuffer const &)
static MCAPI ::webrtc::scoped_refptr<::webrtc::DataChannelInterface > CreateProxy(::webrtc::scoped_refptr<::webrtc::SctpDataChannel >, ::webrtc::scoped_refptr<::webrtc::PendingTaskSafetyFlag >)
MCAPI void CloseAbruptlyWithDataChannelFailure(::std::string const &)
MCAPI void OnTransportChannelCreated()
MCAPI void SetSctpSid_n(::webrtc::StreamId)
Definition StreamId.h:7
Definition scoped_refptr.h:8
Definition DataBuffer.h:7
Definition InternalDataChannelInit.h:12