3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/external/webrtc/DataChannelTransportInterface.h"
7#include "mc/external/webrtc/DtlsTransportState.h"
8#include "mc/external/webrtc/SctpTransportInterface.h"
9#include "mc/external/webrtc/SctpTransportState.h"
10#include "mc/external/webrtc/scoped_refptr.h"
14namespace cricket {
class DtlsTransportInternal; }
15namespace cricket {
class SctpTransportInternal; }
16namespace rtc {
class CopyOnWriteBuffer; }
17namespace webrtc {
class DataChannelSink; }
18namespace webrtc {
class DtlsTransport; }
19namespace webrtc {
class DtlsTransportInterface; }
20namespace webrtc {
class RTCError; }
21namespace webrtc {
class SctpTransportInformation; }
22namespace webrtc {
class SctpTransportObserverInterface; }
23namespace webrtc {
struct SendDataParams; }
49 virtual ::webrtc::scoped_refptr<::webrtc::DtlsTransportInterface> dtls_transport()
const ;
52 virtual ::webrtc::SctpTransportInformation Information()
const ;
58 virtual void UnregisterObserver() ;
61 virtual ::webrtc::RTCError OpenChannel(
int channel_id) ;
64 virtual ::webrtc::RTCError SendData(
71 virtual ::webrtc::RTCError CloseChannel(
int channel_id) ;
77 virtual bool IsReadyToSend()
const ;
80 virtual uint64 buffered_amount(
int channel_id)
const ;
83 virtual uint64 buffered_amount_low_threshold(
int channel_id)
const ;
86 virtual void SetBufferedAmountLowThreshold(
int channel_id, uint64 bytes) ;
102 ::std::unique_ptr<::cricket::SctpTransportInternal> internal,
106 MCNAPI
void Start(
int local_port,
int remote_port,
int max_message_size);
115 ::std::unique_ptr<::cricket::SctpTransportInternal> internal,
129 MCNAPI ::webrtc::scoped_refptr<::webrtc::DtlsTransportInterface>
$dtls_transport()
const;
139 MCNAPI ::webrtc::RTCError
Definition DtlsTransportInternal.h:21
Definition CopyOnWriteBuffer.h:11
Definition DataChannelSink.h:16
Definition DataChannelTransportInterface.h:15
Definition SctpTransportInterface.h:18
Definition SctpTransportObserverInterface.h:12
Definition SctpTransport.h:28
MCAPI void UpdateInformation(::webrtc::SctpTransportState state)
MCAPI void $SetDataSink(::webrtc::DataChannelSink *sink)
MCAPI uint64 $buffered_amount(int channel_id) const
MCAPI void Start(int local_port, int remote_port, int max_message_size)
static MCAPI void ** $vftableForDataChannelTransportInterface()
MCAPI void OnAssociationChangeCommunicationUp()
MCAPI void OnDtlsStateChange(::cricket::DtlsTransportInternal *transport, ::webrtc::DtlsTransportState state)
MCAPI void $UnregisterObserver()
MCAPI void $SetBufferedAmountLowThreshold(int channel_id, uint64 bytes)
static MCAPI void ** $vftableForSctpTransportInterface()
MCAPI uint64 $buffered_amount_low_threshold(int channel_id) const
MCAPI::webrtc::RTCError $OpenChannel(int channel_id)
MCAPI::webrtc::SctpTransportInformation $Information() const
MCAPI::webrtc::RTCError $CloseChannel(int channel_id)
MCAPI void * $ctor(::std::unique_ptr<::cricket::SctpTransportInternal > internal, ::webrtc::scoped_refptr<::webrtc::DtlsTransport > dtls_transport)
MCAPI void $RegisterObserver(::webrtc::SctpTransportObserverInterface *observer)
MCAPI::webrtc::RTCError $SendData(int channel_id, ::webrtc::SendDataParams const ¶ms, ::rtc::CopyOnWriteBuffer const &buffer)
MCAPI ::webrtc::scoped_refptr<::webrtc::DtlsTransportInterface > $dtls_transport() const
MCAPI bool $IsReadyToSend() const
MCAPI SctpTransport(::std::unique_ptr<::cricket::SctpTransportInternal > internal, ::webrtc::scoped_refptr<::webrtc::DtlsTransport > dtls_transport)
Definition scoped_refptr.h:8
Definition SendDataParams.h:7