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"
39 SctpTransport& operator=(SctpTransport
const&);
40 SctpTransport(SctpTransport
const&);
46 virtual ::webrtc::scoped_refptr<::webrtc::DtlsTransportInterface> dtls_transport()
const ;
48 virtual ::webrtc::SctpTransportInformation Information()
const ;
52 virtual void UnregisterObserver() ;
54 virtual ::webrtc::RTCError OpenChannel(
int channel_id) ;
56 virtual ::webrtc::RTCError SendData(
62 virtual ::webrtc::RTCError CloseChannel(
int channel_id) ;
66 virtual bool IsReadyToSend()
const ;
68 virtual uint64 buffered_amount(
int channel_id)
const ;
70 virtual uint64 buffered_amount_low_threshold(
int channel_id)
const ;
72 virtual void SetBufferedAmountLowThreshold(
int channel_id, uint64 bytes) ;
74 virtual ~SctpTransport() ;
83 ::std::unique_ptr<::cricket::SctpTransportInternal> internal,
87 MCNAPI
void Start(
int local_port,
int remote_port,
int max_message_size);
96 ::std::unique_ptr<::cricket::SctpTransportInternal> internal,
110 MCNAPI ::webrtc::scoped_refptr<::webrtc::DtlsTransportInterface>
$dtls_transport()
const;
120 MCNAPI ::webrtc::RTCError
Definition SctpTransportInternal.h:16
Definition CopyOnWriteBuffer.h:11
Definition DataChannelSink.h:16
Definition DataChannelTransportInterface.h:15
Definition DtlsTransportInterface.h:18
Definition DtlsTransport.h:19
Definition SctpTransportInterface.h:18
Definition SctpTransportObserverInterface.h:12
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 $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