3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/external/webrtc/DataChannelTransportInterface.h"
7#include "mc/external/webrtc/SctpTransportInterface.h"
8#include "mc/external/webrtc/SctpTransportState.h"
9#include "mc/external/webrtc/scoped_refptr.h"
41 SctpTransport& operator=(SctpTransport
const&);
42 SctpTransport(SctpTransport
const&);
48 virtual ::webrtc::scoped_refptr<::webrtc::DtlsTransportInterface> dtls_transport()
const ;
50 virtual ::webrtc::SctpTransportInformation Information()
const ;
54 virtual void UnregisterObserver() ;
58 virtual ::webrtc::RTCError SendData(
64 virtual ::webrtc::RTCError CloseChannel(
int channel_id) ;
68 virtual bool IsReadyToSend()
const ;
70 virtual uint64 buffered_amount(
int channel_id)
const ;
72 virtual uint64 buffered_amount_low_threshold(
int channel_id)
const ;
74 virtual void SetBufferedAmountLowThreshold(
int channel_id, uint64 bytes) ;
76 virtual ~SctpTransport() ;
85 ::std::unique_ptr<::webrtc::SctpTransportInternal> internal,
98 ::std::unique_ptr<::webrtc::SctpTransportInternal> internal,
112 MCNAPI ::webrtc::scoped_refptr<::webrtc::DtlsTransportInterface>
$dtls_transport()
const;
122 MCNAPI ::webrtc::RTCError
Definition CopyOnWriteBuffer.h:11
Definition DataChannelSink.h:16
Definition DataChannelTransportInterface.h:16
Definition DtlsTransportInterface.h:18
Definition DtlsTransport.h:19
Definition PriorityValue.h:16
Definition SctpTransportInterface.h:18
Definition SctpTransportInternal.h:18
Definition SctpTransportObserverInterface.h:12
MCAPI void UpdateInformation(::webrtc::SctpTransportState state)
MCAPI void $SetDataSink(::webrtc::DataChannelSink *sink)
MCAPI::webrtc::RTCError $OpenChannel(int channel_id, ::webrtc::PriorityValue priority)
MCAPI void * $ctor(::std::unique_ptr<::webrtc::SctpTransportInternal > internal, ::webrtc::scoped_refptr<::webrtc::DtlsTransport > dtls_transport)
MCAPI uint64 $buffered_amount(int channel_id) const
static MCAPI void ** $vftableForDataChannelTransportInterface()
MCAPI void $UnregisterObserver()
MCAPI void Start(::webrtc::SctpOptions const &options)
MCAPI void $SetBufferedAmountLowThreshold(int channel_id, uint64 bytes)
static MCAPI void ** $vftableForSctpTransportInterface()
MCAPI uint64 $buffered_amount_low_threshold(int channel_id) const
MCAPI::webrtc::SctpTransportInformation $Information() const
MCAPI::webrtc::RTCError $CloseChannel(int channel_id)
MCAPI SctpTransport(::std::unique_ptr<::webrtc::SctpTransportInternal > internal, ::webrtc::scoped_refptr<::webrtc::DtlsTransport > dtls_transport)
MCAPI void $RegisterObserver(::webrtc::SctpTransportObserverInterface *observer)
MCAPI ::webrtc::scoped_refptr<::webrtc::DtlsTransportInterface > $dtls_transport() const
MCAPI::webrtc::RTCError $SendData(int channel_id, ::webrtc::SendDataParams const ¶ms, ::webrtc::CopyOnWriteBuffer const &buffer)
MCAPI bool $IsReadyToSend() const
Definition scoped_refptr.h:8
Definition SctpOptions.h:7
Definition SendDataParams.h:7