@webvpn/dgram 0.0.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.cjs +2235 -2327
- package/build/index.cjs.map +1 -1
- package/build/index.d.ts +5 -184
- package/build/index.js +10094 -2664
- package/build/index.js.map +1 -1
- package/package.json +4 -6
- package/src/index.ts +5 -698
- package/vite-plugin-node-stdlib-browser.cjs +61 -61
- package/vite.config.ts +29 -29
- package/build/index.mjs +0 -3252
- package/build/index.mjs.map +0 -1
- package/build/test.d.ts +0 -1
- package/build/utils.d.ts +0 -13
- package/index.html +0 -11
- package/src/chrome-dgram.js +0 -503
- package/src/flatbuffers/client-packet-type.ts +0 -40
- package/src/flatbuffers/client-packet.ts +0 -162
- package/src/flatbuffers/client-tcpserver-close.ts +0 -93
- package/src/flatbuffers/client-tcpserver-get-connections.ts +0 -93
- package/src/flatbuffers/client-tcpserver-listen.ts +0 -211
- package/src/flatbuffers/client-tcpserver.ts +0 -159
- package/src/flatbuffers/client-tcpsocket-connect.ts +0 -253
- package/src/flatbuffers/client-tcpsocket-destroy-soon.ts +0 -75
- package/src/flatbuffers/client-tcpsocket-destroy.ts +0 -93
- package/src/flatbuffers/client-tcpsocket-end.ts +0 -93
- package/src/flatbuffers/client-tcpsocket-pause.ts +0 -75
- package/src/flatbuffers/client-tcpsocket-reset-and-destroy.ts +0 -75
- package/src/flatbuffers/client-tcpsocket-resume.ts +0 -75
- package/src/flatbuffers/client-tcpsocket-set-encoding.ts +0 -93
- package/src/flatbuffers/client-tcpsocket-set-keep-alive.ts +0 -103
- package/src/flatbuffers/client-tcpsocket-set-no-delay.ts +0 -89
- package/src/flatbuffers/client-tcpsocket-set-timeout.ts +0 -107
- package/src/flatbuffers/client-tcpsocket-write.ts +0 -147
- package/src/flatbuffers/client-tcpsocket.ts +0 -89
- package/src/flatbuffers/client-udpsocket-add-membership.ts +0 -110
- package/src/flatbuffers/client-udpsocket-add-source-specific-membership.ts +0 -127
- package/src/flatbuffers/client-udpsocket-bind.ts +0 -138
- package/src/flatbuffers/client-udpsocket-close.ts +0 -93
- package/src/flatbuffers/client-udpsocket-disconnect.ts +0 -75
- package/src/flatbuffers/client-udpsocket-drop-membership.ts +0 -110
- package/src/flatbuffers/client-udpsocket-drop-source-specific-membership.ts +0 -127
- package/src/flatbuffers/client-udpsocket-send.ts +0 -189
- package/src/flatbuffers/client-udpsocket-set-broadcast.ts +0 -89
- package/src/flatbuffers/client-udpsocket-set-multicast-interface.ts +0 -93
- package/src/flatbuffers/client-udpsocket-set-multicast-loopback.ts +0 -89
- package/src/flatbuffers/client-udpsocket-set-multicast-ttl.ts +0 -89
- package/src/flatbuffers/client-udpsocket-set-recv-buffer-size.ts +0 -89
- package/src/flatbuffers/client-udpsocket-set-send-buffer-size.ts +0 -89
- package/src/flatbuffers/client-udpsocket-set-ttl.ts +0 -89
- package/src/flatbuffers/client-udpsocket.ts +0 -149
- package/src/flatbuffers/packet-handshake-type.ts +0 -9
- package/src/flatbuffers/packet.ts +0 -210
- package/src/flatbuffers/schema.ts +0 -75
- package/src/flatbuffers/server-packet-type.ts +0 -38
- package/src/flatbuffers/server-packet.ts +0 -158
- package/src/flatbuffers/server-tcpserver-callback-close.ts +0 -93
- package/src/flatbuffers/server-tcpserver-callback-get-connections.ts +0 -124
- package/src/flatbuffers/server-tcpserver-callback-listen.ts +0 -141
- package/src/flatbuffers/server-tcpserver-event-close.ts +0 -75
- package/src/flatbuffers/server-tcpserver-event-drop.ts +0 -75
- package/src/flatbuffers/server-tcpserver-event-error.ts +0 -75
- package/src/flatbuffers/server-tcpserver-event-listening.ts +0 -124
- package/src/flatbuffers/server-tcpsocket-callback-connect.ts +0 -189
- package/src/flatbuffers/server-tcpsocket-callback-end.ts +0 -93
- package/src/flatbuffers/server-tcpsocket-callback-set-timeout.ts +0 -93
- package/src/flatbuffers/server-tcpsocket-callback-write.ts +0 -93
- package/src/flatbuffers/server-tcpsocket-event-close.ts +0 -89
- package/src/flatbuffers/server-tcpsocket-event-connect.ts +0 -172
- package/src/flatbuffers/server-tcpsocket-event-connection-attempt-failed.ts +0 -138
- package/src/flatbuffers/server-tcpsocket-event-connection-attempt-timeout.ts +0 -121
- package/src/flatbuffers/server-tcpsocket-event-connection-attempt.ts +0 -121
- package/src/flatbuffers/server-tcpsocket-event-data.ts +0 -113
- package/src/flatbuffers/server-tcpsocket-event-drain.ts +0 -75
- package/src/flatbuffers/server-tcpsocket-event-end.ts +0 -75
- package/src/flatbuffers/server-tcpsocket-event-error.ts +0 -93
- package/src/flatbuffers/server-tcpsocket-event-lookup.ts +0 -141
- package/src/flatbuffers/server-tcpsocket-event-ready.ts +0 -75
- package/src/flatbuffers/server-tcpsocket-event-timeout.ts +0 -75
- package/src/flatbuffers/server-udpsocket-callback-bind.ts +0 -141
- package/src/flatbuffers/server-udpsocket-callback-close.ts +0 -93
- package/src/flatbuffers/server-udpsocket-callback-connect.ts +0 -141
- package/src/flatbuffers/server-udpsocket-callback-send.ts +0 -93
- package/src/flatbuffers/server-udpsocket-event-close.ts +0 -75
- package/src/flatbuffers/server-udpsocket-event-connect.ts +0 -75
- package/src/flatbuffers/server-udpsocket-event-error.ts +0 -93
- package/src/flatbuffers/server-udpsocket-event-listening.ts +0 -124
- package/src/flatbuffers/server-udpsocket-event-message.ts +0 -175
- package/src/net.js +0 -2442
- package/src/test.ts +0 -34
- package/src/types.ts +0 -16
- package/src/utils.ts +0 -45
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
// automatically generated by the FlatBuffers compiler, do not modify
|
|
2
|
-
|
|
3
|
-
/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
|
|
4
|
-
|
|
5
|
-
import * as flatbuffers from 'flatbuffers';
|
|
6
|
-
|
|
7
|
-
import { ClientPacketType } from './client-packet-type.js';
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export class ClientTCPServer implements flatbuffers.IUnpackableObject<ClientTCPServerT> {
|
|
11
|
-
bb: flatbuffers.ByteBuffer|null = null;
|
|
12
|
-
bb_pos = 0;
|
|
13
|
-
__init(i:number, bb:flatbuffers.ByteBuffer):ClientTCPServer {
|
|
14
|
-
this.bb_pos = i;
|
|
15
|
-
this.bb = bb;
|
|
16
|
-
return this;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
static getRootAsClientTCPServer(bb:flatbuffers.ByteBuffer, obj?:ClientTCPServer):ClientTCPServer {
|
|
20
|
-
return (obj || new ClientTCPServer()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
static getSizePrefixedRootAsClientTCPServer(bb:flatbuffers.ByteBuffer, obj?:ClientTCPServer):ClientTCPServer {
|
|
24
|
-
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
25
|
-
return (obj || new ClientTCPServer()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
type():ClientPacketType {
|
|
29
|
-
const offset = this.bb!.__offset(this.bb_pos, 4);
|
|
30
|
-
return offset ? this.bb!.readInt8(this.bb_pos + offset) : ClientPacketType.TCPSocket;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
allowHalfOpen():boolean {
|
|
34
|
-
const offset = this.bb!.__offset(this.bb_pos, 6);
|
|
35
|
-
return offset ? !!this.bb!.readInt8(this.bb_pos + offset) : false;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
highWaterMark():number {
|
|
39
|
-
const offset = this.bb!.__offset(this.bb_pos, 8);
|
|
40
|
-
return offset ? this.bb!.readFloat32(this.bb_pos + offset) : 0.0;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
keepAlive():boolean {
|
|
44
|
-
const offset = this.bb!.__offset(this.bb_pos, 10);
|
|
45
|
-
return offset ? !!this.bb!.readInt8(this.bb_pos + offset) : false;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
keepAliveInitialDelay():number {
|
|
49
|
-
const offset = this.bb!.__offset(this.bb_pos, 12);
|
|
50
|
-
return offset ? this.bb!.readFloat32(this.bb_pos + offset) : 0.0;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
noDelay():boolean {
|
|
54
|
-
const offset = this.bb!.__offset(this.bb_pos, 14);
|
|
55
|
-
return offset ? !!this.bb!.readInt8(this.bb_pos + offset) : false;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
pauseOnConnect():boolean {
|
|
59
|
-
const offset = this.bb!.__offset(this.bb_pos, 16);
|
|
60
|
-
return offset ? !!this.bb!.readInt8(this.bb_pos + offset) : false;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
static startClientTCPServer(builder:flatbuffers.Builder) {
|
|
64
|
-
builder.startObject(7);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
static addType(builder:flatbuffers.Builder, type:ClientPacketType) {
|
|
68
|
-
builder.addFieldInt8(0, type, ClientPacketType.TCPSocket);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
static addAllowHalfOpen(builder:flatbuffers.Builder, allowHalfOpen:boolean) {
|
|
72
|
-
builder.addFieldInt8(1, +allowHalfOpen, +false);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
static addHighWaterMark(builder:flatbuffers.Builder, highWaterMark:number) {
|
|
76
|
-
builder.addFieldFloat32(2, highWaterMark, 0.0);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
static addKeepAlive(builder:flatbuffers.Builder, keepAlive:boolean) {
|
|
80
|
-
builder.addFieldInt8(3, +keepAlive, +false);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
static addKeepAliveInitialDelay(builder:flatbuffers.Builder, keepAliveInitialDelay:number) {
|
|
84
|
-
builder.addFieldFloat32(4, keepAliveInitialDelay, 0.0);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
static addNoDelay(builder:flatbuffers.Builder, noDelay:boolean) {
|
|
88
|
-
builder.addFieldInt8(5, +noDelay, +false);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
static addPauseOnConnect(builder:flatbuffers.Builder, pauseOnConnect:boolean) {
|
|
92
|
-
builder.addFieldInt8(6, +pauseOnConnect, +false);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
static endClientTCPServer(builder:flatbuffers.Builder):flatbuffers.Offset {
|
|
96
|
-
const offset = builder.endObject();
|
|
97
|
-
return offset;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
static createClientTCPServer(builder:flatbuffers.Builder, type:ClientPacketType, allowHalfOpen:boolean, highWaterMark:number, keepAlive:boolean, keepAliveInitialDelay:number, noDelay:boolean, pauseOnConnect:boolean):flatbuffers.Offset {
|
|
101
|
-
ClientTCPServer.startClientTCPServer(builder);
|
|
102
|
-
ClientTCPServer.addType(builder, type);
|
|
103
|
-
ClientTCPServer.addAllowHalfOpen(builder, allowHalfOpen);
|
|
104
|
-
ClientTCPServer.addHighWaterMark(builder, highWaterMark);
|
|
105
|
-
ClientTCPServer.addKeepAlive(builder, keepAlive);
|
|
106
|
-
ClientTCPServer.addKeepAliveInitialDelay(builder, keepAliveInitialDelay);
|
|
107
|
-
ClientTCPServer.addNoDelay(builder, noDelay);
|
|
108
|
-
ClientTCPServer.addPauseOnConnect(builder, pauseOnConnect);
|
|
109
|
-
return ClientTCPServer.endClientTCPServer(builder);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
unpack(): ClientTCPServerT {
|
|
113
|
-
return new ClientTCPServerT(
|
|
114
|
-
this.type(),
|
|
115
|
-
this.allowHalfOpen(),
|
|
116
|
-
this.highWaterMark(),
|
|
117
|
-
this.keepAlive(),
|
|
118
|
-
this.keepAliveInitialDelay(),
|
|
119
|
-
this.noDelay(),
|
|
120
|
-
this.pauseOnConnect()
|
|
121
|
-
);
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
unpackTo(_o: ClientTCPServerT): void {
|
|
126
|
-
_o.type = this.type();
|
|
127
|
-
_o.allowHalfOpen = this.allowHalfOpen();
|
|
128
|
-
_o.highWaterMark = this.highWaterMark();
|
|
129
|
-
_o.keepAlive = this.keepAlive();
|
|
130
|
-
_o.keepAliveInitialDelay = this.keepAliveInitialDelay();
|
|
131
|
-
_o.noDelay = this.noDelay();
|
|
132
|
-
_o.pauseOnConnect = this.pauseOnConnect();
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
export class ClientTCPServerT implements flatbuffers.IGeneratedObject {
|
|
137
|
-
constructor(
|
|
138
|
-
public type: ClientPacketType = ClientPacketType.TCPSocket,
|
|
139
|
-
public allowHalfOpen: boolean = false,
|
|
140
|
-
public highWaterMark: number = 0.0,
|
|
141
|
-
public keepAlive: boolean = false,
|
|
142
|
-
public keepAliveInitialDelay: number = 0.0,
|
|
143
|
-
public noDelay: boolean = false,
|
|
144
|
-
public pauseOnConnect: boolean = false
|
|
145
|
-
){}
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
pack(builder:flatbuffers.Builder): flatbuffers.Offset {
|
|
149
|
-
return ClientTCPServer.createClientTCPServer(builder,
|
|
150
|
-
this.type,
|
|
151
|
-
this.allowHalfOpen,
|
|
152
|
-
this.highWaterMark,
|
|
153
|
-
this.keepAlive,
|
|
154
|
-
this.keepAliveInitialDelay,
|
|
155
|
-
this.noDelay,
|
|
156
|
-
this.pauseOnConnect
|
|
157
|
-
);
|
|
158
|
-
}
|
|
159
|
-
}
|
|
@@ -1,253 +0,0 @@
|
|
|
1
|
-
// automatically generated by the FlatBuffers compiler, do not modify
|
|
2
|
-
|
|
3
|
-
/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
|
|
4
|
-
|
|
5
|
-
import * as flatbuffers from 'flatbuffers';
|
|
6
|
-
|
|
7
|
-
import { ClientPacketType } from './client-packet-type.js';
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export class ClientTCPSocketConnect implements flatbuffers.IUnpackableObject<ClientTCPSocketConnectT> {
|
|
11
|
-
bb: flatbuffers.ByteBuffer|null = null;
|
|
12
|
-
bb_pos = 0;
|
|
13
|
-
__init(i:number, bb:flatbuffers.ByteBuffer):ClientTCPSocketConnect {
|
|
14
|
-
this.bb_pos = i;
|
|
15
|
-
this.bb = bb;
|
|
16
|
-
return this;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
static getRootAsClientTCPSocketConnect(bb:flatbuffers.ByteBuffer, obj?:ClientTCPSocketConnect):ClientTCPSocketConnect {
|
|
20
|
-
return (obj || new ClientTCPSocketConnect()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
static getSizePrefixedRootAsClientTCPSocketConnect(bb:flatbuffers.ByteBuffer, obj?:ClientTCPSocketConnect):ClientTCPSocketConnect {
|
|
24
|
-
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
25
|
-
return (obj || new ClientTCPSocketConnect()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
type():ClientPacketType {
|
|
29
|
-
const offset = this.bb!.__offset(this.bb_pos, 4);
|
|
30
|
-
return offset ? this.bb!.readInt8(this.bb_pos + offset) : ClientPacketType.TCPSocket;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
uuid():string|null
|
|
34
|
-
uuid(optionalEncoding:flatbuffers.Encoding):string|Uint8Array|null
|
|
35
|
-
uuid(optionalEncoding?:any):string|Uint8Array|null {
|
|
36
|
-
const offset = this.bb!.__offset(this.bb_pos, 6);
|
|
37
|
-
return offset ? this.bb!.__string(this.bb_pos + offset, optionalEncoding) : null;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
port():number {
|
|
41
|
-
const offset = this.bb!.__offset(this.bb_pos, 8);
|
|
42
|
-
return offset ? this.bb!.readFloat32(this.bb_pos + offset) : 0.0;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
host():string|null
|
|
46
|
-
host(optionalEncoding:flatbuffers.Encoding):string|Uint8Array|null
|
|
47
|
-
host(optionalEncoding?:any):string|Uint8Array|null {
|
|
48
|
-
const offset = this.bb!.__offset(this.bb_pos, 10);
|
|
49
|
-
return offset ? this.bb!.__string(this.bb_pos + offset, optionalEncoding) : null;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
localAddress():string|null
|
|
53
|
-
localAddress(optionalEncoding:flatbuffers.Encoding):string|Uint8Array|null
|
|
54
|
-
localAddress(optionalEncoding?:any):string|Uint8Array|null {
|
|
55
|
-
const offset = this.bb!.__offset(this.bb_pos, 12);
|
|
56
|
-
return offset ? this.bb!.__string(this.bb_pos + offset, optionalEncoding) : null;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
localPort():number {
|
|
60
|
-
const offset = this.bb!.__offset(this.bb_pos, 14);
|
|
61
|
-
return offset ? this.bb!.readFloat32(this.bb_pos + offset) : 0.0;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
hints():number {
|
|
65
|
-
const offset = this.bb!.__offset(this.bb_pos, 16);
|
|
66
|
-
return offset ? this.bb!.readFloat32(this.bb_pos + offset) : 0.0;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
family():number {
|
|
70
|
-
const offset = this.bb!.__offset(this.bb_pos, 18);
|
|
71
|
-
return offset ? this.bb!.readFloat32(this.bb_pos + offset) : 0.0;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
noDelay():boolean {
|
|
75
|
-
const offset = this.bb!.__offset(this.bb_pos, 20);
|
|
76
|
-
return offset ? !!this.bb!.readInt8(this.bb_pos + offset) : false;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
keepAlive():boolean {
|
|
80
|
-
const offset = this.bb!.__offset(this.bb_pos, 22);
|
|
81
|
-
return offset ? !!this.bb!.readInt8(this.bb_pos + offset) : false;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
keepAliveInitialDelay():number {
|
|
85
|
-
const offset = this.bb!.__offset(this.bb_pos, 24);
|
|
86
|
-
return offset ? this.bb!.readFloat32(this.bb_pos + offset) : 0.0;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
autoSelectFamily():boolean {
|
|
90
|
-
const offset = this.bb!.__offset(this.bb_pos, 26);
|
|
91
|
-
return offset ? !!this.bb!.readInt8(this.bb_pos + offset) : false;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
autoSelectFamilyAttemptTimeout():number {
|
|
95
|
-
const offset = this.bb!.__offset(this.bb_pos, 28);
|
|
96
|
-
return offset ? this.bb!.readFloat32(this.bb_pos + offset) : 0.0;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
static startClientTCPSocketConnect(builder:flatbuffers.Builder) {
|
|
100
|
-
builder.startObject(13);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
static addType(builder:flatbuffers.Builder, type:ClientPacketType) {
|
|
104
|
-
builder.addFieldInt8(0, type, ClientPacketType.TCPSocket);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
static addUuid(builder:flatbuffers.Builder, uuidOffset:flatbuffers.Offset) {
|
|
108
|
-
builder.addFieldOffset(1, uuidOffset, 0);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
static addPort(builder:flatbuffers.Builder, port:number) {
|
|
112
|
-
builder.addFieldFloat32(2, port, 0.0);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
static addHost(builder:flatbuffers.Builder, hostOffset:flatbuffers.Offset) {
|
|
116
|
-
builder.addFieldOffset(3, hostOffset, 0);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
static addLocalAddress(builder:flatbuffers.Builder, localAddressOffset:flatbuffers.Offset) {
|
|
120
|
-
builder.addFieldOffset(4, localAddressOffset, 0);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
static addLocalPort(builder:flatbuffers.Builder, localPort:number) {
|
|
124
|
-
builder.addFieldFloat32(5, localPort, 0.0);
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
static addHints(builder:flatbuffers.Builder, hints:number) {
|
|
128
|
-
builder.addFieldFloat32(6, hints, 0.0);
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
static addFamily(builder:flatbuffers.Builder, family:number) {
|
|
132
|
-
builder.addFieldFloat32(7, family, 0.0);
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
static addNoDelay(builder:flatbuffers.Builder, noDelay:boolean) {
|
|
136
|
-
builder.addFieldInt8(8, +noDelay, +false);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
static addKeepAlive(builder:flatbuffers.Builder, keepAlive:boolean) {
|
|
140
|
-
builder.addFieldInt8(9, +keepAlive, +false);
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
static addKeepAliveInitialDelay(builder:flatbuffers.Builder, keepAliveInitialDelay:number) {
|
|
144
|
-
builder.addFieldFloat32(10, keepAliveInitialDelay, 0.0);
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
static addAutoSelectFamily(builder:flatbuffers.Builder, autoSelectFamily:boolean) {
|
|
148
|
-
builder.addFieldInt8(11, +autoSelectFamily, +false);
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
static addAutoSelectFamilyAttemptTimeout(builder:flatbuffers.Builder, autoSelectFamilyAttemptTimeout:number) {
|
|
152
|
-
builder.addFieldFloat32(12, autoSelectFamilyAttemptTimeout, 0.0);
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
static endClientTCPSocketConnect(builder:flatbuffers.Builder):flatbuffers.Offset {
|
|
156
|
-
const offset = builder.endObject();
|
|
157
|
-
return offset;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
static createClientTCPSocketConnect(builder:flatbuffers.Builder, type:ClientPacketType, uuidOffset:flatbuffers.Offset, port:number, hostOffset:flatbuffers.Offset, localAddressOffset:flatbuffers.Offset, localPort:number, hints:number, family:number, noDelay:boolean, keepAlive:boolean, keepAliveInitialDelay:number, autoSelectFamily:boolean, autoSelectFamilyAttemptTimeout:number):flatbuffers.Offset {
|
|
161
|
-
ClientTCPSocketConnect.startClientTCPSocketConnect(builder);
|
|
162
|
-
ClientTCPSocketConnect.addType(builder, type);
|
|
163
|
-
ClientTCPSocketConnect.addUuid(builder, uuidOffset);
|
|
164
|
-
ClientTCPSocketConnect.addPort(builder, port);
|
|
165
|
-
ClientTCPSocketConnect.addHost(builder, hostOffset);
|
|
166
|
-
ClientTCPSocketConnect.addLocalAddress(builder, localAddressOffset);
|
|
167
|
-
ClientTCPSocketConnect.addLocalPort(builder, localPort);
|
|
168
|
-
ClientTCPSocketConnect.addHints(builder, hints);
|
|
169
|
-
ClientTCPSocketConnect.addFamily(builder, family);
|
|
170
|
-
ClientTCPSocketConnect.addNoDelay(builder, noDelay);
|
|
171
|
-
ClientTCPSocketConnect.addKeepAlive(builder, keepAlive);
|
|
172
|
-
ClientTCPSocketConnect.addKeepAliveInitialDelay(builder, keepAliveInitialDelay);
|
|
173
|
-
ClientTCPSocketConnect.addAutoSelectFamily(builder, autoSelectFamily);
|
|
174
|
-
ClientTCPSocketConnect.addAutoSelectFamilyAttemptTimeout(builder, autoSelectFamilyAttemptTimeout);
|
|
175
|
-
return ClientTCPSocketConnect.endClientTCPSocketConnect(builder);
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
unpack(): ClientTCPSocketConnectT {
|
|
179
|
-
return new ClientTCPSocketConnectT(
|
|
180
|
-
this.type(),
|
|
181
|
-
this.uuid(),
|
|
182
|
-
this.port(),
|
|
183
|
-
this.host(),
|
|
184
|
-
this.localAddress(),
|
|
185
|
-
this.localPort(),
|
|
186
|
-
this.hints(),
|
|
187
|
-
this.family(),
|
|
188
|
-
this.noDelay(),
|
|
189
|
-
this.keepAlive(),
|
|
190
|
-
this.keepAliveInitialDelay(),
|
|
191
|
-
this.autoSelectFamily(),
|
|
192
|
-
this.autoSelectFamilyAttemptTimeout()
|
|
193
|
-
);
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
unpackTo(_o: ClientTCPSocketConnectT): void {
|
|
198
|
-
_o.type = this.type();
|
|
199
|
-
_o.uuid = this.uuid();
|
|
200
|
-
_o.port = this.port();
|
|
201
|
-
_o.host = this.host();
|
|
202
|
-
_o.localAddress = this.localAddress();
|
|
203
|
-
_o.localPort = this.localPort();
|
|
204
|
-
_o.hints = this.hints();
|
|
205
|
-
_o.family = this.family();
|
|
206
|
-
_o.noDelay = this.noDelay();
|
|
207
|
-
_o.keepAlive = this.keepAlive();
|
|
208
|
-
_o.keepAliveInitialDelay = this.keepAliveInitialDelay();
|
|
209
|
-
_o.autoSelectFamily = this.autoSelectFamily();
|
|
210
|
-
_o.autoSelectFamilyAttemptTimeout = this.autoSelectFamilyAttemptTimeout();
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
export class ClientTCPSocketConnectT implements flatbuffers.IGeneratedObject {
|
|
215
|
-
constructor(
|
|
216
|
-
public type: ClientPacketType = ClientPacketType.TCPSocket,
|
|
217
|
-
public uuid: string|Uint8Array|null = null,
|
|
218
|
-
public port: number = 0.0,
|
|
219
|
-
public host: string|Uint8Array|null = null,
|
|
220
|
-
public localAddress: string|Uint8Array|null = null,
|
|
221
|
-
public localPort: number = 0.0,
|
|
222
|
-
public hints: number = 0.0,
|
|
223
|
-
public family: number = 0.0,
|
|
224
|
-
public noDelay: boolean = false,
|
|
225
|
-
public keepAlive: boolean = false,
|
|
226
|
-
public keepAliveInitialDelay: number = 0.0,
|
|
227
|
-
public autoSelectFamily: boolean = false,
|
|
228
|
-
public autoSelectFamilyAttemptTimeout: number = 0.0
|
|
229
|
-
){}
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
pack(builder:flatbuffers.Builder): flatbuffers.Offset {
|
|
233
|
-
const uuid = (this.uuid !== null ? builder.createString(this.uuid!) : 0);
|
|
234
|
-
const host = (this.host !== null ? builder.createString(this.host!) : 0);
|
|
235
|
-
const localAddress = (this.localAddress !== null ? builder.createString(this.localAddress!) : 0);
|
|
236
|
-
|
|
237
|
-
return ClientTCPSocketConnect.createClientTCPSocketConnect(builder,
|
|
238
|
-
this.type,
|
|
239
|
-
uuid,
|
|
240
|
-
this.port,
|
|
241
|
-
host,
|
|
242
|
-
localAddress,
|
|
243
|
-
this.localPort,
|
|
244
|
-
this.hints,
|
|
245
|
-
this.family,
|
|
246
|
-
this.noDelay,
|
|
247
|
-
this.keepAlive,
|
|
248
|
-
this.keepAliveInitialDelay,
|
|
249
|
-
this.autoSelectFamily,
|
|
250
|
-
this.autoSelectFamilyAttemptTimeout
|
|
251
|
-
);
|
|
252
|
-
}
|
|
253
|
-
}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
// automatically generated by the FlatBuffers compiler, do not modify
|
|
2
|
-
|
|
3
|
-
/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
|
|
4
|
-
|
|
5
|
-
import * as flatbuffers from 'flatbuffers';
|
|
6
|
-
|
|
7
|
-
import { ClientPacketType } from './client-packet-type.js';
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export class ClientTCPSocketDestroySoon implements flatbuffers.IUnpackableObject<ClientTCPSocketDestroySoonT> {
|
|
11
|
-
bb: flatbuffers.ByteBuffer|null = null;
|
|
12
|
-
bb_pos = 0;
|
|
13
|
-
__init(i:number, bb:flatbuffers.ByteBuffer):ClientTCPSocketDestroySoon {
|
|
14
|
-
this.bb_pos = i;
|
|
15
|
-
this.bb = bb;
|
|
16
|
-
return this;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
static getRootAsClientTCPSocketDestroySoon(bb:flatbuffers.ByteBuffer, obj?:ClientTCPSocketDestroySoon):ClientTCPSocketDestroySoon {
|
|
20
|
-
return (obj || new ClientTCPSocketDestroySoon()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
static getSizePrefixedRootAsClientTCPSocketDestroySoon(bb:flatbuffers.ByteBuffer, obj?:ClientTCPSocketDestroySoon):ClientTCPSocketDestroySoon {
|
|
24
|
-
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
25
|
-
return (obj || new ClientTCPSocketDestroySoon()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
type():ClientPacketType {
|
|
29
|
-
const offset = this.bb!.__offset(this.bb_pos, 4);
|
|
30
|
-
return offset ? this.bb!.readInt8(this.bb_pos + offset) : ClientPacketType.TCPSocket;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
static startClientTCPSocketDestroySoon(builder:flatbuffers.Builder) {
|
|
34
|
-
builder.startObject(1);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
static addType(builder:flatbuffers.Builder, type:ClientPacketType) {
|
|
38
|
-
builder.addFieldInt8(0, type, ClientPacketType.TCPSocket);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
static endClientTCPSocketDestroySoon(builder:flatbuffers.Builder):flatbuffers.Offset {
|
|
42
|
-
const offset = builder.endObject();
|
|
43
|
-
return offset;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
static createClientTCPSocketDestroySoon(builder:flatbuffers.Builder, type:ClientPacketType):flatbuffers.Offset {
|
|
47
|
-
ClientTCPSocketDestroySoon.startClientTCPSocketDestroySoon(builder);
|
|
48
|
-
ClientTCPSocketDestroySoon.addType(builder, type);
|
|
49
|
-
return ClientTCPSocketDestroySoon.endClientTCPSocketDestroySoon(builder);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
unpack(): ClientTCPSocketDestroySoonT {
|
|
53
|
-
return new ClientTCPSocketDestroySoonT(
|
|
54
|
-
this.type()
|
|
55
|
-
);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
unpackTo(_o: ClientTCPSocketDestroySoonT): void {
|
|
60
|
-
_o.type = this.type();
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export class ClientTCPSocketDestroySoonT implements flatbuffers.IGeneratedObject {
|
|
65
|
-
constructor(
|
|
66
|
-
public type: ClientPacketType = ClientPacketType.TCPSocket
|
|
67
|
-
){}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
pack(builder:flatbuffers.Builder): flatbuffers.Offset {
|
|
71
|
-
return ClientTCPSocketDestroySoon.createClientTCPSocketDestroySoon(builder,
|
|
72
|
-
this.type
|
|
73
|
-
);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
// automatically generated by the FlatBuffers compiler, do not modify
|
|
2
|
-
|
|
3
|
-
/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
|
|
4
|
-
|
|
5
|
-
import * as flatbuffers from 'flatbuffers';
|
|
6
|
-
|
|
7
|
-
import { ClientPacketType } from './client-packet-type.js';
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export class ClientTCPSocketDestroy implements flatbuffers.IUnpackableObject<ClientTCPSocketDestroyT> {
|
|
11
|
-
bb: flatbuffers.ByteBuffer|null = null;
|
|
12
|
-
bb_pos = 0;
|
|
13
|
-
__init(i:number, bb:flatbuffers.ByteBuffer):ClientTCPSocketDestroy {
|
|
14
|
-
this.bb_pos = i;
|
|
15
|
-
this.bb = bb;
|
|
16
|
-
return this;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
static getRootAsClientTCPSocketDestroy(bb:flatbuffers.ByteBuffer, obj?:ClientTCPSocketDestroy):ClientTCPSocketDestroy {
|
|
20
|
-
return (obj || new ClientTCPSocketDestroy()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
static getSizePrefixedRootAsClientTCPSocketDestroy(bb:flatbuffers.ByteBuffer, obj?:ClientTCPSocketDestroy):ClientTCPSocketDestroy {
|
|
24
|
-
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
25
|
-
return (obj || new ClientTCPSocketDestroy()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
type():ClientPacketType {
|
|
29
|
-
const offset = this.bb!.__offset(this.bb_pos, 4);
|
|
30
|
-
return offset ? this.bb!.readInt8(this.bb_pos + offset) : ClientPacketType.TCPSocket;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
uuid():string|null
|
|
34
|
-
uuid(optionalEncoding:flatbuffers.Encoding):string|Uint8Array|null
|
|
35
|
-
uuid(optionalEncoding?:any):string|Uint8Array|null {
|
|
36
|
-
const offset = this.bb!.__offset(this.bb_pos, 6);
|
|
37
|
-
return offset ? this.bb!.__string(this.bb_pos + offset, optionalEncoding) : null;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
static startClientTCPSocketDestroy(builder:flatbuffers.Builder) {
|
|
41
|
-
builder.startObject(2);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
static addType(builder:flatbuffers.Builder, type:ClientPacketType) {
|
|
45
|
-
builder.addFieldInt8(0, type, ClientPacketType.TCPSocket);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
static addUuid(builder:flatbuffers.Builder, uuidOffset:flatbuffers.Offset) {
|
|
49
|
-
builder.addFieldOffset(1, uuidOffset, 0);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
static endClientTCPSocketDestroy(builder:flatbuffers.Builder):flatbuffers.Offset {
|
|
53
|
-
const offset = builder.endObject();
|
|
54
|
-
return offset;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
static createClientTCPSocketDestroy(builder:flatbuffers.Builder, type:ClientPacketType, uuidOffset:flatbuffers.Offset):flatbuffers.Offset {
|
|
58
|
-
ClientTCPSocketDestroy.startClientTCPSocketDestroy(builder);
|
|
59
|
-
ClientTCPSocketDestroy.addType(builder, type);
|
|
60
|
-
ClientTCPSocketDestroy.addUuid(builder, uuidOffset);
|
|
61
|
-
return ClientTCPSocketDestroy.endClientTCPSocketDestroy(builder);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
unpack(): ClientTCPSocketDestroyT {
|
|
65
|
-
return new ClientTCPSocketDestroyT(
|
|
66
|
-
this.type(),
|
|
67
|
-
this.uuid()
|
|
68
|
-
);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
unpackTo(_o: ClientTCPSocketDestroyT): void {
|
|
73
|
-
_o.type = this.type();
|
|
74
|
-
_o.uuid = this.uuid();
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
export class ClientTCPSocketDestroyT implements flatbuffers.IGeneratedObject {
|
|
79
|
-
constructor(
|
|
80
|
-
public type: ClientPacketType = ClientPacketType.TCPSocket,
|
|
81
|
-
public uuid: string|Uint8Array|null = null
|
|
82
|
-
){}
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
pack(builder:flatbuffers.Builder): flatbuffers.Offset {
|
|
86
|
-
const uuid = (this.uuid !== null ? builder.createString(this.uuid!) : 0);
|
|
87
|
-
|
|
88
|
-
return ClientTCPSocketDestroy.createClientTCPSocketDestroy(builder,
|
|
89
|
-
this.type,
|
|
90
|
-
uuid
|
|
91
|
-
);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
// automatically generated by the FlatBuffers compiler, do not modify
|
|
2
|
-
|
|
3
|
-
/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-non-null-assertion */
|
|
4
|
-
|
|
5
|
-
import * as flatbuffers from 'flatbuffers';
|
|
6
|
-
|
|
7
|
-
import { ClientPacketType } from './client-packet-type.js';
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export class ClientTCPSocketEnd implements flatbuffers.IUnpackableObject<ClientTCPSocketEndT> {
|
|
11
|
-
bb: flatbuffers.ByteBuffer|null = null;
|
|
12
|
-
bb_pos = 0;
|
|
13
|
-
__init(i:number, bb:flatbuffers.ByteBuffer):ClientTCPSocketEnd {
|
|
14
|
-
this.bb_pos = i;
|
|
15
|
-
this.bb = bb;
|
|
16
|
-
return this;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
static getRootAsClientTCPSocketEnd(bb:flatbuffers.ByteBuffer, obj?:ClientTCPSocketEnd):ClientTCPSocketEnd {
|
|
20
|
-
return (obj || new ClientTCPSocketEnd()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
static getSizePrefixedRootAsClientTCPSocketEnd(bb:flatbuffers.ByteBuffer, obj?:ClientTCPSocketEnd):ClientTCPSocketEnd {
|
|
24
|
-
bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
|
|
25
|
-
return (obj || new ClientTCPSocketEnd()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
type():ClientPacketType {
|
|
29
|
-
const offset = this.bb!.__offset(this.bb_pos, 4);
|
|
30
|
-
return offset ? this.bb!.readInt8(this.bb_pos + offset) : ClientPacketType.TCPSocket;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
uuid():string|null
|
|
34
|
-
uuid(optionalEncoding:flatbuffers.Encoding):string|Uint8Array|null
|
|
35
|
-
uuid(optionalEncoding?:any):string|Uint8Array|null {
|
|
36
|
-
const offset = this.bb!.__offset(this.bb_pos, 6);
|
|
37
|
-
return offset ? this.bb!.__string(this.bb_pos + offset, optionalEncoding) : null;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
static startClientTCPSocketEnd(builder:flatbuffers.Builder) {
|
|
41
|
-
builder.startObject(2);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
static addType(builder:flatbuffers.Builder, type:ClientPacketType) {
|
|
45
|
-
builder.addFieldInt8(0, type, ClientPacketType.TCPSocket);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
static addUuid(builder:flatbuffers.Builder, uuidOffset:flatbuffers.Offset) {
|
|
49
|
-
builder.addFieldOffset(1, uuidOffset, 0);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
static endClientTCPSocketEnd(builder:flatbuffers.Builder):flatbuffers.Offset {
|
|
53
|
-
const offset = builder.endObject();
|
|
54
|
-
return offset;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
static createClientTCPSocketEnd(builder:flatbuffers.Builder, type:ClientPacketType, uuidOffset:flatbuffers.Offset):flatbuffers.Offset {
|
|
58
|
-
ClientTCPSocketEnd.startClientTCPSocketEnd(builder);
|
|
59
|
-
ClientTCPSocketEnd.addType(builder, type);
|
|
60
|
-
ClientTCPSocketEnd.addUuid(builder, uuidOffset);
|
|
61
|
-
return ClientTCPSocketEnd.endClientTCPSocketEnd(builder);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
unpack(): ClientTCPSocketEndT {
|
|
65
|
-
return new ClientTCPSocketEndT(
|
|
66
|
-
this.type(),
|
|
67
|
-
this.uuid()
|
|
68
|
-
);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
unpackTo(_o: ClientTCPSocketEndT): void {
|
|
73
|
-
_o.type = this.type();
|
|
74
|
-
_o.uuid = this.uuid();
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
export class ClientTCPSocketEndT implements flatbuffers.IGeneratedObject {
|
|
79
|
-
constructor(
|
|
80
|
-
public type: ClientPacketType = ClientPacketType.TCPSocket,
|
|
81
|
-
public uuid: string|Uint8Array|null = null
|
|
82
|
-
){}
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
pack(builder:flatbuffers.Builder): flatbuffers.Offset {
|
|
86
|
-
const uuid = (this.uuid !== null ? builder.createString(this.uuid!) : 0);
|
|
87
|
-
|
|
88
|
-
return ClientTCPSocketEnd.createClientTCPSocketEnd(builder,
|
|
89
|
-
this.type,
|
|
90
|
-
uuid
|
|
91
|
-
);
|
|
92
|
-
}
|
|
93
|
-
}
|