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"
14namespace webrtc {
class DataChannelInterface; }
15namespace webrtc {
struct DataBuffer; }
53 virtual void OnStateChange() ;
59 virtual void OnBufferedAmountChange(uint64) ;
62 virtual bool IsOkToCallOnTheNetworkThread() ;
76 MCNAPI
void send(uchar
const* source, uint64 size);
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)
Definition PacketQueue.h:20
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 DataChannelObserver.h:12
Definition scoped_refptr.h:8
Definition DataBuffer.h:7