3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/nether_net/ContextProxy.h"
7#include "mc/deps/nether_net/ESessionError.h"
8#include "mc/external/webrtc/DataChannelObserver.h"
9#include "mc/external/webrtc/scoped_refptr.h"
10#include "mc/platform/brstd/move_only_function.h"
42 DataChannel& operator=(DataChannel
const&);
43 DataChannel(DataChannel
const&);
49 virtual ~DataChannel() ;
51 virtual void OnStateChange() ;
55 virtual void OnBufferedAmountChange(uint64) ;
57 virtual bool IsOkToCallOnTheNetworkThread() ;
71 MCNAPI
void send(uchar
const* source, uint64 size);
126 PacketQueue& operator=(PacketQueue
const&);
127 PacketQueue(PacketQueue
const&);
133 virtual ~PacketQueue() =
default;
Definition ContextProxy.h:18
Definition PacketQueue.h:28
MCAPI bool $IsOkToCallOnTheNetworkThread()
MCAPI void $OnBufferedAmountChange(uint64)
MCAPI void send(uchar const *source, uint64 size)
MCAPI void setChannel(::webrtc::scoped_refptr<::webrtc::DataChannelInterface > channel)
MCAPI void $OnMessage(::webrtc::DataBuffer const &buffer)
MCAPI void $OnStateChange()
MCAPI DataChannel(::NetherNet::ContextProxy const &ctx, ::brstd::move_only_function< void(::NetherNet::ESessionError)> onClose, ::brstd::move_only_function< void(uchar const *, uint64)> onData)
static MCAPI void ** $vftableForDataChannelObserver()
static MCAPI void ** $vftableForContextProxy()
MCAPI void * $ctor(::NetherNet::ContextProxy const &ctx, ::brstd::move_only_function< void(::NetherNet::ESessionError)> onClose, ::brstd::move_only_function< void(uchar const *, uint64)> onData)
static MCAPI void ** $vftable()
MCAPI void * $ctor(::NetherNet::ContextProxy const &ctx, ::brstd::move_only_function< void(::NetherNet::ESessionError)> onClose)
MCAPI PacketQueue(::NetherNet::ContextProxy const &ctx, ::brstd::move_only_function< void(::NetherNet::ESessionError)> onClose)
Definition move_only_function.h:9
Definition DataChannelInterface.h:19
Definition DataChannelObserver.h:12
Definition scoped_refptr.h:8
Definition DataBuffer.h:7