LeviLamina
Loading...
Searching...
No Matches
ScriptDebuggerTransport.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/scripting/runtime/IDebuggerTransport.h"
7
8class ScriptDebuggerTransport : public ::Scripting::IDebuggerTransport {
9public:
10 // member variables
11 // NOLINTBEGIN
17 // NOLINTEND
18
19public:
20 // prevent constructor by default
21 ScriptDebuggerTransport& operator=(ScriptDebuggerTransport const&);
22 ScriptDebuggerTransport(ScriptDebuggerTransport const&);
23 ScriptDebuggerTransport();
24
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 virtual ~ScriptDebuggerTransport() /*override*/ = default;
29
30 virtual bool listen(ushort port) /*override*/;
31
32 virtual bool connect(::std::string const& host, ushort port) /*override*/;
33
34 virtual bool selectClient(::std::string& outClient) /*override*/;
35
36 virtual bool started() const /*override*/;
37
38 virtual bool connected() const /*override*/;
39
40 virtual bool lostConnection() const /*override*/;
41
42 virtual bool readyClose() const /*override*/;
43
44 virtual void close() /*override*/;
45
46 virtual bool peek() const /*override*/;
47
48 virtual bool receive(char* buffer, uint64 length) /*override*/;
49
50 virtual void send(char const* buffer, uint64 length) /*override*/;
51 // NOLINTEND
52
53public:
54 // virtual function thunks
55 // NOLINTBEGIN
56 MCNAPI bool $listen(ushort port);
57
58 MCNAPI bool $connect(::std::string const& host, ushort port);
59
60 MCNAPI bool $selectClient(::std::string& outClient);
61
62 MCNAPI bool $started() const;
63
64 MCNAPI bool $connected() const;
65
66 MCNAPI bool $lostConnection() const;
67
68 MCNAPI bool $readyClose() const;
69
70 MCNAPI void $close();
71
72 MCNAPI bool $peek() const;
73
74 MCNAPI bool $receive(char* buffer, uint64 length);
75
76 MCNAPI void $send(char const* buffer, uint64 length);
77
78
79 // NOLINTEND
80
81public:
82 // vftables
83 // NOLINTBEGIN
84 MCNAPI static void** $vftable();
85 // NOLINTEND
86};
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 $peek() const
MCAPI bool $readyClose() const
MCAPI bool $listen(ushort port)
Definition IDebuggerTransport.h:7
Definition buffer.h:5
Definition Alias.h:14