LeviLamina
Loading...
Searching...
No Matches
IDebuggerTransport.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
namespace
Scripting {
6
7
class
IDebuggerTransport
{
8
public
:
9
// virtual functions
10
// NOLINTBEGIN
11
virtual
~IDebuggerTransport
() =
default
;
12
13
virtual
bool
listen(ushort port) = 0;
14
15
virtual
bool
connect(::std::string
const
& host, ushort port) = 0;
16
17
virtual
bool
selectClient(::std::string& outClient) = 0;
18
19
virtual
bool
started()
const
= 0;
20
21
virtual
bool
connected()
const
= 0;
22
23
virtual
bool
lostConnection()
const
= 0;
24
25
virtual
bool
readyClose()
const
= 0;
26
27
virtual
void
close() = 0;
28
29
virtual
bool
peek()
const
= 0;
30
31
virtual
bool
receive(
char
*
buffer
, uint64 length) = 0;
32
33
virtual
void
send(
char
const
*
buffer
, uint64 length) = 0;
34
// NOLINTEND
35
36
public
:
37
// virtual function thunks
38
// NOLINTBEGIN
39
40
// NOLINTEND
41
};
42
43
}
// namespace Scripting
Scripting::IDebuggerTransport
Definition
IDebuggerTransport.h:7
buffer
Definition
buffer.h:5
src
mc
deps
scripting
runtime
IDebuggerTransport.h
Generated on
for LeviLamina by
1.16.1