3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/scripting/runtime/IDebuggerTransport.h"
21 ScriptDebuggerTransport& operator=(ScriptDebuggerTransport
const&);
22 ScriptDebuggerTransport(ScriptDebuggerTransport
const&);
23 ScriptDebuggerTransport();
28 virtual ~ScriptDebuggerTransport() =
default;
30 virtual bool listen(ushort port) ;
32 virtual bool connect(::std::string
const& host, ushort port) ;
34 virtual bool selectClient(::std::string& outClient) ;
36 virtual bool started()
const ;
38 virtual bool connected()
const ;
40 virtual bool lostConnection()
const ;
42 virtual bool readyClose()
const ;
44 virtual void close() ;
46 virtual bool peek()
const ;
48 virtual bool receive(
char*
buffer, uint64 length) ;
50 virtual void send(
char const*
buffer, uint64 length) ;
58 MCNAPI
bool $connect(::std::string
const& host, ushort port);
MCAPI bool $connected() const
MCAPI void $send(char const *buffer, uint64 length)
MCAPI bool $lostConnection() const
MCAPI bool $receive(char *buffer, uint64 length)
MCAPI bool $selectClient(::std::string &outClient)
MCAPI bool $connect(::std::string const &host, ushort port)
MCAPI bool $started() const
static MCAPI void ** $vftable()
MCAPI bool $readyClose() const
MCAPI bool $listen(ushort port)
Definition IDebuggerTransport.h:7