@stryke/capnp 0.5.0 → 0.6.1
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/dist/capnp-DxRiMkXq.d.cts +22 -0
- package/dist/capnp-DxRiMkXq.d.ts +22 -0
- package/dist/capnp.cjs +123 -0
- package/dist/capnp.d.cts +1 -0
- package/dist/capnp.d.ts +1 -0
- package/dist/capnp.js +123 -0
- package/dist/{chunk-4DIFIPQV.cjs → chunk-5Y2STPPF.cjs} +813 -813
- package/dist/{chunk-MXOTCQAB.js → chunk-FNOKUFI5.js} +1 -1
- package/dist/{chunk-SAH52C4V.js → chunk-I2TLOFS6.js} +1 -1
- package/dist/{chunk-C6LZ6PNU.cjs → chunk-IVTBYMMN.cjs} +117 -112
- package/dist/chunk-NZGPVGFZ.js +130 -0
- package/dist/{chunk-I2A4KWAA.js → chunk-UHN7QD4F.js} +88 -83
- package/dist/chunk-UNTMJSWJ.cjs +130 -0
- package/dist/{chunk-CI4GMXK3.cjs → chunk-YOA3BS5Q.cjs} +790 -790
- package/dist/compile.cjs +3 -3
- package/dist/compile.d.cts +0 -1
- package/dist/compile.d.ts +0 -1
- package/dist/compile.js +2 -2
- package/dist/index.cjs +5 -119
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +8 -122
- package/dist/rpc.cjs +10 -10
- package/dist/rpc.js +2 -2
- package/package.json +9 -1
|
@@ -122,12 +122,12 @@
|
|
|
122
122
|
|
|
123
123
|
|
|
124
124
|
|
|
125
|
-
var
|
|
125
|
+
var _chunkIVTBYMMNcjs = require('./chunk-IVTBYMMN.cjs');
|
|
126
126
|
|
|
127
127
|
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=53996ae63a1465953815fff49405f2224c85d26eeeff469d2b1f87e1c2af451d_typescript@5.8.3/node_modules/capnp-es/dist/shared/capnp-es.UAt3nLGq.mjs
|
|
128
|
-
var Interface = (_class = class extends
|
|
128
|
+
var Interface = (_class = class extends _chunkIVTBYMMNcjs.Pointer {
|
|
129
129
|
static {
|
|
130
|
-
|
|
130
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "Interface");
|
|
131
131
|
}
|
|
132
132
|
static __initStatic() {this._capnp = {
|
|
133
133
|
displayName: "Interface"
|
|
@@ -136,7 +136,7 @@ var Interface = (_class = class extends _chunkC6LZ6PNUcjs.Pointer {
|
|
|
136
136
|
static __initStatic3() {this.getAsInterface = getAsInterface}
|
|
137
137
|
static __initStatic4() {this.isInterface = isInterface}
|
|
138
138
|
static __initStatic5() {this.getClient = getClient}
|
|
139
|
-
constructor(segment, byteOffset, depthLimit =
|
|
139
|
+
constructor(segment, byteOffset, depthLimit = _chunkIVTBYMMNcjs.MAX_DEPTH) {
|
|
140
140
|
super(segment, byteOffset, depthLimit);
|
|
141
141
|
}
|
|
142
142
|
static fromPointer(p) {
|
|
@@ -149,7 +149,7 @@ var Interface = (_class = class extends _chunkC6LZ6PNUcjs.Pointer {
|
|
|
149
149
|
return getClient(this);
|
|
150
150
|
}
|
|
151
151
|
[Symbol.for("nodejs.util.inspect.custom")]() {
|
|
152
|
-
return
|
|
152
|
+
return _chunkIVTBYMMNcjs.format.call(void 0,
|
|
153
153
|
"Interface_%d@%a,%d,limit:%x",
|
|
154
154
|
this.segment.id,
|
|
155
155
|
this.byteOffset,
|
|
@@ -159,23 +159,23 @@ var Interface = (_class = class extends _chunkC6LZ6PNUcjs.Pointer {
|
|
|
159
159
|
}
|
|
160
160
|
}, _class.__initStatic(), _class.__initStatic2(), _class.__initStatic3(), _class.__initStatic4(), _class.__initStatic5(), _class);
|
|
161
161
|
function getAsInterface(p) {
|
|
162
|
-
if (
|
|
162
|
+
if (_chunkIVTBYMMNcjs.getTargetPointerType.call(void 0, p) === _chunkIVTBYMMNcjs.PointerType.OTHER) {
|
|
163
163
|
return new Interface(p.segment, p.byteOffset, p._capnp.depthLimit);
|
|
164
164
|
}
|
|
165
165
|
return null;
|
|
166
166
|
}
|
|
167
|
-
|
|
167
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, getAsInterface, "getAsInterface");
|
|
168
168
|
function isInterface(p) {
|
|
169
|
-
return
|
|
169
|
+
return _chunkIVTBYMMNcjs.getTargetPointerType.call(void 0, p) === _chunkIVTBYMMNcjs.PointerType.OTHER;
|
|
170
170
|
}
|
|
171
|
-
|
|
171
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, isInterface, "isInterface");
|
|
172
172
|
function getCapID(i) {
|
|
173
|
-
if (i.segment.getUint32(i.byteOffset) !==
|
|
173
|
+
if (i.segment.getUint32(i.byteOffset) !== _chunkIVTBYMMNcjs.PointerType.OTHER) {
|
|
174
174
|
return -1;
|
|
175
175
|
}
|
|
176
176
|
return i.segment.getUint32(i.byteOffset + 4);
|
|
177
177
|
}
|
|
178
|
-
|
|
178
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, getCapID, "getCapID");
|
|
179
179
|
function getClient(i) {
|
|
180
180
|
const capID = getCapID(i);
|
|
181
181
|
const { capTable } = i.segment.message._capnp;
|
|
@@ -184,15 +184,15 @@ function getClient(i) {
|
|
|
184
184
|
}
|
|
185
185
|
return capTable[capID];
|
|
186
186
|
}
|
|
187
|
-
|
|
187
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, getClient, "getClient");
|
|
188
188
|
function isFuncCall(call) {
|
|
189
189
|
return !isDataCall(call);
|
|
190
190
|
}
|
|
191
|
-
|
|
191
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, isFuncCall, "isFuncCall");
|
|
192
192
|
function isDataCall(call) {
|
|
193
193
|
return !!call.params;
|
|
194
194
|
}
|
|
195
|
-
|
|
195
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, isDataCall, "isDataCall");
|
|
196
196
|
function copyCall(call) {
|
|
197
197
|
if (isDataCall(call)) {
|
|
198
198
|
return call;
|
|
@@ -202,7 +202,7 @@ function copyCall(call) {
|
|
|
202
202
|
params: placeParams(call, void 0)
|
|
203
203
|
};
|
|
204
204
|
}
|
|
205
|
-
|
|
205
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, copyCall, "copyCall");
|
|
206
206
|
function placeParams(call, contentPtr) {
|
|
207
207
|
if (isDataCall(call)) {
|
|
208
208
|
return call.params;
|
|
@@ -215,19 +215,19 @@ function placeParams(call, contentPtr) {
|
|
|
215
215
|
contentPtr._capnp.depthLimit
|
|
216
216
|
);
|
|
217
217
|
} else {
|
|
218
|
-
const msg = new (0,
|
|
218
|
+
const msg = new (0, _chunkIVTBYMMNcjs.Message)();
|
|
219
219
|
p = new call.method.ParamsClass(msg.getSegment(0), 0);
|
|
220
220
|
}
|
|
221
|
-
|
|
221
|
+
_chunkIVTBYMMNcjs.initStruct.call(void 0, call.method.ParamsClass._capnp.size, p);
|
|
222
222
|
if (call.paramsFunc) {
|
|
223
223
|
call.paramsFunc(p);
|
|
224
224
|
}
|
|
225
225
|
return p;
|
|
226
226
|
}
|
|
227
|
-
|
|
227
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, placeParams, "placeParams");
|
|
228
228
|
function pointerToStruct(p) {
|
|
229
|
-
if (
|
|
230
|
-
return new (0,
|
|
229
|
+
if (_chunkIVTBYMMNcjs.getTargetPointerType.call(void 0, p) === _chunkIVTBYMMNcjs.PointerType.STRUCT) {
|
|
230
|
+
return new (0, _chunkIVTBYMMNcjs.Struct)(
|
|
231
231
|
p.segment,
|
|
232
232
|
p.byteOffset,
|
|
233
233
|
p._capnp.depthLimit,
|
|
@@ -236,7 +236,7 @@ function pointerToStruct(p) {
|
|
|
236
236
|
}
|
|
237
237
|
return null;
|
|
238
238
|
}
|
|
239
|
-
|
|
239
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, pointerToStruct, "pointerToStruct");
|
|
240
240
|
function transformPtr(p, transform) {
|
|
241
241
|
if (transform.length === 0) {
|
|
242
242
|
return p;
|
|
@@ -246,14 +246,14 @@ function transformPtr(p, transform) {
|
|
|
246
246
|
return p;
|
|
247
247
|
}
|
|
248
248
|
for (const op of transform) {
|
|
249
|
-
s =
|
|
249
|
+
s = _chunkIVTBYMMNcjs.getPointer.call(void 0, op.field, s);
|
|
250
250
|
}
|
|
251
251
|
return s;
|
|
252
252
|
}
|
|
253
|
-
|
|
253
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, transformPtr, "transformPtr");
|
|
254
254
|
var Deferred = class _Deferred {
|
|
255
255
|
static {
|
|
256
|
-
|
|
256
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "Deferred");
|
|
257
257
|
}
|
|
258
258
|
static fromPromise(p) {
|
|
259
259
|
const d = new _Deferred();
|
|
@@ -270,9 +270,9 @@ var Deferred = class _Deferred {
|
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
272
|
};
|
|
273
|
-
var ImmediateAnswer = class extends
|
|
273
|
+
var ImmediateAnswer = class extends _chunkIVTBYMMNcjs.FixedAnswer {
|
|
274
274
|
static {
|
|
275
|
-
|
|
275
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "ImmediateAnswer");
|
|
276
276
|
}
|
|
277
277
|
constructor(s) {
|
|
278
278
|
super();
|
|
@@ -283,7 +283,7 @@ var ImmediateAnswer = class extends _chunkC6LZ6PNUcjs.FixedAnswer {
|
|
|
283
283
|
}
|
|
284
284
|
findClient(transform) {
|
|
285
285
|
const p = transformPtr(this.s, transform);
|
|
286
|
-
return
|
|
286
|
+
return _chunkIVTBYMMNcjs.getInterfaceClientOrNull.call(void 0, p);
|
|
287
287
|
}
|
|
288
288
|
pipelineCall(transform, call) {
|
|
289
289
|
return this.findClient(transform).call(call);
|
|
@@ -294,7 +294,7 @@ var ImmediateAnswer = class extends _chunkC6LZ6PNUcjs.FixedAnswer {
|
|
|
294
294
|
};
|
|
295
295
|
var Queue = (_class2 = class {
|
|
296
296
|
static {
|
|
297
|
-
|
|
297
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "Queue");
|
|
298
298
|
}
|
|
299
299
|
// creates a new queue that starts with n elements.
|
|
300
300
|
// The interface's length must not change over the course of
|
|
@@ -341,7 +341,7 @@ var Queue = (_class2 = class {
|
|
|
341
341
|
}, _class2);
|
|
342
342
|
var EmbargoClient = class {
|
|
343
343
|
static {
|
|
344
|
-
|
|
344
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "EmbargoClient");
|
|
345
345
|
}
|
|
346
346
|
|
|
347
347
|
|
|
@@ -397,7 +397,7 @@ var EmbargoClient = class {
|
|
|
397
397
|
const call = copyCall(_call);
|
|
398
398
|
const i = this.q.push();
|
|
399
399
|
if (i === -1) {
|
|
400
|
-
return new (0,
|
|
400
|
+
return new (0, _chunkIVTBYMMNcjs.ErrorAnswer)(new Error(_chunkIVTBYMMNcjs.RPC_CALL_QUEUE_FULL));
|
|
401
401
|
}
|
|
402
402
|
this.calls.data[i] = {
|
|
403
403
|
call,
|
|
@@ -409,9 +409,9 @@ var EmbargoClient = class {
|
|
|
409
409
|
while (this.q.len() > 0) {
|
|
410
410
|
const first = this.calls.data[this.q.front()];
|
|
411
411
|
if (!first) {
|
|
412
|
-
throw new Error(
|
|
412
|
+
throw new Error(_chunkIVTBYMMNcjs.INVARIANT_UNREACHABLE_CODE);
|
|
413
413
|
}
|
|
414
|
-
first.f.reject(new Error(
|
|
414
|
+
first.f.reject(new Error(_chunkIVTBYMMNcjs.RPC_QUEUE_CALL_CANCEL));
|
|
415
415
|
this.q.pop();
|
|
416
416
|
}
|
|
417
417
|
this._client.close();
|
|
@@ -419,7 +419,7 @@ var EmbargoClient = class {
|
|
|
419
419
|
};
|
|
420
420
|
var Ecalls = class _Ecalls {
|
|
421
421
|
static {
|
|
422
|
-
|
|
422
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "Ecalls");
|
|
423
423
|
}
|
|
424
424
|
|
|
425
425
|
constructor(data) {
|
|
@@ -441,7 +441,7 @@ var Ecalls = class _Ecalls {
|
|
|
441
441
|
var callQueueSize = 64;
|
|
442
442
|
var Fulfiller = (_class3 = class _Fulfiller {constructor() { _class3.prototype.__init2.call(this);_class3.prototype.__init3.call(this);_class3.prototype.__init4.call(this);_class3.prototype.__init5.call(this); }
|
|
443
443
|
static {
|
|
444
|
-
|
|
444
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "Fulfiller");
|
|
445
445
|
}
|
|
446
446
|
__init2() {this.resolved = false}
|
|
447
447
|
|
|
@@ -461,7 +461,7 @@ var Fulfiller = (_class3 = class _Fulfiller {constructor() { _class3.prototype._
|
|
|
461
461
|
const q = queues[capIdx];
|
|
462
462
|
const client = ctab[capIdx];
|
|
463
463
|
if (!client) {
|
|
464
|
-
throw new Error(
|
|
464
|
+
throw new Error(_chunkIVTBYMMNcjs.INVARIANT_UNREACHABLE_CODE);
|
|
465
465
|
}
|
|
466
466
|
ctab[capIdx] = new EmbargoClient(client, q);
|
|
467
467
|
}
|
|
@@ -486,7 +486,7 @@ var Fulfiller = (_class3 = class _Fulfiller {constructor() { _class3.prototype._
|
|
|
486
486
|
}
|
|
487
487
|
}
|
|
488
488
|
if (this.queue.length === this.queueCap) {
|
|
489
|
-
return new (0,
|
|
489
|
+
return new (0, _chunkIVTBYMMNcjs.ErrorAnswer)(new Error(_chunkIVTBYMMNcjs.RPC_CALL_QUEUE_FULL));
|
|
490
490
|
}
|
|
491
491
|
const cc = copyCall(call);
|
|
492
492
|
const g = new _Fulfiller();
|
|
@@ -501,7 +501,7 @@ var Fulfiller = (_class3 = class _Fulfiller {constructor() { _class3.prototype._
|
|
|
501
501
|
// pipelineClose on the fulfilled answer
|
|
502
502
|
// FIXME: should this be async?
|
|
503
503
|
pipelineClose(transform) {
|
|
504
|
-
const onFinally = /* @__PURE__ */
|
|
504
|
+
const onFinally = /* @__PURE__ */ _chunkIVTBYMMNcjs.__name.call(void 0, () => {
|
|
505
505
|
if (this.answer) {
|
|
506
506
|
this.answer.pipelineClose(transform);
|
|
507
507
|
}
|
|
@@ -524,7 +524,7 @@ var Fulfiller = (_class3 = class _Fulfiller {constructor() { _class3.prototype._
|
|
|
524
524
|
}
|
|
525
525
|
const iface = Interface.fromPointer(c);
|
|
526
526
|
if (!iface) {
|
|
527
|
-
pc.f.reject(new Error(
|
|
527
|
+
pc.f.reject(new Error(_chunkIVTBYMMNcjs.RPC_NULL_CLIENT));
|
|
528
528
|
continue;
|
|
529
529
|
}
|
|
530
530
|
const cn = iface.getCapId();
|
|
@@ -539,7 +539,7 @@ var Fulfiller = (_class3 = class _Fulfiller {constructor() { _class3.prototype._
|
|
|
539
539
|
}, _class3);
|
|
540
540
|
var PipelineClient = class {
|
|
541
541
|
static {
|
|
542
|
-
|
|
542
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "PipelineClient");
|
|
543
543
|
}
|
|
544
544
|
constructor(pipeline) {
|
|
545
545
|
this.pipeline = pipeline;
|
|
@@ -556,7 +556,7 @@ var PipelineClient = class {
|
|
|
556
556
|
};
|
|
557
557
|
var Pipeline = class _Pipeline {
|
|
558
558
|
static {
|
|
559
|
-
|
|
559
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "Pipeline");
|
|
560
560
|
}
|
|
561
561
|
// Returns a new Pipeline based on an answer
|
|
562
562
|
constructor(ResultsClass, answer, op, parent) {
|
|
@@ -583,12 +583,12 @@ var Pipeline = class _Pipeline {
|
|
|
583
583
|
const t = transformPtr(s, this.transform());
|
|
584
584
|
if (!t) {
|
|
585
585
|
if (this.op.defaultValue) {
|
|
586
|
-
|
|
586
|
+
_chunkIVTBYMMNcjs.copyFrom.call(void 0, this.op.defaultValue, t);
|
|
587
587
|
} else {
|
|
588
|
-
|
|
588
|
+
_chunkIVTBYMMNcjs.initStruct.call(void 0, this.ResultsClass._capnp.size, t);
|
|
589
589
|
}
|
|
590
590
|
}
|
|
591
|
-
return
|
|
591
|
+
return _chunkIVTBYMMNcjs.getAs.call(void 0, this.ResultsClass, t);
|
|
592
592
|
}
|
|
593
593
|
// client returns the client version of this pipeline
|
|
594
594
|
client() {
|
|
@@ -609,12 +609,12 @@ var Pipeline = class _Pipeline {
|
|
|
609
609
|
};
|
|
610
610
|
var MethodError = class extends Error {
|
|
611
611
|
static {
|
|
612
|
-
|
|
612
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "MethodError");
|
|
613
613
|
}
|
|
614
614
|
constructor(method, message) {
|
|
615
615
|
super(
|
|
616
|
-
|
|
617
|
-
|
|
616
|
+
_chunkIVTBYMMNcjs.format.call(void 0,
|
|
617
|
+
_chunkIVTBYMMNcjs.RPC_METHOD_ERROR,
|
|
618
618
|
method.interfaceName,
|
|
619
619
|
method.methodName,
|
|
620
620
|
message
|
|
@@ -625,7 +625,7 @@ var MethodError = class extends Error {
|
|
|
625
625
|
};
|
|
626
626
|
var Registry = (_class4 = class {
|
|
627
627
|
static {
|
|
628
|
-
|
|
628
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "Registry");
|
|
629
629
|
}
|
|
630
630
|
static __initStatic6() {this.interfaces = /* @__PURE__ */ new Map()}
|
|
631
631
|
static register(id, def) {
|
|
@@ -637,22 +637,22 @@ var Registry = (_class4 = class {
|
|
|
637
637
|
}, _class4.__initStatic6(), _class4);
|
|
638
638
|
var Server = class {
|
|
639
639
|
static {
|
|
640
|
-
|
|
640
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "Server");
|
|
641
641
|
}
|
|
642
642
|
constructor(target, methods) {
|
|
643
643
|
this.target = target;
|
|
644
644
|
this.methods = methods;
|
|
645
645
|
}
|
|
646
646
|
startCall(call) {
|
|
647
|
-
const msg = new (0,
|
|
647
|
+
const msg = new (0, _chunkIVTBYMMNcjs.Message)();
|
|
648
648
|
const results = msg.initRoot(call.method.ResultsClass);
|
|
649
649
|
call.serverMethod.impl.call(this.target, call.params, results).then(() => call.answer.fulfill(results)).catch((error_) => call.answer.reject(error_));
|
|
650
650
|
}
|
|
651
651
|
call(call) {
|
|
652
652
|
const serverMethod = this.methods[call.method.methodId];
|
|
653
653
|
if (!serverMethod) {
|
|
654
|
-
return new (0,
|
|
655
|
-
new MethodError(call.method,
|
|
654
|
+
return new (0, _chunkIVTBYMMNcjs.ErrorAnswer)(
|
|
655
|
+
new MethodError(call.method, _chunkIVTBYMMNcjs.RPC_METHOD_NOT_IMPLEMENTED)
|
|
656
656
|
);
|
|
657
657
|
}
|
|
658
658
|
const serverCall = {
|
|
@@ -763,9 +763,9 @@ var Message_Which = {
|
|
|
763
763
|
*/
|
|
764
764
|
JOIN: 12
|
|
765
765
|
};
|
|
766
|
-
var Message2 = (_class5 = class _Message extends
|
|
766
|
+
var Message2 = (_class5 = class _Message extends _chunkIVTBYMMNcjs.Struct {
|
|
767
767
|
static {
|
|
768
|
-
|
|
768
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "Message");
|
|
769
769
|
}
|
|
770
770
|
static __initStatic7() {this.UNIMPLEMENTED = Message_Which.UNIMPLEMENTED}
|
|
771
771
|
static __initStatic8() {this.ABORT = Message_Which.ABORT}
|
|
@@ -784,14 +784,14 @@ var Message2 = (_class5 = class _Message extends _chunkC6LZ6PNUcjs.Struct {
|
|
|
784
784
|
static __initStatic21() {this._capnp = {
|
|
785
785
|
displayName: "Message",
|
|
786
786
|
id: "91b79f1f808db032",
|
|
787
|
-
size: new (0,
|
|
787
|
+
size: new (0, _chunkIVTBYMMNcjs.ObjectSize)(8, 1)
|
|
788
788
|
}}
|
|
789
789
|
_adoptUnimplemented(value) {
|
|
790
|
-
|
|
791
|
-
|
|
790
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 0, this);
|
|
791
|
+
_chunkIVTBYMMNcjs.adopt.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
792
792
|
}
|
|
793
793
|
_disownUnimplemented() {
|
|
794
|
-
return
|
|
794
|
+
return _chunkIVTBYMMNcjs.disown.call(void 0, this.unimplemented);
|
|
795
795
|
}
|
|
796
796
|
/**
|
|
797
797
|
* The sender previously received this message from the peer but didn't understand it or doesn't
|
|
@@ -813,29 +813,29 @@ var Message2 = (_class5 = class _Message extends _chunkC6LZ6PNUcjs.Struct {
|
|
|
813
813
|
*
|
|
814
814
|
*/
|
|
815
815
|
get unimplemented() {
|
|
816
|
-
|
|
817
|
-
return
|
|
816
|
+
_chunkIVTBYMMNcjs.testWhich.call(void 0, "unimplemented", _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this), 0, this);
|
|
817
|
+
return _chunkIVTBYMMNcjs.getStruct.call(void 0, 0, _Message, this);
|
|
818
818
|
}
|
|
819
819
|
_hasUnimplemented() {
|
|
820
|
-
return !
|
|
820
|
+
return !_chunkIVTBYMMNcjs.isNull.call(void 0, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
821
821
|
}
|
|
822
822
|
_initUnimplemented() {
|
|
823
|
-
|
|
824
|
-
return
|
|
823
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 0, this);
|
|
824
|
+
return _chunkIVTBYMMNcjs.initStructAt.call(void 0, 0, _Message, this);
|
|
825
825
|
}
|
|
826
826
|
get _isUnimplemented() {
|
|
827
|
-
return
|
|
827
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this) === 0;
|
|
828
828
|
}
|
|
829
829
|
set unimplemented(value) {
|
|
830
|
-
|
|
831
|
-
|
|
830
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 0, this);
|
|
831
|
+
_chunkIVTBYMMNcjs.copyFrom.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
832
832
|
}
|
|
833
833
|
_adoptAbort(value) {
|
|
834
|
-
|
|
835
|
-
|
|
834
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 1, this);
|
|
835
|
+
_chunkIVTBYMMNcjs.adopt.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
836
836
|
}
|
|
837
837
|
_disownAbort() {
|
|
838
|
-
return
|
|
838
|
+
return _chunkIVTBYMMNcjs.disown.call(void 0, this.abort);
|
|
839
839
|
}
|
|
840
840
|
/**
|
|
841
841
|
* Sent when a connection is being aborted due to an unrecoverable error. This could be e.g.
|
|
@@ -847,232 +847,232 @@ var Message2 = (_class5 = class _Message extends _chunkC6LZ6PNUcjs.Struct {
|
|
|
847
847
|
*
|
|
848
848
|
*/
|
|
849
849
|
get abort() {
|
|
850
|
-
|
|
851
|
-
return
|
|
850
|
+
_chunkIVTBYMMNcjs.testWhich.call(void 0, "abort", _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this), 1, this);
|
|
851
|
+
return _chunkIVTBYMMNcjs.getStruct.call(void 0, 0, Exception, this);
|
|
852
852
|
}
|
|
853
853
|
_hasAbort() {
|
|
854
|
-
return !
|
|
854
|
+
return !_chunkIVTBYMMNcjs.isNull.call(void 0, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
855
855
|
}
|
|
856
856
|
_initAbort() {
|
|
857
|
-
|
|
858
|
-
return
|
|
857
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 1, this);
|
|
858
|
+
return _chunkIVTBYMMNcjs.initStructAt.call(void 0, 0, Exception, this);
|
|
859
859
|
}
|
|
860
860
|
get _isAbort() {
|
|
861
|
-
return
|
|
861
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this) === 1;
|
|
862
862
|
}
|
|
863
863
|
set abort(value) {
|
|
864
|
-
|
|
865
|
-
|
|
864
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 1, this);
|
|
865
|
+
_chunkIVTBYMMNcjs.copyFrom.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
866
866
|
}
|
|
867
867
|
_adoptBootstrap(value) {
|
|
868
|
-
|
|
869
|
-
|
|
868
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 8, this);
|
|
869
|
+
_chunkIVTBYMMNcjs.adopt.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
870
870
|
}
|
|
871
871
|
_disownBootstrap() {
|
|
872
|
-
return
|
|
872
|
+
return _chunkIVTBYMMNcjs.disown.call(void 0, this.bootstrap);
|
|
873
873
|
}
|
|
874
874
|
/**
|
|
875
875
|
* Request the peer's bootstrap interface.
|
|
876
876
|
*
|
|
877
877
|
*/
|
|
878
878
|
get bootstrap() {
|
|
879
|
-
|
|
880
|
-
return
|
|
879
|
+
_chunkIVTBYMMNcjs.testWhich.call(void 0, "bootstrap", _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this), 8, this);
|
|
880
|
+
return _chunkIVTBYMMNcjs.getStruct.call(void 0, 0, Bootstrap, this);
|
|
881
881
|
}
|
|
882
882
|
_hasBootstrap() {
|
|
883
|
-
return !
|
|
883
|
+
return !_chunkIVTBYMMNcjs.isNull.call(void 0, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
884
884
|
}
|
|
885
885
|
_initBootstrap() {
|
|
886
|
-
|
|
887
|
-
return
|
|
886
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 8, this);
|
|
887
|
+
return _chunkIVTBYMMNcjs.initStructAt.call(void 0, 0, Bootstrap, this);
|
|
888
888
|
}
|
|
889
889
|
get _isBootstrap() {
|
|
890
|
-
return
|
|
890
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this) === 8;
|
|
891
891
|
}
|
|
892
892
|
set bootstrap(value) {
|
|
893
|
-
|
|
894
|
-
|
|
893
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 8, this);
|
|
894
|
+
_chunkIVTBYMMNcjs.copyFrom.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
895
895
|
}
|
|
896
896
|
_adoptCall(value) {
|
|
897
|
-
|
|
898
|
-
|
|
897
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 2, this);
|
|
898
|
+
_chunkIVTBYMMNcjs.adopt.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
899
899
|
}
|
|
900
900
|
_disownCall() {
|
|
901
|
-
return
|
|
901
|
+
return _chunkIVTBYMMNcjs.disown.call(void 0, this.call);
|
|
902
902
|
}
|
|
903
903
|
/**
|
|
904
904
|
* Begin a method call.
|
|
905
905
|
*
|
|
906
906
|
*/
|
|
907
907
|
get call() {
|
|
908
|
-
|
|
909
|
-
return
|
|
908
|
+
_chunkIVTBYMMNcjs.testWhich.call(void 0, "call", _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this), 2, this);
|
|
909
|
+
return _chunkIVTBYMMNcjs.getStruct.call(void 0, 0, Call, this);
|
|
910
910
|
}
|
|
911
911
|
_hasCall() {
|
|
912
|
-
return !
|
|
912
|
+
return !_chunkIVTBYMMNcjs.isNull.call(void 0, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
913
913
|
}
|
|
914
914
|
_initCall() {
|
|
915
|
-
|
|
916
|
-
return
|
|
915
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 2, this);
|
|
916
|
+
return _chunkIVTBYMMNcjs.initStructAt.call(void 0, 0, Call, this);
|
|
917
917
|
}
|
|
918
918
|
get _isCall() {
|
|
919
|
-
return
|
|
919
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this) === 2;
|
|
920
920
|
}
|
|
921
921
|
set call(value) {
|
|
922
|
-
|
|
923
|
-
|
|
922
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 2, this);
|
|
923
|
+
_chunkIVTBYMMNcjs.copyFrom.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
924
924
|
}
|
|
925
925
|
_adoptReturn(value) {
|
|
926
|
-
|
|
927
|
-
|
|
926
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 3, this);
|
|
927
|
+
_chunkIVTBYMMNcjs.adopt.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
928
928
|
}
|
|
929
929
|
_disownReturn() {
|
|
930
|
-
return
|
|
930
|
+
return _chunkIVTBYMMNcjs.disown.call(void 0, this.return);
|
|
931
931
|
}
|
|
932
932
|
/**
|
|
933
933
|
* Complete a method call.
|
|
934
934
|
*
|
|
935
935
|
*/
|
|
936
936
|
get return() {
|
|
937
|
-
|
|
938
|
-
return
|
|
937
|
+
_chunkIVTBYMMNcjs.testWhich.call(void 0, "return", _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this), 3, this);
|
|
938
|
+
return _chunkIVTBYMMNcjs.getStruct.call(void 0, 0, Return, this);
|
|
939
939
|
}
|
|
940
940
|
_hasReturn() {
|
|
941
|
-
return !
|
|
941
|
+
return !_chunkIVTBYMMNcjs.isNull.call(void 0, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
942
942
|
}
|
|
943
943
|
_initReturn() {
|
|
944
|
-
|
|
945
|
-
return
|
|
944
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 3, this);
|
|
945
|
+
return _chunkIVTBYMMNcjs.initStructAt.call(void 0, 0, Return, this);
|
|
946
946
|
}
|
|
947
947
|
get _isReturn() {
|
|
948
|
-
return
|
|
948
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this) === 3;
|
|
949
949
|
}
|
|
950
950
|
set return(value) {
|
|
951
|
-
|
|
952
|
-
|
|
951
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 3, this);
|
|
952
|
+
_chunkIVTBYMMNcjs.copyFrom.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
953
953
|
}
|
|
954
954
|
_adoptFinish(value) {
|
|
955
|
-
|
|
956
|
-
|
|
955
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 4, this);
|
|
956
|
+
_chunkIVTBYMMNcjs.adopt.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
957
957
|
}
|
|
958
958
|
_disownFinish() {
|
|
959
|
-
return
|
|
959
|
+
return _chunkIVTBYMMNcjs.disown.call(void 0, this.finish);
|
|
960
960
|
}
|
|
961
961
|
/**
|
|
962
962
|
* Release a returned answer / cancel a call.
|
|
963
963
|
*
|
|
964
964
|
*/
|
|
965
965
|
get finish() {
|
|
966
|
-
|
|
967
|
-
return
|
|
966
|
+
_chunkIVTBYMMNcjs.testWhich.call(void 0, "finish", _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this), 4, this);
|
|
967
|
+
return _chunkIVTBYMMNcjs.getStruct.call(void 0, 0, Finish, this);
|
|
968
968
|
}
|
|
969
969
|
_hasFinish() {
|
|
970
|
-
return !
|
|
970
|
+
return !_chunkIVTBYMMNcjs.isNull.call(void 0, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
971
971
|
}
|
|
972
972
|
_initFinish() {
|
|
973
|
-
|
|
974
|
-
return
|
|
973
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 4, this);
|
|
974
|
+
return _chunkIVTBYMMNcjs.initStructAt.call(void 0, 0, Finish, this);
|
|
975
975
|
}
|
|
976
976
|
get _isFinish() {
|
|
977
|
-
return
|
|
977
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this) === 4;
|
|
978
978
|
}
|
|
979
979
|
set finish(value) {
|
|
980
|
-
|
|
981
|
-
|
|
980
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 4, this);
|
|
981
|
+
_chunkIVTBYMMNcjs.copyFrom.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
982
982
|
}
|
|
983
983
|
_adoptResolve(value) {
|
|
984
|
-
|
|
985
|
-
|
|
984
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 5, this);
|
|
985
|
+
_chunkIVTBYMMNcjs.adopt.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
986
986
|
}
|
|
987
987
|
_disownResolve() {
|
|
988
|
-
return
|
|
988
|
+
return _chunkIVTBYMMNcjs.disown.call(void 0, this.resolve);
|
|
989
989
|
}
|
|
990
990
|
/**
|
|
991
991
|
* Resolve a previously-sent promise.
|
|
992
992
|
*
|
|
993
993
|
*/
|
|
994
994
|
get resolve() {
|
|
995
|
-
|
|
996
|
-
return
|
|
995
|
+
_chunkIVTBYMMNcjs.testWhich.call(void 0, "resolve", _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this), 5, this);
|
|
996
|
+
return _chunkIVTBYMMNcjs.getStruct.call(void 0, 0, Resolve, this);
|
|
997
997
|
}
|
|
998
998
|
_hasResolve() {
|
|
999
|
-
return !
|
|
999
|
+
return !_chunkIVTBYMMNcjs.isNull.call(void 0, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
1000
1000
|
}
|
|
1001
1001
|
_initResolve() {
|
|
1002
|
-
|
|
1003
|
-
return
|
|
1002
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 5, this);
|
|
1003
|
+
return _chunkIVTBYMMNcjs.initStructAt.call(void 0, 0, Resolve, this);
|
|
1004
1004
|
}
|
|
1005
1005
|
get _isResolve() {
|
|
1006
|
-
return
|
|
1006
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this) === 5;
|
|
1007
1007
|
}
|
|
1008
1008
|
set resolve(value) {
|
|
1009
|
-
|
|
1010
|
-
|
|
1009
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 5, this);
|
|
1010
|
+
_chunkIVTBYMMNcjs.copyFrom.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
1011
1011
|
}
|
|
1012
1012
|
_adoptRelease(value) {
|
|
1013
|
-
|
|
1014
|
-
|
|
1013
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 6, this);
|
|
1014
|
+
_chunkIVTBYMMNcjs.adopt.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
1015
1015
|
}
|
|
1016
1016
|
_disownRelease() {
|
|
1017
|
-
return
|
|
1017
|
+
return _chunkIVTBYMMNcjs.disown.call(void 0, this.release);
|
|
1018
1018
|
}
|
|
1019
1019
|
/**
|
|
1020
1020
|
* Release a capability so that the remote object can be deallocated.
|
|
1021
1021
|
*
|
|
1022
1022
|
*/
|
|
1023
1023
|
get release() {
|
|
1024
|
-
|
|
1025
|
-
return
|
|
1024
|
+
_chunkIVTBYMMNcjs.testWhich.call(void 0, "release", _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this), 6, this);
|
|
1025
|
+
return _chunkIVTBYMMNcjs.getStruct.call(void 0, 0, Release, this);
|
|
1026
1026
|
}
|
|
1027
1027
|
_hasRelease() {
|
|
1028
|
-
return !
|
|
1028
|
+
return !_chunkIVTBYMMNcjs.isNull.call(void 0, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
1029
1029
|
}
|
|
1030
1030
|
_initRelease() {
|
|
1031
|
-
|
|
1032
|
-
return
|
|
1031
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 6, this);
|
|
1032
|
+
return _chunkIVTBYMMNcjs.initStructAt.call(void 0, 0, Release, this);
|
|
1033
1033
|
}
|
|
1034
1034
|
get _isRelease() {
|
|
1035
|
-
return
|
|
1035
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this) === 6;
|
|
1036
1036
|
}
|
|
1037
1037
|
set release(value) {
|
|
1038
|
-
|
|
1039
|
-
|
|
1038
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 6, this);
|
|
1039
|
+
_chunkIVTBYMMNcjs.copyFrom.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
1040
1040
|
}
|
|
1041
1041
|
_adoptDisembargo(value) {
|
|
1042
|
-
|
|
1043
|
-
|
|
1042
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 13, this);
|
|
1043
|
+
_chunkIVTBYMMNcjs.adopt.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
1044
1044
|
}
|
|
1045
1045
|
_disownDisembargo() {
|
|
1046
|
-
return
|
|
1046
|
+
return _chunkIVTBYMMNcjs.disown.call(void 0, this.disembargo);
|
|
1047
1047
|
}
|
|
1048
1048
|
/**
|
|
1049
1049
|
* Lift an embargo used to enforce E-order over promise resolution.
|
|
1050
1050
|
*
|
|
1051
1051
|
*/
|
|
1052
1052
|
get disembargo() {
|
|
1053
|
-
|
|
1054
|
-
return
|
|
1053
|
+
_chunkIVTBYMMNcjs.testWhich.call(void 0, "disembargo", _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this), 13, this);
|
|
1054
|
+
return _chunkIVTBYMMNcjs.getStruct.call(void 0, 0, Disembargo, this);
|
|
1055
1055
|
}
|
|
1056
1056
|
_hasDisembargo() {
|
|
1057
|
-
return !
|
|
1057
|
+
return !_chunkIVTBYMMNcjs.isNull.call(void 0, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
1058
1058
|
}
|
|
1059
1059
|
_initDisembargo() {
|
|
1060
|
-
|
|
1061
|
-
return
|
|
1060
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 13, this);
|
|
1061
|
+
return _chunkIVTBYMMNcjs.initStructAt.call(void 0, 0, Disembargo, this);
|
|
1062
1062
|
}
|
|
1063
1063
|
get _isDisembargo() {
|
|
1064
|
-
return
|
|
1064
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this) === 13;
|
|
1065
1065
|
}
|
|
1066
1066
|
set disembargo(value) {
|
|
1067
|
-
|
|
1068
|
-
|
|
1067
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 13, this);
|
|
1068
|
+
_chunkIVTBYMMNcjs.copyFrom.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
1069
1069
|
}
|
|
1070
1070
|
_adoptObsoleteSave(value) {
|
|
1071
|
-
|
|
1072
|
-
|
|
1071
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 7, this);
|
|
1072
|
+
_chunkIVTBYMMNcjs.adopt.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
1073
1073
|
}
|
|
1074
1074
|
_disownObsoleteSave() {
|
|
1075
|
-
return
|
|
1075
|
+
return _chunkIVTBYMMNcjs.disown.call(void 0, this.obsoleteSave);
|
|
1076
1076
|
}
|
|
1077
1077
|
/**
|
|
1078
1078
|
* Obsolete request to save a capability, resulting in a SturdyRef. This has been replaced
|
|
@@ -1081,146 +1081,146 @@ var Message2 = (_class5 = class _Message extends _chunkC6LZ6PNUcjs.Struct {
|
|
|
1081
1081
|
*
|
|
1082
1082
|
*/
|
|
1083
1083
|
get obsoleteSave() {
|
|
1084
|
-
|
|
1085
|
-
return
|
|
1084
|
+
_chunkIVTBYMMNcjs.testWhich.call(void 0, "obsoleteSave", _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this), 7, this);
|
|
1085
|
+
return _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this);
|
|
1086
1086
|
}
|
|
1087
1087
|
_hasObsoleteSave() {
|
|
1088
|
-
return !
|
|
1088
|
+
return !_chunkIVTBYMMNcjs.isNull.call(void 0, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
1089
1089
|
}
|
|
1090
1090
|
get _isObsoleteSave() {
|
|
1091
|
-
return
|
|
1091
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this) === 7;
|
|
1092
1092
|
}
|
|
1093
1093
|
set obsoleteSave(value) {
|
|
1094
|
-
|
|
1095
|
-
|
|
1094
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 7, this);
|
|
1095
|
+
_chunkIVTBYMMNcjs.copyFrom.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
1096
1096
|
}
|
|
1097
1097
|
_adoptObsoleteDelete(value) {
|
|
1098
|
-
|
|
1099
|
-
|
|
1098
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 9, this);
|
|
1099
|
+
_chunkIVTBYMMNcjs.adopt.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
1100
1100
|
}
|
|
1101
1101
|
_disownObsoleteDelete() {
|
|
1102
|
-
return
|
|
1102
|
+
return _chunkIVTBYMMNcjs.disown.call(void 0, this.obsoleteDelete);
|
|
1103
1103
|
}
|
|
1104
1104
|
/**
|
|
1105
1105
|
* Obsolete way to delete a SturdyRef. This operation was never implemented.
|
|
1106
1106
|
*
|
|
1107
1107
|
*/
|
|
1108
1108
|
get obsoleteDelete() {
|
|
1109
|
-
|
|
1110
|
-
return
|
|
1109
|
+
_chunkIVTBYMMNcjs.testWhich.call(void 0, "obsoleteDelete", _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this), 9, this);
|
|
1110
|
+
return _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this);
|
|
1111
1111
|
}
|
|
1112
1112
|
_hasObsoleteDelete() {
|
|
1113
|
-
return !
|
|
1113
|
+
return !_chunkIVTBYMMNcjs.isNull.call(void 0, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
1114
1114
|
}
|
|
1115
1115
|
get _isObsoleteDelete() {
|
|
1116
|
-
return
|
|
1116
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this) === 9;
|
|
1117
1117
|
}
|
|
1118
1118
|
set obsoleteDelete(value) {
|
|
1119
|
-
|
|
1120
|
-
|
|
1119
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 9, this);
|
|
1120
|
+
_chunkIVTBYMMNcjs.copyFrom.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
1121
1121
|
}
|
|
1122
1122
|
_adoptProvide(value) {
|
|
1123
|
-
|
|
1124
|
-
|
|
1123
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 10, this);
|
|
1124
|
+
_chunkIVTBYMMNcjs.adopt.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
1125
1125
|
}
|
|
1126
1126
|
_disownProvide() {
|
|
1127
|
-
return
|
|
1127
|
+
return _chunkIVTBYMMNcjs.disown.call(void 0, this.provide);
|
|
1128
1128
|
}
|
|
1129
1129
|
/**
|
|
1130
1130
|
* Provide a capability to a third party.
|
|
1131
1131
|
*
|
|
1132
1132
|
*/
|
|
1133
1133
|
get provide() {
|
|
1134
|
-
|
|
1135
|
-
return
|
|
1134
|
+
_chunkIVTBYMMNcjs.testWhich.call(void 0, "provide", _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this), 10, this);
|
|
1135
|
+
return _chunkIVTBYMMNcjs.getStruct.call(void 0, 0, Provide, this);
|
|
1136
1136
|
}
|
|
1137
1137
|
_hasProvide() {
|
|
1138
|
-
return !
|
|
1138
|
+
return !_chunkIVTBYMMNcjs.isNull.call(void 0, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
1139
1139
|
}
|
|
1140
1140
|
_initProvide() {
|
|
1141
|
-
|
|
1142
|
-
return
|
|
1141
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 10, this);
|
|
1142
|
+
return _chunkIVTBYMMNcjs.initStructAt.call(void 0, 0, Provide, this);
|
|
1143
1143
|
}
|
|
1144
1144
|
get _isProvide() {
|
|
1145
|
-
return
|
|
1145
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this) === 10;
|
|
1146
1146
|
}
|
|
1147
1147
|
set provide(value) {
|
|
1148
|
-
|
|
1149
|
-
|
|
1148
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 10, this);
|
|
1149
|
+
_chunkIVTBYMMNcjs.copyFrom.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
1150
1150
|
}
|
|
1151
1151
|
_adoptAccept(value) {
|
|
1152
|
-
|
|
1153
|
-
|
|
1152
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 11, this);
|
|
1153
|
+
_chunkIVTBYMMNcjs.adopt.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
1154
1154
|
}
|
|
1155
1155
|
_disownAccept() {
|
|
1156
|
-
return
|
|
1156
|
+
return _chunkIVTBYMMNcjs.disown.call(void 0, this.accept);
|
|
1157
1157
|
}
|
|
1158
1158
|
/**
|
|
1159
1159
|
* Accept a capability provided by a third party.
|
|
1160
1160
|
*
|
|
1161
1161
|
*/
|
|
1162
1162
|
get accept() {
|
|
1163
|
-
|
|
1164
|
-
return
|
|
1163
|
+
_chunkIVTBYMMNcjs.testWhich.call(void 0, "accept", _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this), 11, this);
|
|
1164
|
+
return _chunkIVTBYMMNcjs.getStruct.call(void 0, 0, Accept, this);
|
|
1165
1165
|
}
|
|
1166
1166
|
_hasAccept() {
|
|
1167
|
-
return !
|
|
1167
|
+
return !_chunkIVTBYMMNcjs.isNull.call(void 0, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
1168
1168
|
}
|
|
1169
1169
|
_initAccept() {
|
|
1170
|
-
|
|
1171
|
-
return
|
|
1170
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 11, this);
|
|
1171
|
+
return _chunkIVTBYMMNcjs.initStructAt.call(void 0, 0, Accept, this);
|
|
1172
1172
|
}
|
|
1173
1173
|
get _isAccept() {
|
|
1174
|
-
return
|
|
1174
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this) === 11;
|
|
1175
1175
|
}
|
|
1176
1176
|
set accept(value) {
|
|
1177
|
-
|
|
1178
|
-
|
|
1177
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 11, this);
|
|
1178
|
+
_chunkIVTBYMMNcjs.copyFrom.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
1179
1179
|
}
|
|
1180
1180
|
_adoptJoin(value) {
|
|
1181
|
-
|
|
1182
|
-
|
|
1181
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 12, this);
|
|
1182
|
+
_chunkIVTBYMMNcjs.adopt.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
1183
1183
|
}
|
|
1184
1184
|
_disownJoin() {
|
|
1185
|
-
return
|
|
1185
|
+
return _chunkIVTBYMMNcjs.disown.call(void 0, this.join);
|
|
1186
1186
|
}
|
|
1187
1187
|
/**
|
|
1188
1188
|
* Directly connect to the common root of two or more proxied caps.
|
|
1189
1189
|
*
|
|
1190
1190
|
*/
|
|
1191
1191
|
get join() {
|
|
1192
|
-
|
|
1193
|
-
return
|
|
1192
|
+
_chunkIVTBYMMNcjs.testWhich.call(void 0, "join", _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this), 12, this);
|
|
1193
|
+
return _chunkIVTBYMMNcjs.getStruct.call(void 0, 0, Join, this);
|
|
1194
1194
|
}
|
|
1195
1195
|
_hasJoin() {
|
|
1196
|
-
return !
|
|
1196
|
+
return !_chunkIVTBYMMNcjs.isNull.call(void 0, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
1197
1197
|
}
|
|
1198
1198
|
_initJoin() {
|
|
1199
|
-
|
|
1200
|
-
return
|
|
1199
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 12, this);
|
|
1200
|
+
return _chunkIVTBYMMNcjs.initStructAt.call(void 0, 0, Join, this);
|
|
1201
1201
|
}
|
|
1202
1202
|
get _isJoin() {
|
|
1203
|
-
return
|
|
1203
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this) === 12;
|
|
1204
1204
|
}
|
|
1205
1205
|
set join(value) {
|
|
1206
|
-
|
|
1207
|
-
|
|
1206
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 12, this);
|
|
1207
|
+
_chunkIVTBYMMNcjs.copyFrom.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
1208
1208
|
}
|
|
1209
1209
|
toString() {
|
|
1210
1210
|
return "Message_" + super.toString();
|
|
1211
1211
|
}
|
|
1212
1212
|
which() {
|
|
1213
|
-
return
|
|
1213
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this);
|
|
1214
1214
|
}
|
|
1215
1215
|
}, _class5.__initStatic7(), _class5.__initStatic8(), _class5.__initStatic9(), _class5.__initStatic10(), _class5.__initStatic11(), _class5.__initStatic12(), _class5.__initStatic13(), _class5.__initStatic14(), _class5.__initStatic15(), _class5.__initStatic16(), _class5.__initStatic17(), _class5.__initStatic18(), _class5.__initStatic19(), _class5.__initStatic20(), _class5.__initStatic21(), _class5);
|
|
1216
|
-
var Bootstrap = (_class6 = class extends
|
|
1216
|
+
var Bootstrap = (_class6 = class extends _chunkIVTBYMMNcjs.Struct {
|
|
1217
1217
|
static {
|
|
1218
|
-
|
|
1218
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "Bootstrap");
|
|
1219
1219
|
}
|
|
1220
1220
|
static __initStatic22() {this._capnp = {
|
|
1221
1221
|
displayName: "Bootstrap",
|
|
1222
1222
|
id: "e94ccf8031176ec4",
|
|
1223
|
-
size: new (0,
|
|
1223
|
+
size: new (0, _chunkIVTBYMMNcjs.ObjectSize)(8, 1)
|
|
1224
1224
|
}}
|
|
1225
1225
|
/**
|
|
1226
1226
|
* A new question ID identifying this request, which will eventually receive a Return message
|
|
@@ -1228,16 +1228,16 @@ var Bootstrap = (_class6 = class extends _chunkC6LZ6PNUcjs.Struct {
|
|
|
1228
1228
|
*
|
|
1229
1229
|
*/
|
|
1230
1230
|
get questionId() {
|
|
1231
|
-
return
|
|
1231
|
+
return _chunkIVTBYMMNcjs.getUint32.call(void 0, 0, this);
|
|
1232
1232
|
}
|
|
1233
1233
|
set questionId(value) {
|
|
1234
|
-
|
|
1234
|
+
_chunkIVTBYMMNcjs.setUint32.call(void 0, 0, value, this);
|
|
1235
1235
|
}
|
|
1236
1236
|
_adoptDeprecatedObjectId(value) {
|
|
1237
|
-
|
|
1237
|
+
_chunkIVTBYMMNcjs.adopt.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
1238
1238
|
}
|
|
1239
1239
|
_disownDeprecatedObjectId() {
|
|
1240
|
-
return
|
|
1240
|
+
return _chunkIVTBYMMNcjs.disown.call(void 0, this.deprecatedObjectId);
|
|
1241
1241
|
}
|
|
1242
1242
|
/**
|
|
1243
1243
|
* ** DEPRECATED **
|
|
@@ -1316,13 +1316,13 @@ var Bootstrap = (_class6 = class extends _chunkC6LZ6PNUcjs.Struct {
|
|
|
1316
1316
|
*
|
|
1317
1317
|
*/
|
|
1318
1318
|
get deprecatedObjectId() {
|
|
1319
|
-
return
|
|
1319
|
+
return _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this);
|
|
1320
1320
|
}
|
|
1321
1321
|
_hasDeprecatedObjectId() {
|
|
1322
|
-
return !
|
|
1322
|
+
return !_chunkIVTBYMMNcjs.isNull.call(void 0, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
1323
1323
|
}
|
|
1324
1324
|
set deprecatedObjectId(value) {
|
|
1325
|
-
|
|
1325
|
+
_chunkIVTBYMMNcjs.copyFrom.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
1326
1326
|
}
|
|
1327
1327
|
toString() {
|
|
1328
1328
|
return "Bootstrap_" + super.toString();
|
|
@@ -1390,9 +1390,9 @@ var Call_SendResultsTo_Which = {
|
|
|
1390
1390
|
*/
|
|
1391
1391
|
THIRD_PARTY: 2
|
|
1392
1392
|
};
|
|
1393
|
-
var Call_SendResultsTo = (_class7 = class extends
|
|
1393
|
+
var Call_SendResultsTo = (_class7 = class extends _chunkIVTBYMMNcjs.Struct {
|
|
1394
1394
|
static {
|
|
1395
|
-
|
|
1395
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "Call_SendResultsTo");
|
|
1396
1396
|
}
|
|
1397
1397
|
static __initStatic23() {this.CALLER = Call_SendResultsTo_Which.CALLER}
|
|
1398
1398
|
static __initStatic24() {this.YOURSELF = Call_SendResultsTo_Which.YOURSELF}
|
|
@@ -1400,26 +1400,26 @@ var Call_SendResultsTo = (_class7 = class extends _chunkC6LZ6PNUcjs.Struct {
|
|
|
1400
1400
|
static __initStatic26() {this._capnp = {
|
|
1401
1401
|
displayName: "sendResultsTo",
|
|
1402
1402
|
id: "dae8b0f61aab5f99",
|
|
1403
|
-
size: new (0,
|
|
1403
|
+
size: new (0, _chunkIVTBYMMNcjs.ObjectSize)(24, 3)
|
|
1404
1404
|
}}
|
|
1405
1405
|
get _isCaller() {
|
|
1406
|
-
return
|
|
1406
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 6, this) === 0;
|
|
1407
1407
|
}
|
|
1408
1408
|
set caller(_) {
|
|
1409
|
-
|
|
1409
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 6, 0, this);
|
|
1410
1410
|
}
|
|
1411
1411
|
get _isYourself() {
|
|
1412
|
-
return
|
|
1412
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 6, this) === 1;
|
|
1413
1413
|
}
|
|
1414
1414
|
set yourself(_) {
|
|
1415
|
-
|
|
1415
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 6, 1, this);
|
|
1416
1416
|
}
|
|
1417
1417
|
_adoptThirdParty(value) {
|
|
1418
|
-
|
|
1419
|
-
|
|
1418
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 6, 2, this);
|
|
1419
|
+
_chunkIVTBYMMNcjs.adopt.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 2, this));
|
|
1420
1420
|
}
|
|
1421
1421
|
_disownThirdParty() {
|
|
1422
|
-
return
|
|
1422
|
+
return _chunkIVTBYMMNcjs.disown.call(void 0, this.thirdParty);
|
|
1423
1423
|
}
|
|
1424
1424
|
/**
|
|
1425
1425
|
* **(level 3)**
|
|
@@ -1436,37 +1436,37 @@ var Call_SendResultsTo = (_class7 = class extends _chunkC6LZ6PNUcjs.Struct {
|
|
|
1436
1436
|
*
|
|
1437
1437
|
*/
|
|
1438
1438
|
get thirdParty() {
|
|
1439
|
-
|
|
1440
|
-
return
|
|
1439
|
+
_chunkIVTBYMMNcjs.testWhich.call(void 0, "thirdParty", _chunkIVTBYMMNcjs.getUint16.call(void 0, 6, this), 2, this);
|
|
1440
|
+
return _chunkIVTBYMMNcjs.getPointer.call(void 0, 2, this);
|
|
1441
1441
|
}
|
|
1442
1442
|
_hasThirdParty() {
|
|
1443
|
-
return !
|
|
1443
|
+
return !_chunkIVTBYMMNcjs.isNull.call(void 0, _chunkIVTBYMMNcjs.getPointer.call(void 0, 2, this));
|
|
1444
1444
|
}
|
|
1445
1445
|
get _isThirdParty() {
|
|
1446
|
-
return
|
|
1446
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 6, this) === 2;
|
|
1447
1447
|
}
|
|
1448
1448
|
set thirdParty(value) {
|
|
1449
|
-
|
|
1450
|
-
|
|
1449
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 6, 2, this);
|
|
1450
|
+
_chunkIVTBYMMNcjs.copyFrom.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 2, this));
|
|
1451
1451
|
}
|
|
1452
1452
|
toString() {
|
|
1453
1453
|
return "Call_SendResultsTo_" + super.toString();
|
|
1454
1454
|
}
|
|
1455
1455
|
which() {
|
|
1456
|
-
return
|
|
1456
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 6, this);
|
|
1457
1457
|
}
|
|
1458
1458
|
}, _class7.__initStatic23(), _class7.__initStatic24(), _class7.__initStatic25(), _class7.__initStatic26(), _class7);
|
|
1459
|
-
var Call = (_class8 = class _Call extends
|
|
1459
|
+
var Call = (_class8 = class _Call extends _chunkIVTBYMMNcjs.Struct {
|
|
1460
1460
|
static {
|
|
1461
|
-
|
|
1461
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "Call");
|
|
1462
1462
|
}
|
|
1463
1463
|
static __initStatic27() {this._capnp = {
|
|
1464
1464
|
displayName: "Call",
|
|
1465
1465
|
id: "836a53ce789d4cd4",
|
|
1466
|
-
size: new (0,
|
|
1467
|
-
defaultAllowThirdPartyTailCall:
|
|
1468
|
-
defaultNoPromisePipelining:
|
|
1469
|
-
defaultOnlyPromisePipeline:
|
|
1466
|
+
size: new (0, _chunkIVTBYMMNcjs.ObjectSize)(24, 3),
|
|
1467
|
+
defaultAllowThirdPartyTailCall: _chunkIVTBYMMNcjs.getBitMask.call(void 0, false, 0),
|
|
1468
|
+
defaultNoPromisePipelining: _chunkIVTBYMMNcjs.getBitMask.call(void 0, false, 1),
|
|
1469
|
+
defaultOnlyPromisePipeline: _chunkIVTBYMMNcjs.getBitMask.call(void 0, false, 2)
|
|
1470
1470
|
}}
|
|
1471
1471
|
/**
|
|
1472
1472
|
* A number, chosen by the caller, that identifies this call in future messages. This number
|
|
@@ -1480,52 +1480,52 @@ var Call = (_class8 = class _Call extends _chunkC6LZ6PNUcjs.Struct {
|
|
|
1480
1480
|
*
|
|
1481
1481
|
*/
|
|
1482
1482
|
get questionId() {
|
|
1483
|
-
return
|
|
1483
|
+
return _chunkIVTBYMMNcjs.getUint32.call(void 0, 0, this);
|
|
1484
1484
|
}
|
|
1485
1485
|
set questionId(value) {
|
|
1486
|
-
|
|
1486
|
+
_chunkIVTBYMMNcjs.setUint32.call(void 0, 0, value, this);
|
|
1487
1487
|
}
|
|
1488
1488
|
_adoptTarget(value) {
|
|
1489
|
-
|
|
1489
|
+
_chunkIVTBYMMNcjs.adopt.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
1490
1490
|
}
|
|
1491
1491
|
_disownTarget() {
|
|
1492
|
-
return
|
|
1492
|
+
return _chunkIVTBYMMNcjs.disown.call(void 0, this.target);
|
|
1493
1493
|
}
|
|
1494
1494
|
/**
|
|
1495
1495
|
* The object that should receive this call.
|
|
1496
1496
|
*
|
|
1497
1497
|
*/
|
|
1498
1498
|
get target() {
|
|
1499
|
-
return
|
|
1499
|
+
return _chunkIVTBYMMNcjs.getStruct.call(void 0, 0, MessageTarget, this);
|
|
1500
1500
|
}
|
|
1501
1501
|
_hasTarget() {
|
|
1502
|
-
return !
|
|
1502
|
+
return !_chunkIVTBYMMNcjs.isNull.call(void 0, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
1503
1503
|
}
|
|
1504
1504
|
_initTarget() {
|
|
1505
|
-
return
|
|
1505
|
+
return _chunkIVTBYMMNcjs.initStructAt.call(void 0, 0, MessageTarget, this);
|
|
1506
1506
|
}
|
|
1507
1507
|
set target(value) {
|
|
1508
|
-
|
|
1508
|
+
_chunkIVTBYMMNcjs.copyFrom.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
1509
1509
|
}
|
|
1510
1510
|
/**
|
|
1511
1511
|
* The type ID of the interface being called. Each capability may implement multiple interfaces.
|
|
1512
1512
|
*
|
|
1513
1513
|
*/
|
|
1514
1514
|
get interfaceId() {
|
|
1515
|
-
return
|
|
1515
|
+
return _chunkIVTBYMMNcjs.getUint64.call(void 0, 8, this);
|
|
1516
1516
|
}
|
|
1517
1517
|
set interfaceId(value) {
|
|
1518
|
-
|
|
1518
|
+
_chunkIVTBYMMNcjs.setUint64.call(void 0, 8, value, this);
|
|
1519
1519
|
}
|
|
1520
1520
|
/**
|
|
1521
1521
|
* The ordinal number of the method to call within the requested interface.
|
|
1522
1522
|
*
|
|
1523
1523
|
*/
|
|
1524
1524
|
get methodId() {
|
|
1525
|
-
return
|
|
1525
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 4, this);
|
|
1526
1526
|
}
|
|
1527
1527
|
set methodId(value) {
|
|
1528
|
-
|
|
1528
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 4, value, this);
|
|
1529
1529
|
}
|
|
1530
1530
|
/**
|
|
1531
1531
|
* Indicates whether or not the receiver is allowed to send a `Return` containing
|
|
@@ -1534,10 +1534,10 @@ var Call = (_class8 = class _Call extends _chunkC6LZ6PNUcjs.Struct {
|
|
|
1534
1534
|
*
|
|
1535
1535
|
*/
|
|
1536
1536
|
get allowThirdPartyTailCall() {
|
|
1537
|
-
return
|
|
1537
|
+
return _chunkIVTBYMMNcjs.getBit.call(void 0, 128, this, _Call._capnp.defaultAllowThirdPartyTailCall);
|
|
1538
1538
|
}
|
|
1539
1539
|
set allowThirdPartyTailCall(value) {
|
|
1540
|
-
|
|
1540
|
+
_chunkIVTBYMMNcjs.setBit.call(void 0, 128, value, this, _Call._capnp.defaultAllowThirdPartyTailCall);
|
|
1541
1541
|
}
|
|
1542
1542
|
/**
|
|
1543
1543
|
* If true, the sender promises that it won't make any promise-pipelined calls on the results of
|
|
@@ -1550,10 +1550,10 @@ var Call = (_class8 = class _Call extends _chunkC6LZ6PNUcjs.Struct {
|
|
|
1550
1550
|
*
|
|
1551
1551
|
*/
|
|
1552
1552
|
get noPromisePipelining() {
|
|
1553
|
-
return
|
|
1553
|
+
return _chunkIVTBYMMNcjs.getBit.call(void 0, 129, this, _Call._capnp.defaultNoPromisePipelining);
|
|
1554
1554
|
}
|
|
1555
1555
|
set noPromisePipelining(value) {
|
|
1556
|
-
|
|
1556
|
+
_chunkIVTBYMMNcjs.setBit.call(void 0, 129, value, this, _Call._capnp.defaultNoPromisePipelining);
|
|
1557
1557
|
}
|
|
1558
1558
|
/**
|
|
1559
1559
|
* If true, the sender only plans to use this call to make pipelined calls. The receiver need not
|
|
@@ -1572,16 +1572,16 @@ var Call = (_class8 = class _Call extends _chunkC6LZ6PNUcjs.Struct {
|
|
|
1572
1572
|
*
|
|
1573
1573
|
*/
|
|
1574
1574
|
get onlyPromisePipeline() {
|
|
1575
|
-
return
|
|
1575
|
+
return _chunkIVTBYMMNcjs.getBit.call(void 0, 130, this, _Call._capnp.defaultOnlyPromisePipeline);
|
|
1576
1576
|
}
|
|
1577
1577
|
set onlyPromisePipeline(value) {
|
|
1578
|
-
|
|
1578
|
+
_chunkIVTBYMMNcjs.setBit.call(void 0, 130, value, this, _Call._capnp.defaultOnlyPromisePipeline);
|
|
1579
1579
|
}
|
|
1580
1580
|
_adoptParams(value) {
|
|
1581
|
-
|
|
1581
|
+
_chunkIVTBYMMNcjs.adopt.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 1, this));
|
|
1582
1582
|
}
|
|
1583
1583
|
_disownParams() {
|
|
1584
|
-
return
|
|
1584
|
+
return _chunkIVTBYMMNcjs.disown.call(void 0, this.params);
|
|
1585
1585
|
}
|
|
1586
1586
|
/**
|
|
1587
1587
|
* The call parameters. `params.content` is a struct whose fields correspond to the parameters of
|
|
@@ -1589,26 +1589,26 @@ var Call = (_class8 = class _Call extends _chunkC6LZ6PNUcjs.Struct {
|
|
|
1589
1589
|
*
|
|
1590
1590
|
*/
|
|
1591
1591
|
get params() {
|
|
1592
|
-
return
|
|
1592
|
+
return _chunkIVTBYMMNcjs.getStruct.call(void 0, 1, Payload, this);
|
|
1593
1593
|
}
|
|
1594
1594
|
_hasParams() {
|
|
1595
|
-
return !
|
|
1595
|
+
return !_chunkIVTBYMMNcjs.isNull.call(void 0, _chunkIVTBYMMNcjs.getPointer.call(void 0, 1, this));
|
|
1596
1596
|
}
|
|
1597
1597
|
_initParams() {
|
|
1598
|
-
return
|
|
1598
|
+
return _chunkIVTBYMMNcjs.initStructAt.call(void 0, 1, Payload, this);
|
|
1599
1599
|
}
|
|
1600
1600
|
set params(value) {
|
|
1601
|
-
|
|
1601
|
+
_chunkIVTBYMMNcjs.copyFrom.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 1, this));
|
|
1602
1602
|
}
|
|
1603
1603
|
/**
|
|
1604
1604
|
* Where should the return message be sent?
|
|
1605
1605
|
*
|
|
1606
1606
|
*/
|
|
1607
1607
|
get sendResultsTo() {
|
|
1608
|
-
return
|
|
1608
|
+
return _chunkIVTBYMMNcjs.getAs.call(void 0, Call_SendResultsTo, this);
|
|
1609
1609
|
}
|
|
1610
1610
|
_initSendResultsTo() {
|
|
1611
|
-
return
|
|
1611
|
+
return _chunkIVTBYMMNcjs.getAs.call(void 0, Call_SendResultsTo, this);
|
|
1612
1612
|
}
|
|
1613
1613
|
toString() {
|
|
1614
1614
|
return "Call_" + super.toString();
|
|
@@ -1665,9 +1665,9 @@ var Return_Which = {
|
|
|
1665
1665
|
*/
|
|
1666
1666
|
ACCEPT_FROM_THIRD_PARTY: 5
|
|
1667
1667
|
};
|
|
1668
|
-
var Return = (_class9 = class _Return extends
|
|
1668
|
+
var Return = (_class9 = class _Return extends _chunkIVTBYMMNcjs.Struct {
|
|
1669
1669
|
static {
|
|
1670
|
-
|
|
1670
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "Return");
|
|
1671
1671
|
}
|
|
1672
1672
|
static __initStatic28() {this.RESULTS = Return_Which.RESULTS}
|
|
1673
1673
|
static __initStatic29() {this.EXCEPTION = Return_Which.EXCEPTION}
|
|
@@ -1678,19 +1678,19 @@ var Return = (_class9 = class _Return extends _chunkC6LZ6PNUcjs.Struct {
|
|
|
1678
1678
|
static __initStatic34() {this._capnp = {
|
|
1679
1679
|
displayName: "Return",
|
|
1680
1680
|
id: "9e19b28d3db3573a",
|
|
1681
|
-
size: new (0,
|
|
1682
|
-
defaultReleaseParamCaps:
|
|
1683
|
-
defaultNoFinishNeeded:
|
|
1681
|
+
size: new (0, _chunkIVTBYMMNcjs.ObjectSize)(16, 1),
|
|
1682
|
+
defaultReleaseParamCaps: _chunkIVTBYMMNcjs.getBitMask.call(void 0, true, 0),
|
|
1683
|
+
defaultNoFinishNeeded: _chunkIVTBYMMNcjs.getBitMask.call(void 0, false, 1)
|
|
1684
1684
|
}}
|
|
1685
1685
|
/**
|
|
1686
1686
|
* Equal to the QuestionId of the corresponding `Call` message.
|
|
1687
1687
|
*
|
|
1688
1688
|
*/
|
|
1689
1689
|
get answerId() {
|
|
1690
|
-
return
|
|
1690
|
+
return _chunkIVTBYMMNcjs.getUint32.call(void 0, 0, this);
|
|
1691
1691
|
}
|
|
1692
1692
|
set answerId(value) {
|
|
1693
|
-
|
|
1693
|
+
_chunkIVTBYMMNcjs.setUint32.call(void 0, 0, value, this);
|
|
1694
1694
|
}
|
|
1695
1695
|
/**
|
|
1696
1696
|
* If true, all capabilities that were in the params should be considered released. The sender
|
|
@@ -1704,10 +1704,10 @@ var Return = (_class9 = class _Return extends _chunkC6LZ6PNUcjs.Struct {
|
|
|
1704
1704
|
*
|
|
1705
1705
|
*/
|
|
1706
1706
|
get releaseParamCaps() {
|
|
1707
|
-
return
|
|
1707
|
+
return _chunkIVTBYMMNcjs.getBit.call(void 0, 32, this, _Return._capnp.defaultReleaseParamCaps);
|
|
1708
1708
|
}
|
|
1709
1709
|
set releaseParamCaps(value) {
|
|
1710
|
-
|
|
1710
|
+
_chunkIVTBYMMNcjs.setBit.call(void 0, 32, value, this, _Return._capnp.defaultReleaseParamCaps);
|
|
1711
1711
|
}
|
|
1712
1712
|
/**
|
|
1713
1713
|
* If true, the sender does not need the receiver to send a `Finish` message; its answer table
|
|
@@ -1718,17 +1718,17 @@ var Return = (_class9 = class _Return extends _chunkC6LZ6PNUcjs.Struct {
|
|
|
1718
1718
|
*
|
|
1719
1719
|
*/
|
|
1720
1720
|
get noFinishNeeded() {
|
|
1721
|
-
return
|
|
1721
|
+
return _chunkIVTBYMMNcjs.getBit.call(void 0, 33, this, _Return._capnp.defaultNoFinishNeeded);
|
|
1722
1722
|
}
|
|
1723
1723
|
set noFinishNeeded(value) {
|
|
1724
|
-
|
|
1724
|
+
_chunkIVTBYMMNcjs.setBit.call(void 0, 33, value, this, _Return._capnp.defaultNoFinishNeeded);
|
|
1725
1725
|
}
|
|
1726
1726
|
_adoptResults(value) {
|
|
1727
|
-
|
|
1728
|
-
|
|
1727
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 6, 0, this);
|
|
1728
|
+
_chunkIVTBYMMNcjs.adopt.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
1729
1729
|
}
|
|
1730
1730
|
_disownResults() {
|
|
1731
|
-
return
|
|
1731
|
+
return _chunkIVTBYMMNcjs.disown.call(void 0, this.results);
|
|
1732
1732
|
}
|
|
1733
1733
|
/**
|
|
1734
1734
|
* The result.
|
|
@@ -1741,63 +1741,63 @@ var Return = (_class9 = class _Return extends _chunkC6LZ6PNUcjs.Struct {
|
|
|
1741
1741
|
*
|
|
1742
1742
|
*/
|
|
1743
1743
|
get results() {
|
|
1744
|
-
|
|
1745
|
-
return
|
|
1744
|
+
_chunkIVTBYMMNcjs.testWhich.call(void 0, "results", _chunkIVTBYMMNcjs.getUint16.call(void 0, 6, this), 0, this);
|
|
1745
|
+
return _chunkIVTBYMMNcjs.getStruct.call(void 0, 0, Payload, this);
|
|
1746
1746
|
}
|
|
1747
1747
|
_hasResults() {
|
|
1748
|
-
return !
|
|
1748
|
+
return !_chunkIVTBYMMNcjs.isNull.call(void 0, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
1749
1749
|
}
|
|
1750
1750
|
_initResults() {
|
|
1751
|
-
|
|
1752
|
-
return
|
|
1751
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 6, 0, this);
|
|
1752
|
+
return _chunkIVTBYMMNcjs.initStructAt.call(void 0, 0, Payload, this);
|
|
1753
1753
|
}
|
|
1754
1754
|
get _isResults() {
|
|
1755
|
-
return
|
|
1755
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 6, this) === 0;
|
|
1756
1756
|
}
|
|
1757
1757
|
set results(value) {
|
|
1758
|
-
|
|
1759
|
-
|
|
1758
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 6, 0, this);
|
|
1759
|
+
_chunkIVTBYMMNcjs.copyFrom.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
1760
1760
|
}
|
|
1761
1761
|
_adoptException(value) {
|
|
1762
|
-
|
|
1763
|
-
|
|
1762
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 6, 1, this);
|
|
1763
|
+
_chunkIVTBYMMNcjs.adopt.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
1764
1764
|
}
|
|
1765
1765
|
_disownException() {
|
|
1766
|
-
return
|
|
1766
|
+
return _chunkIVTBYMMNcjs.disown.call(void 0, this.exception);
|
|
1767
1767
|
}
|
|
1768
1768
|
/**
|
|
1769
1769
|
* Indicates that the call failed and explains why.
|
|
1770
1770
|
*
|
|
1771
1771
|
*/
|
|
1772
1772
|
get exception() {
|
|
1773
|
-
|
|
1774
|
-
return
|
|
1773
|
+
_chunkIVTBYMMNcjs.testWhich.call(void 0, "exception", _chunkIVTBYMMNcjs.getUint16.call(void 0, 6, this), 1, this);
|
|
1774
|
+
return _chunkIVTBYMMNcjs.getStruct.call(void 0, 0, Exception, this);
|
|
1775
1775
|
}
|
|
1776
1776
|
_hasException() {
|
|
1777
|
-
return !
|
|
1777
|
+
return !_chunkIVTBYMMNcjs.isNull.call(void 0, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
1778
1778
|
}
|
|
1779
1779
|
_initException() {
|
|
1780
|
-
|
|
1781
|
-
return
|
|
1780
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 6, 1, this);
|
|
1781
|
+
return _chunkIVTBYMMNcjs.initStructAt.call(void 0, 0, Exception, this);
|
|
1782
1782
|
}
|
|
1783
1783
|
get _isException() {
|
|
1784
|
-
return
|
|
1784
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 6, this) === 1;
|
|
1785
1785
|
}
|
|
1786
1786
|
set exception(value) {
|
|
1787
|
-
|
|
1788
|
-
|
|
1787
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 6, 1, this);
|
|
1788
|
+
_chunkIVTBYMMNcjs.copyFrom.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
1789
1789
|
}
|
|
1790
1790
|
get _isCanceled() {
|
|
1791
|
-
return
|
|
1791
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 6, this) === 2;
|
|
1792
1792
|
}
|
|
1793
1793
|
set canceled(_) {
|
|
1794
|
-
|
|
1794
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 6, 2, this);
|
|
1795
1795
|
}
|
|
1796
1796
|
get _isResultsSentElsewhere() {
|
|
1797
|
-
return
|
|
1797
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 6, this) === 3;
|
|
1798
1798
|
}
|
|
1799
1799
|
set resultsSentElsewhere(_) {
|
|
1800
|
-
|
|
1800
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 6, 3, this);
|
|
1801
1801
|
}
|
|
1802
1802
|
/**
|
|
1803
1803
|
* The sender has also sent (before this message) a `Call` with the given question ID and with
|
|
@@ -1806,22 +1806,22 @@ var Return = (_class9 = class _Return extends _chunkC6LZ6PNUcjs.Struct {
|
|
|
1806
1806
|
*
|
|
1807
1807
|
*/
|
|
1808
1808
|
get takeFromOtherQuestion() {
|
|
1809
|
-
|
|
1810
|
-
return
|
|
1809
|
+
_chunkIVTBYMMNcjs.testWhich.call(void 0, "takeFromOtherQuestion", _chunkIVTBYMMNcjs.getUint16.call(void 0, 6, this), 4, this);
|
|
1810
|
+
return _chunkIVTBYMMNcjs.getUint32.call(void 0, 8, this);
|
|
1811
1811
|
}
|
|
1812
1812
|
get _isTakeFromOtherQuestion() {
|
|
1813
|
-
return
|
|
1813
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 6, this) === 4;
|
|
1814
1814
|
}
|
|
1815
1815
|
set takeFromOtherQuestion(value) {
|
|
1816
|
-
|
|
1817
|
-
|
|
1816
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 6, 4, this);
|
|
1817
|
+
_chunkIVTBYMMNcjs.setUint32.call(void 0, 8, value, this);
|
|
1818
1818
|
}
|
|
1819
1819
|
_adoptAcceptFromThirdParty(value) {
|
|
1820
|
-
|
|
1821
|
-
|
|
1820
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 6, 5, this);
|
|
1821
|
+
_chunkIVTBYMMNcjs.adopt.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
1822
1822
|
}
|
|
1823
1823
|
_disownAcceptFromThirdParty() {
|
|
1824
|
-
return
|
|
1824
|
+
return _chunkIVTBYMMNcjs.disown.call(void 0, this.acceptFromThirdParty);
|
|
1825
1825
|
}
|
|
1826
1826
|
/**
|
|
1827
1827
|
* **(level 3)**
|
|
@@ -1832,46 +1832,46 @@ var Return = (_class9 = class _Return extends _chunkC6LZ6PNUcjs.Struct {
|
|
|
1832
1832
|
*
|
|
1833
1833
|
*/
|
|
1834
1834
|
get acceptFromThirdParty() {
|
|
1835
|
-
|
|
1836
|
-
return
|
|
1835
|
+
_chunkIVTBYMMNcjs.testWhich.call(void 0, "acceptFromThirdParty", _chunkIVTBYMMNcjs.getUint16.call(void 0, 6, this), 5, this);
|
|
1836
|
+
return _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this);
|
|
1837
1837
|
}
|
|
1838
1838
|
_hasAcceptFromThirdParty() {
|
|
1839
|
-
return !
|
|
1839
|
+
return !_chunkIVTBYMMNcjs.isNull.call(void 0, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
1840
1840
|
}
|
|
1841
1841
|
get _isAcceptFromThirdParty() {
|
|
1842
|
-
return
|
|
1842
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 6, this) === 5;
|
|
1843
1843
|
}
|
|
1844
1844
|
set acceptFromThirdParty(value) {
|
|
1845
|
-
|
|
1846
|
-
|
|
1845
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 6, 5, this);
|
|
1846
|
+
_chunkIVTBYMMNcjs.copyFrom.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
1847
1847
|
}
|
|
1848
1848
|
toString() {
|
|
1849
1849
|
return "Return_" + super.toString();
|
|
1850
1850
|
}
|
|
1851
1851
|
which() {
|
|
1852
|
-
return
|
|
1852
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 6, this);
|
|
1853
1853
|
}
|
|
1854
1854
|
}, _class9.__initStatic28(), _class9.__initStatic29(), _class9.__initStatic30(), _class9.__initStatic31(), _class9.__initStatic32(), _class9.__initStatic33(), _class9.__initStatic34(), _class9);
|
|
1855
|
-
var Finish = (_class10 = class _Finish extends
|
|
1855
|
+
var Finish = (_class10 = class _Finish extends _chunkIVTBYMMNcjs.Struct {
|
|
1856
1856
|
static {
|
|
1857
|
-
|
|
1857
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "Finish");
|
|
1858
1858
|
}
|
|
1859
1859
|
static __initStatic35() {this._capnp = {
|
|
1860
1860
|
displayName: "Finish",
|
|
1861
1861
|
id: "d37d2eb2c2f80e63",
|
|
1862
|
-
size: new (0,
|
|
1863
|
-
defaultReleaseResultCaps:
|
|
1864
|
-
defaultRequireEarlyCancellationWorkaround:
|
|
1862
|
+
size: new (0, _chunkIVTBYMMNcjs.ObjectSize)(8, 0),
|
|
1863
|
+
defaultReleaseResultCaps: _chunkIVTBYMMNcjs.getBitMask.call(void 0, true, 0),
|
|
1864
|
+
defaultRequireEarlyCancellationWorkaround: _chunkIVTBYMMNcjs.getBitMask.call(void 0, true, 1)
|
|
1865
1865
|
}}
|
|
1866
1866
|
/**
|
|
1867
1867
|
* ID of the call whose result is to be released.
|
|
1868
1868
|
*
|
|
1869
1869
|
*/
|
|
1870
1870
|
get questionId() {
|
|
1871
|
-
return
|
|
1871
|
+
return _chunkIVTBYMMNcjs.getUint32.call(void 0, 0, this);
|
|
1872
1872
|
}
|
|
1873
1873
|
set questionId(value) {
|
|
1874
|
-
|
|
1874
|
+
_chunkIVTBYMMNcjs.setUint32.call(void 0, 0, value, this);
|
|
1875
1875
|
}
|
|
1876
1876
|
/**
|
|
1877
1877
|
* If true, all capabilities that were in the results should be considered released. The sender
|
|
@@ -1882,10 +1882,10 @@ var Finish = (_class10 = class _Finish extends _chunkC6LZ6PNUcjs.Struct {
|
|
|
1882
1882
|
*
|
|
1883
1883
|
*/
|
|
1884
1884
|
get releaseResultCaps() {
|
|
1885
|
-
return
|
|
1885
|
+
return _chunkIVTBYMMNcjs.getBit.call(void 0, 32, this, _Finish._capnp.defaultReleaseResultCaps);
|
|
1886
1886
|
}
|
|
1887
1887
|
set releaseResultCaps(value) {
|
|
1888
|
-
|
|
1888
|
+
_chunkIVTBYMMNcjs.setBit.call(void 0, 32, value, this, _Finish._capnp.defaultReleaseResultCaps);
|
|
1889
1889
|
}
|
|
1890
1890
|
/**
|
|
1891
1891
|
* If true, if the RPC system receives this Finish message before the original call has even been
|
|
@@ -1903,10 +1903,10 @@ var Finish = (_class10 = class _Finish extends _chunkC6LZ6PNUcjs.Struct {
|
|
|
1903
1903
|
*
|
|
1904
1904
|
*/
|
|
1905
1905
|
get requireEarlyCancellationWorkaround() {
|
|
1906
|
-
return
|
|
1906
|
+
return _chunkIVTBYMMNcjs.getBit.call(void 0, 33, this, _Finish._capnp.defaultRequireEarlyCancellationWorkaround);
|
|
1907
1907
|
}
|
|
1908
1908
|
set requireEarlyCancellationWorkaround(value) {
|
|
1909
|
-
|
|
1909
|
+
_chunkIVTBYMMNcjs.setBit.call(void 0, 33, value, this, _Finish._capnp.defaultRequireEarlyCancellationWorkaround);
|
|
1910
1910
|
}
|
|
1911
1911
|
toString() {
|
|
1912
1912
|
return "Finish_" + super.toString();
|
|
@@ -1952,16 +1952,16 @@ var Resolve_Which = {
|
|
|
1952
1952
|
*/
|
|
1953
1953
|
EXCEPTION: 1
|
|
1954
1954
|
};
|
|
1955
|
-
var Resolve = (_class11 = class extends
|
|
1955
|
+
var Resolve = (_class11 = class extends _chunkIVTBYMMNcjs.Struct {
|
|
1956
1956
|
static {
|
|
1957
|
-
|
|
1957
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "Resolve");
|
|
1958
1958
|
}
|
|
1959
1959
|
static __initStatic36() {this.CAP = Resolve_Which.CAP}
|
|
1960
1960
|
static __initStatic37() {this.EXCEPTION = Resolve_Which.EXCEPTION}
|
|
1961
1961
|
static __initStatic38() {this._capnp = {
|
|
1962
1962
|
displayName: "Resolve",
|
|
1963
1963
|
id: "bbc29655fa89086e",
|
|
1964
|
-
size: new (0,
|
|
1964
|
+
size: new (0, _chunkIVTBYMMNcjs.ObjectSize)(8, 1)
|
|
1965
1965
|
}}
|
|
1966
1966
|
/**
|
|
1967
1967
|
* The ID of the promise to be resolved.
|
|
@@ -1987,17 +1987,17 @@ var Resolve = (_class11 = class extends _chunkC6LZ6PNUcjs.Struct {
|
|
|
1987
1987
|
*
|
|
1988
1988
|
*/
|
|
1989
1989
|
get promiseId() {
|
|
1990
|
-
return
|
|
1990
|
+
return _chunkIVTBYMMNcjs.getUint32.call(void 0, 0, this);
|
|
1991
1991
|
}
|
|
1992
1992
|
set promiseId(value) {
|
|
1993
|
-
|
|
1993
|
+
_chunkIVTBYMMNcjs.setUint32.call(void 0, 0, value, this);
|
|
1994
1994
|
}
|
|
1995
1995
|
_adoptCap(value) {
|
|
1996
|
-
|
|
1997
|
-
|
|
1996
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 4, 0, this);
|
|
1997
|
+
_chunkIVTBYMMNcjs.adopt.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
1998
1998
|
}
|
|
1999
1999
|
_disownCap() {
|
|
2000
|
-
return
|
|
2000
|
+
return _chunkIVTBYMMNcjs.disown.call(void 0, this.cap);
|
|
2001
2001
|
}
|
|
2002
2002
|
/**
|
|
2003
2003
|
* The object to which the promise resolved.
|
|
@@ -2013,77 +2013,77 @@ var Resolve = (_class11 = class extends _chunkC6LZ6PNUcjs.Struct {
|
|
|
2013
2013
|
*
|
|
2014
2014
|
*/
|
|
2015
2015
|
get cap() {
|
|
2016
|
-
|
|
2017
|
-
return
|
|
2016
|
+
_chunkIVTBYMMNcjs.testWhich.call(void 0, "cap", _chunkIVTBYMMNcjs.getUint16.call(void 0, 4, this), 0, this);
|
|
2017
|
+
return _chunkIVTBYMMNcjs.getStruct.call(void 0, 0, CapDescriptor, this);
|
|
2018
2018
|
}
|
|
2019
2019
|
_hasCap() {
|
|
2020
|
-
return !
|
|
2020
|
+
return !_chunkIVTBYMMNcjs.isNull.call(void 0, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
2021
2021
|
}
|
|
2022
2022
|
_initCap() {
|
|
2023
|
-
|
|
2024
|
-
return
|
|
2023
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 4, 0, this);
|
|
2024
|
+
return _chunkIVTBYMMNcjs.initStructAt.call(void 0, 0, CapDescriptor, this);
|
|
2025
2025
|
}
|
|
2026
2026
|
get _isCap() {
|
|
2027
|
-
return
|
|
2027
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 4, this) === 0;
|
|
2028
2028
|
}
|
|
2029
2029
|
set cap(value) {
|
|
2030
|
-
|
|
2031
|
-
|
|
2030
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 4, 0, this);
|
|
2031
|
+
_chunkIVTBYMMNcjs.copyFrom.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
2032
2032
|
}
|
|
2033
2033
|
_adoptException(value) {
|
|
2034
|
-
|
|
2035
|
-
|
|
2034
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 4, 1, this);
|
|
2035
|
+
_chunkIVTBYMMNcjs.adopt.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
2036
2036
|
}
|
|
2037
2037
|
_disownException() {
|
|
2038
|
-
return
|
|
2038
|
+
return _chunkIVTBYMMNcjs.disown.call(void 0, this.exception);
|
|
2039
2039
|
}
|
|
2040
2040
|
/**
|
|
2041
2041
|
* Indicates that the promise was broken.
|
|
2042
2042
|
*
|
|
2043
2043
|
*/
|
|
2044
2044
|
get exception() {
|
|
2045
|
-
|
|
2046
|
-
return
|
|
2045
|
+
_chunkIVTBYMMNcjs.testWhich.call(void 0, "exception", _chunkIVTBYMMNcjs.getUint16.call(void 0, 4, this), 1, this);
|
|
2046
|
+
return _chunkIVTBYMMNcjs.getStruct.call(void 0, 0, Exception, this);
|
|
2047
2047
|
}
|
|
2048
2048
|
_hasException() {
|
|
2049
|
-
return !
|
|
2049
|
+
return !_chunkIVTBYMMNcjs.isNull.call(void 0, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
2050
2050
|
}
|
|
2051
2051
|
_initException() {
|
|
2052
|
-
|
|
2053
|
-
return
|
|
2052
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 4, 1, this);
|
|
2053
|
+
return _chunkIVTBYMMNcjs.initStructAt.call(void 0, 0, Exception, this);
|
|
2054
2054
|
}
|
|
2055
2055
|
get _isException() {
|
|
2056
|
-
return
|
|
2056
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 4, this) === 1;
|
|
2057
2057
|
}
|
|
2058
2058
|
set exception(value) {
|
|
2059
|
-
|
|
2060
|
-
|
|
2059
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 4, 1, this);
|
|
2060
|
+
_chunkIVTBYMMNcjs.copyFrom.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
2061
2061
|
}
|
|
2062
2062
|
toString() {
|
|
2063
2063
|
return "Resolve_" + super.toString();
|
|
2064
2064
|
}
|
|
2065
2065
|
which() {
|
|
2066
|
-
return
|
|
2066
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 4, this);
|
|
2067
2067
|
}
|
|
2068
2068
|
}, _class11.__initStatic36(), _class11.__initStatic37(), _class11.__initStatic38(), _class11);
|
|
2069
|
-
var Release = (_class12 = class extends
|
|
2069
|
+
var Release = (_class12 = class extends _chunkIVTBYMMNcjs.Struct {
|
|
2070
2070
|
static {
|
|
2071
|
-
|
|
2071
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "Release");
|
|
2072
2072
|
}
|
|
2073
2073
|
static __initStatic39() {this._capnp = {
|
|
2074
2074
|
displayName: "Release",
|
|
2075
2075
|
id: "ad1a6c0d7dd07497",
|
|
2076
|
-
size: new (0,
|
|
2076
|
+
size: new (0, _chunkIVTBYMMNcjs.ObjectSize)(8, 0)
|
|
2077
2077
|
}}
|
|
2078
2078
|
/**
|
|
2079
2079
|
* What to release.
|
|
2080
2080
|
*
|
|
2081
2081
|
*/
|
|
2082
2082
|
get id() {
|
|
2083
|
-
return
|
|
2083
|
+
return _chunkIVTBYMMNcjs.getUint32.call(void 0, 0, this);
|
|
2084
2084
|
}
|
|
2085
2085
|
set id(value) {
|
|
2086
|
-
|
|
2086
|
+
_chunkIVTBYMMNcjs.setUint32.call(void 0, 0, value, this);
|
|
2087
2087
|
}
|
|
2088
2088
|
/**
|
|
2089
2089
|
* The amount by which to decrement the reference count. The export is only actually released
|
|
@@ -2091,10 +2091,10 @@ var Release = (_class12 = class extends _chunkC6LZ6PNUcjs.Struct {
|
|
|
2091
2091
|
*
|
|
2092
2092
|
*/
|
|
2093
2093
|
get referenceCount() {
|
|
2094
|
-
return
|
|
2094
|
+
return _chunkIVTBYMMNcjs.getUint32.call(void 0, 4, this);
|
|
2095
2095
|
}
|
|
2096
2096
|
set referenceCount(value) {
|
|
2097
|
-
|
|
2097
|
+
_chunkIVTBYMMNcjs.setUint32.call(void 0, 4, value, this);
|
|
2098
2098
|
}
|
|
2099
2099
|
toString() {
|
|
2100
2100
|
return "Release_" + super.toString();
|
|
@@ -2145,9 +2145,9 @@ var Disembargo_Context_Which = {
|
|
|
2145
2145
|
*/
|
|
2146
2146
|
PROVIDE: 3
|
|
2147
2147
|
};
|
|
2148
|
-
var Disembargo_Context = (_class13 = class extends
|
|
2148
|
+
var Disembargo_Context = (_class13 = class extends _chunkIVTBYMMNcjs.Struct {
|
|
2149
2149
|
static {
|
|
2150
|
-
|
|
2150
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "Disembargo_Context");
|
|
2151
2151
|
}
|
|
2152
2152
|
static __initStatic40() {this.SENDER_LOOPBACK = Disembargo_Context_Which.SENDER_LOOPBACK}
|
|
2153
2153
|
static __initStatic41() {this.RECEIVER_LOOPBACK = Disembargo_Context_Which.RECEIVER_LOOPBACK}
|
|
@@ -2156,7 +2156,7 @@ var Disembargo_Context = (_class13 = class extends _chunkC6LZ6PNUcjs.Struct {
|
|
|
2156
2156
|
static __initStatic44() {this._capnp = {
|
|
2157
2157
|
displayName: "context",
|
|
2158
2158
|
id: "d562b4df655bdd4d",
|
|
2159
|
-
size: new (0,
|
|
2159
|
+
size: new (0, _chunkIVTBYMMNcjs.ObjectSize)(8, 1)
|
|
2160
2160
|
}}
|
|
2161
2161
|
/**
|
|
2162
2162
|
* The sender is requesting a disembargo on a promise that is known to resolve back to a
|
|
@@ -2171,15 +2171,15 @@ var Disembargo_Context = (_class13 = class extends _chunkC6LZ6PNUcjs.Struct {
|
|
|
2171
2171
|
*
|
|
2172
2172
|
*/
|
|
2173
2173
|
get senderLoopback() {
|
|
2174
|
-
|
|
2175
|
-
return
|
|
2174
|
+
_chunkIVTBYMMNcjs.testWhich.call(void 0, "senderLoopback", _chunkIVTBYMMNcjs.getUint16.call(void 0, 4, this), 0, this);
|
|
2175
|
+
return _chunkIVTBYMMNcjs.getUint32.call(void 0, 0, this);
|
|
2176
2176
|
}
|
|
2177
2177
|
get _isSenderLoopback() {
|
|
2178
|
-
return
|
|
2178
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 4, this) === 0;
|
|
2179
2179
|
}
|
|
2180
2180
|
set senderLoopback(value) {
|
|
2181
|
-
|
|
2182
|
-
|
|
2181
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 4, 0, this);
|
|
2182
|
+
_chunkIVTBYMMNcjs.setUint32.call(void 0, 0, value, this);
|
|
2183
2183
|
}
|
|
2184
2184
|
/**
|
|
2185
2185
|
* The receiver previously sent a `senderLoopback` Disembargo towards a promise resolving to
|
|
@@ -2187,21 +2187,21 @@ var Disembargo_Context = (_class13 = class extends _chunkC6LZ6PNUcjs.Struct {
|
|
|
2187
2187
|
*
|
|
2188
2188
|
*/
|
|
2189
2189
|
get receiverLoopback() {
|
|
2190
|
-
|
|
2191
|
-
return
|
|
2190
|
+
_chunkIVTBYMMNcjs.testWhich.call(void 0, "receiverLoopback", _chunkIVTBYMMNcjs.getUint16.call(void 0, 4, this), 1, this);
|
|
2191
|
+
return _chunkIVTBYMMNcjs.getUint32.call(void 0, 0, this);
|
|
2192
2192
|
}
|
|
2193
2193
|
get _isReceiverLoopback() {
|
|
2194
|
-
return
|
|
2194
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 4, this) === 1;
|
|
2195
2195
|
}
|
|
2196
2196
|
set receiverLoopback(value) {
|
|
2197
|
-
|
|
2198
|
-
|
|
2197
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 4, 1, this);
|
|
2198
|
+
_chunkIVTBYMMNcjs.setUint32.call(void 0, 0, value, this);
|
|
2199
2199
|
}
|
|
2200
2200
|
get _isAccept() {
|
|
2201
|
-
return
|
|
2201
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 4, this) === 2;
|
|
2202
2202
|
}
|
|
2203
2203
|
set accept(_) {
|
|
2204
|
-
|
|
2204
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 4, 2, this);
|
|
2205
2205
|
}
|
|
2206
2206
|
/**
|
|
2207
2207
|
* **(level 3)**
|
|
@@ -2214,72 +2214,72 @@ var Disembargo_Context = (_class13 = class extends _chunkC6LZ6PNUcjs.Struct {
|
|
|
2214
2214
|
*
|
|
2215
2215
|
*/
|
|
2216
2216
|
get provide() {
|
|
2217
|
-
|
|
2218
|
-
return
|
|
2217
|
+
_chunkIVTBYMMNcjs.testWhich.call(void 0, "provide", _chunkIVTBYMMNcjs.getUint16.call(void 0, 4, this), 3, this);
|
|
2218
|
+
return _chunkIVTBYMMNcjs.getUint32.call(void 0, 0, this);
|
|
2219
2219
|
}
|
|
2220
2220
|
get _isProvide() {
|
|
2221
|
-
return
|
|
2221
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 4, this) === 3;
|
|
2222
2222
|
}
|
|
2223
2223
|
set provide(value) {
|
|
2224
|
-
|
|
2225
|
-
|
|
2224
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 4, 3, this);
|
|
2225
|
+
_chunkIVTBYMMNcjs.setUint32.call(void 0, 0, value, this);
|
|
2226
2226
|
}
|
|
2227
2227
|
toString() {
|
|
2228
2228
|
return "Disembargo_Context_" + super.toString();
|
|
2229
2229
|
}
|
|
2230
2230
|
which() {
|
|
2231
|
-
return
|
|
2231
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 4, this);
|
|
2232
2232
|
}
|
|
2233
2233
|
}, _class13.__initStatic40(), _class13.__initStatic41(), _class13.__initStatic42(), _class13.__initStatic43(), _class13.__initStatic44(), _class13);
|
|
2234
|
-
var Disembargo = (_class14 = class extends
|
|
2234
|
+
var Disembargo = (_class14 = class extends _chunkIVTBYMMNcjs.Struct {
|
|
2235
2235
|
static {
|
|
2236
|
-
|
|
2236
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "Disembargo");
|
|
2237
2237
|
}
|
|
2238
2238
|
static __initStatic45() {this._capnp = {
|
|
2239
2239
|
displayName: "Disembargo",
|
|
2240
2240
|
id: "f964368b0fbd3711",
|
|
2241
|
-
size: new (0,
|
|
2241
|
+
size: new (0, _chunkIVTBYMMNcjs.ObjectSize)(8, 1)
|
|
2242
2242
|
}}
|
|
2243
2243
|
_adoptTarget(value) {
|
|
2244
|
-
|
|
2244
|
+
_chunkIVTBYMMNcjs.adopt.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
2245
2245
|
}
|
|
2246
2246
|
_disownTarget() {
|
|
2247
|
-
return
|
|
2247
|
+
return _chunkIVTBYMMNcjs.disown.call(void 0, this.target);
|
|
2248
2248
|
}
|
|
2249
2249
|
/**
|
|
2250
2250
|
* What is to be disembargoed.
|
|
2251
2251
|
*
|
|
2252
2252
|
*/
|
|
2253
2253
|
get target() {
|
|
2254
|
-
return
|
|
2254
|
+
return _chunkIVTBYMMNcjs.getStruct.call(void 0, 0, MessageTarget, this);
|
|
2255
2255
|
}
|
|
2256
2256
|
_hasTarget() {
|
|
2257
|
-
return !
|
|
2257
|
+
return !_chunkIVTBYMMNcjs.isNull.call(void 0, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
2258
2258
|
}
|
|
2259
2259
|
_initTarget() {
|
|
2260
|
-
return
|
|
2260
|
+
return _chunkIVTBYMMNcjs.initStructAt.call(void 0, 0, MessageTarget, this);
|
|
2261
2261
|
}
|
|
2262
2262
|
set target(value) {
|
|
2263
|
-
|
|
2263
|
+
_chunkIVTBYMMNcjs.copyFrom.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
2264
2264
|
}
|
|
2265
2265
|
get context() {
|
|
2266
|
-
return
|
|
2266
|
+
return _chunkIVTBYMMNcjs.getAs.call(void 0, Disembargo_Context, this);
|
|
2267
2267
|
}
|
|
2268
2268
|
_initContext() {
|
|
2269
|
-
return
|
|
2269
|
+
return _chunkIVTBYMMNcjs.getAs.call(void 0, Disembargo_Context, this);
|
|
2270
2270
|
}
|
|
2271
2271
|
toString() {
|
|
2272
2272
|
return "Disembargo_" + super.toString();
|
|
2273
2273
|
}
|
|
2274
2274
|
}, _class14.__initStatic45(), _class14);
|
|
2275
|
-
var Provide = (_class15 = class extends
|
|
2275
|
+
var Provide = (_class15 = class extends _chunkIVTBYMMNcjs.Struct {
|
|
2276
2276
|
static {
|
|
2277
|
-
|
|
2277
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "Provide");
|
|
2278
2278
|
}
|
|
2279
2279
|
static __initStatic46() {this._capnp = {
|
|
2280
2280
|
displayName: "Provide",
|
|
2281
2281
|
id: "9c6a046bfbc1ac5a",
|
|
2282
|
-
size: new (0,
|
|
2282
|
+
size: new (0, _chunkIVTBYMMNcjs.ObjectSize)(8, 2)
|
|
2283
2283
|
}}
|
|
2284
2284
|
/**
|
|
2285
2285
|
* Question ID to be held open until the recipient has received the capability. A result will be
|
|
@@ -2289,64 +2289,64 @@ var Provide = (_class15 = class extends _chunkC6LZ6PNUcjs.Struct {
|
|
|
2289
2289
|
*
|
|
2290
2290
|
*/
|
|
2291
2291
|
get questionId() {
|
|
2292
|
-
return
|
|
2292
|
+
return _chunkIVTBYMMNcjs.getUint32.call(void 0, 0, this);
|
|
2293
2293
|
}
|
|
2294
2294
|
set questionId(value) {
|
|
2295
|
-
|
|
2295
|
+
_chunkIVTBYMMNcjs.setUint32.call(void 0, 0, value, this);
|
|
2296
2296
|
}
|
|
2297
2297
|
_adoptTarget(value) {
|
|
2298
|
-
|
|
2298
|
+
_chunkIVTBYMMNcjs.adopt.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
2299
2299
|
}
|
|
2300
2300
|
_disownTarget() {
|
|
2301
|
-
return
|
|
2301
|
+
return _chunkIVTBYMMNcjs.disown.call(void 0, this.target);
|
|
2302
2302
|
}
|
|
2303
2303
|
/**
|
|
2304
2304
|
* What is to be provided to the third party.
|
|
2305
2305
|
*
|
|
2306
2306
|
*/
|
|
2307
2307
|
get target() {
|
|
2308
|
-
return
|
|
2308
|
+
return _chunkIVTBYMMNcjs.getStruct.call(void 0, 0, MessageTarget, this);
|
|
2309
2309
|
}
|
|
2310
2310
|
_hasTarget() {
|
|
2311
|
-
return !
|
|
2311
|
+
return !_chunkIVTBYMMNcjs.isNull.call(void 0, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
2312
2312
|
}
|
|
2313
2313
|
_initTarget() {
|
|
2314
|
-
return
|
|
2314
|
+
return _chunkIVTBYMMNcjs.initStructAt.call(void 0, 0, MessageTarget, this);
|
|
2315
2315
|
}
|
|
2316
2316
|
set target(value) {
|
|
2317
|
-
|
|
2317
|
+
_chunkIVTBYMMNcjs.copyFrom.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
2318
2318
|
}
|
|
2319
2319
|
_adoptRecipient(value) {
|
|
2320
|
-
|
|
2320
|
+
_chunkIVTBYMMNcjs.adopt.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 1, this));
|
|
2321
2321
|
}
|
|
2322
2322
|
_disownRecipient() {
|
|
2323
|
-
return
|
|
2323
|
+
return _chunkIVTBYMMNcjs.disown.call(void 0, this.recipient);
|
|
2324
2324
|
}
|
|
2325
2325
|
/**
|
|
2326
2326
|
* Identity of the third party that is expected to pick up the capability.
|
|
2327
2327
|
*
|
|
2328
2328
|
*/
|
|
2329
2329
|
get recipient() {
|
|
2330
|
-
return
|
|
2330
|
+
return _chunkIVTBYMMNcjs.getPointer.call(void 0, 1, this);
|
|
2331
2331
|
}
|
|
2332
2332
|
_hasRecipient() {
|
|
2333
|
-
return !
|
|
2333
|
+
return !_chunkIVTBYMMNcjs.isNull.call(void 0, _chunkIVTBYMMNcjs.getPointer.call(void 0, 1, this));
|
|
2334
2334
|
}
|
|
2335
2335
|
set recipient(value) {
|
|
2336
|
-
|
|
2336
|
+
_chunkIVTBYMMNcjs.copyFrom.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 1, this));
|
|
2337
2337
|
}
|
|
2338
2338
|
toString() {
|
|
2339
2339
|
return "Provide_" + super.toString();
|
|
2340
2340
|
}
|
|
2341
2341
|
}, _class15.__initStatic46(), _class15);
|
|
2342
|
-
var Accept = (_class16 = class extends
|
|
2342
|
+
var Accept = (_class16 = class extends _chunkIVTBYMMNcjs.Struct {
|
|
2343
2343
|
static {
|
|
2344
|
-
|
|
2344
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "Accept");
|
|
2345
2345
|
}
|
|
2346
2346
|
static __initStatic47() {this._capnp = {
|
|
2347
2347
|
displayName: "Accept",
|
|
2348
2348
|
id: "d4c9b56290554016",
|
|
2349
|
-
size: new (0,
|
|
2349
|
+
size: new (0, _chunkIVTBYMMNcjs.ObjectSize)(8, 1)
|
|
2350
2350
|
}}
|
|
2351
2351
|
/**
|
|
2352
2352
|
* A new question ID identifying this accept message, which will eventually receive a Return
|
|
@@ -2355,29 +2355,29 @@ var Accept = (_class16 = class extends _chunkC6LZ6PNUcjs.Struct {
|
|
|
2355
2355
|
*
|
|
2356
2356
|
*/
|
|
2357
2357
|
get questionId() {
|
|
2358
|
-
return
|
|
2358
|
+
return _chunkIVTBYMMNcjs.getUint32.call(void 0, 0, this);
|
|
2359
2359
|
}
|
|
2360
2360
|
set questionId(value) {
|
|
2361
|
-
|
|
2361
|
+
_chunkIVTBYMMNcjs.setUint32.call(void 0, 0, value, this);
|
|
2362
2362
|
}
|
|
2363
2363
|
_adoptProvision(value) {
|
|
2364
|
-
|
|
2364
|
+
_chunkIVTBYMMNcjs.adopt.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
2365
2365
|
}
|
|
2366
2366
|
_disownProvision() {
|
|
2367
|
-
return
|
|
2367
|
+
return _chunkIVTBYMMNcjs.disown.call(void 0, this.provision);
|
|
2368
2368
|
}
|
|
2369
2369
|
/**
|
|
2370
2370
|
* Identifies the provided object to be picked up.
|
|
2371
2371
|
*
|
|
2372
2372
|
*/
|
|
2373
2373
|
get provision() {
|
|
2374
|
-
return
|
|
2374
|
+
return _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this);
|
|
2375
2375
|
}
|
|
2376
2376
|
_hasProvision() {
|
|
2377
|
-
return !
|
|
2377
|
+
return !_chunkIVTBYMMNcjs.isNull.call(void 0, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
2378
2378
|
}
|
|
2379
2379
|
set provision(value) {
|
|
2380
|
-
|
|
2380
|
+
_chunkIVTBYMMNcjs.copyFrom.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
2381
2381
|
}
|
|
2382
2382
|
/**
|
|
2383
2383
|
* If true, this accept shall be temporarily embargoed. The resulting `Return` will not be sent,
|
|
@@ -2415,23 +2415,23 @@ var Accept = (_class16 = class extends _chunkC6LZ6PNUcjs.Struct {
|
|
|
2415
2415
|
*
|
|
2416
2416
|
*/
|
|
2417
2417
|
get embargo() {
|
|
2418
|
-
return
|
|
2418
|
+
return _chunkIVTBYMMNcjs.getBit.call(void 0, 32, this);
|
|
2419
2419
|
}
|
|
2420
2420
|
set embargo(value) {
|
|
2421
|
-
|
|
2421
|
+
_chunkIVTBYMMNcjs.setBit.call(void 0, 32, value, this);
|
|
2422
2422
|
}
|
|
2423
2423
|
toString() {
|
|
2424
2424
|
return "Accept_" + super.toString();
|
|
2425
2425
|
}
|
|
2426
2426
|
}, _class16.__initStatic47(), _class16);
|
|
2427
|
-
var Join = (_class17 = class extends
|
|
2427
|
+
var Join = (_class17 = class extends _chunkIVTBYMMNcjs.Struct {
|
|
2428
2428
|
static {
|
|
2429
|
-
|
|
2429
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "Join");
|
|
2430
2430
|
}
|
|
2431
2431
|
static __initStatic48() {this._capnp = {
|
|
2432
2432
|
displayName: "Join",
|
|
2433
2433
|
id: "fbe1980490e001af",
|
|
2434
|
-
size: new (0,
|
|
2434
|
+
size: new (0, _chunkIVTBYMMNcjs.ObjectSize)(8, 2)
|
|
2435
2435
|
}}
|
|
2436
2436
|
/**
|
|
2437
2437
|
* Question ID used to respond to this Join. (Note that this ID only identifies one part of the
|
|
@@ -2452,38 +2452,38 @@ var Join = (_class17 = class extends _chunkC6LZ6PNUcjs.Struct {
|
|
|
2452
2452
|
*
|
|
2453
2453
|
*/
|
|
2454
2454
|
get questionId() {
|
|
2455
|
-
return
|
|
2455
|
+
return _chunkIVTBYMMNcjs.getUint32.call(void 0, 0, this);
|
|
2456
2456
|
}
|
|
2457
2457
|
set questionId(value) {
|
|
2458
|
-
|
|
2458
|
+
_chunkIVTBYMMNcjs.setUint32.call(void 0, 0, value, this);
|
|
2459
2459
|
}
|
|
2460
2460
|
_adoptTarget(value) {
|
|
2461
|
-
|
|
2461
|
+
_chunkIVTBYMMNcjs.adopt.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
2462
2462
|
}
|
|
2463
2463
|
_disownTarget() {
|
|
2464
|
-
return
|
|
2464
|
+
return _chunkIVTBYMMNcjs.disown.call(void 0, this.target);
|
|
2465
2465
|
}
|
|
2466
2466
|
/**
|
|
2467
2467
|
* The capability to join.
|
|
2468
2468
|
*
|
|
2469
2469
|
*/
|
|
2470
2470
|
get target() {
|
|
2471
|
-
return
|
|
2471
|
+
return _chunkIVTBYMMNcjs.getStruct.call(void 0, 0, MessageTarget, this);
|
|
2472
2472
|
}
|
|
2473
2473
|
_hasTarget() {
|
|
2474
|
-
return !
|
|
2474
|
+
return !_chunkIVTBYMMNcjs.isNull.call(void 0, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
2475
2475
|
}
|
|
2476
2476
|
_initTarget() {
|
|
2477
|
-
return
|
|
2477
|
+
return _chunkIVTBYMMNcjs.initStructAt.call(void 0, 0, MessageTarget, this);
|
|
2478
2478
|
}
|
|
2479
2479
|
set target(value) {
|
|
2480
|
-
|
|
2480
|
+
_chunkIVTBYMMNcjs.copyFrom.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
2481
2481
|
}
|
|
2482
2482
|
_adoptKeyPart(value) {
|
|
2483
|
-
|
|
2483
|
+
_chunkIVTBYMMNcjs.adopt.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 1, this));
|
|
2484
2484
|
}
|
|
2485
2485
|
_disownKeyPart() {
|
|
2486
|
-
return
|
|
2486
|
+
return _chunkIVTBYMMNcjs.disown.call(void 0, this.keyPart);
|
|
2487
2487
|
}
|
|
2488
2488
|
/**
|
|
2489
2489
|
* A part of the join key. These combine to form the complete join key, which is used to establish
|
|
@@ -2491,13 +2491,13 @@ var Join = (_class17 = class extends _chunkC6LZ6PNUcjs.Struct {
|
|
|
2491
2491
|
*
|
|
2492
2492
|
*/
|
|
2493
2493
|
get keyPart() {
|
|
2494
|
-
return
|
|
2494
|
+
return _chunkIVTBYMMNcjs.getPointer.call(void 0, 1, this);
|
|
2495
2495
|
}
|
|
2496
2496
|
_hasKeyPart() {
|
|
2497
|
-
return !
|
|
2497
|
+
return !_chunkIVTBYMMNcjs.isNull.call(void 0, _chunkIVTBYMMNcjs.getPointer.call(void 0, 1, this));
|
|
2498
2498
|
}
|
|
2499
2499
|
set keyPart(value) {
|
|
2500
|
-
|
|
2500
|
+
_chunkIVTBYMMNcjs.copyFrom.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 1, this));
|
|
2501
2501
|
}
|
|
2502
2502
|
toString() {
|
|
2503
2503
|
return "Join_" + super.toString();
|
|
@@ -2520,16 +2520,16 @@ var MessageTarget_Which = {
|
|
|
2520
2520
|
*/
|
|
2521
2521
|
PROMISED_ANSWER: 1
|
|
2522
2522
|
};
|
|
2523
|
-
var MessageTarget = (_class18 = class extends
|
|
2523
|
+
var MessageTarget = (_class18 = class extends _chunkIVTBYMMNcjs.Struct {
|
|
2524
2524
|
static {
|
|
2525
|
-
|
|
2525
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "MessageTarget");
|
|
2526
2526
|
}
|
|
2527
2527
|
static __initStatic49() {this.IMPORTED_CAP = MessageTarget_Which.IMPORTED_CAP}
|
|
2528
2528
|
static __initStatic50() {this.PROMISED_ANSWER = MessageTarget_Which.PROMISED_ANSWER}
|
|
2529
2529
|
static __initStatic51() {this._capnp = {
|
|
2530
2530
|
displayName: "MessageTarget",
|
|
2531
2531
|
id: "95bc14545813fbc1",
|
|
2532
|
-
size: new (0,
|
|
2532
|
+
size: new (0, _chunkIVTBYMMNcjs.ObjectSize)(8, 1)
|
|
2533
2533
|
}}
|
|
2534
2534
|
/**
|
|
2535
2535
|
* This message is to a capability or promise previously imported by the caller (exported by
|
|
@@ -2537,22 +2537,22 @@ var MessageTarget = (_class18 = class extends _chunkC6LZ6PNUcjs.Struct {
|
|
|
2537
2537
|
*
|
|
2538
2538
|
*/
|
|
2539
2539
|
get importedCap() {
|
|
2540
|
-
|
|
2541
|
-
return
|
|
2540
|
+
_chunkIVTBYMMNcjs.testWhich.call(void 0, "importedCap", _chunkIVTBYMMNcjs.getUint16.call(void 0, 4, this), 0, this);
|
|
2541
|
+
return _chunkIVTBYMMNcjs.getUint32.call(void 0, 0, this);
|
|
2542
2542
|
}
|
|
2543
2543
|
get _isImportedCap() {
|
|
2544
|
-
return
|
|
2544
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 4, this) === 0;
|
|
2545
2545
|
}
|
|
2546
2546
|
set importedCap(value) {
|
|
2547
|
-
|
|
2548
|
-
|
|
2547
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 4, 0, this);
|
|
2548
|
+
_chunkIVTBYMMNcjs.setUint32.call(void 0, 0, value, this);
|
|
2549
2549
|
}
|
|
2550
2550
|
_adoptPromisedAnswer(value) {
|
|
2551
|
-
|
|
2552
|
-
|
|
2551
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 4, 1, this);
|
|
2552
|
+
_chunkIVTBYMMNcjs.adopt.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
2553
2553
|
}
|
|
2554
2554
|
_disownPromisedAnswer() {
|
|
2555
|
-
return
|
|
2555
|
+
return _chunkIVTBYMMNcjs.disown.call(void 0, this.promisedAnswer);
|
|
2556
2556
|
}
|
|
2557
2557
|
/**
|
|
2558
2558
|
* This message is to a capability that is expected to be returned by another call that has not
|
|
@@ -2563,45 +2563,45 @@ var MessageTarget = (_class18 = class extends _chunkC6LZ6PNUcjs.Struct {
|
|
|
2563
2563
|
*
|
|
2564
2564
|
*/
|
|
2565
2565
|
get promisedAnswer() {
|
|
2566
|
-
|
|
2567
|
-
return
|
|
2566
|
+
_chunkIVTBYMMNcjs.testWhich.call(void 0, "promisedAnswer", _chunkIVTBYMMNcjs.getUint16.call(void 0, 4, this), 1, this);
|
|
2567
|
+
return _chunkIVTBYMMNcjs.getStruct.call(void 0, 0, PromisedAnswer, this);
|
|
2568
2568
|
}
|
|
2569
2569
|
_hasPromisedAnswer() {
|
|
2570
|
-
return !
|
|
2570
|
+
return !_chunkIVTBYMMNcjs.isNull.call(void 0, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
2571
2571
|
}
|
|
2572
2572
|
_initPromisedAnswer() {
|
|
2573
|
-
|
|
2574
|
-
return
|
|
2573
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 4, 1, this);
|
|
2574
|
+
return _chunkIVTBYMMNcjs.initStructAt.call(void 0, 0, PromisedAnswer, this);
|
|
2575
2575
|
}
|
|
2576
2576
|
get _isPromisedAnswer() {
|
|
2577
|
-
return
|
|
2577
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 4, this) === 1;
|
|
2578
2578
|
}
|
|
2579
2579
|
set promisedAnswer(value) {
|
|
2580
|
-
|
|
2581
|
-
|
|
2580
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 4, 1, this);
|
|
2581
|
+
_chunkIVTBYMMNcjs.copyFrom.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
2582
2582
|
}
|
|
2583
2583
|
toString() {
|
|
2584
2584
|
return "MessageTarget_" + super.toString();
|
|
2585
2585
|
}
|
|
2586
2586
|
which() {
|
|
2587
|
-
return
|
|
2587
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 4, this);
|
|
2588
2588
|
}
|
|
2589
2589
|
}, _class18.__initStatic49(), _class18.__initStatic50(), _class18.__initStatic51(), _class18);
|
|
2590
|
-
var Payload = (_class19 = class _Payload extends
|
|
2590
|
+
var Payload = (_class19 = class _Payload extends _chunkIVTBYMMNcjs.Struct {
|
|
2591
2591
|
static {
|
|
2592
|
-
|
|
2592
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "Payload");
|
|
2593
2593
|
}
|
|
2594
2594
|
static __initStatic52() {this._capnp = {
|
|
2595
2595
|
displayName: "Payload",
|
|
2596
2596
|
id: "9a0e61223d96743b",
|
|
2597
|
-
size: new (0,
|
|
2597
|
+
size: new (0, _chunkIVTBYMMNcjs.ObjectSize)(0, 2)
|
|
2598
2598
|
}}
|
|
2599
2599
|
|
|
2600
2600
|
_adoptContent(value) {
|
|
2601
|
-
|
|
2601
|
+
_chunkIVTBYMMNcjs.adopt.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
2602
2602
|
}
|
|
2603
2603
|
_disownContent() {
|
|
2604
|
-
return
|
|
2604
|
+
return _chunkIVTBYMMNcjs.disown.call(void 0, this.content);
|
|
2605
2605
|
}
|
|
2606
2606
|
/**
|
|
2607
2607
|
* Some Cap'n Proto data structure. Capability pointers embedded in this structure index into
|
|
@@ -2609,35 +2609,35 @@ var Payload = (_class19 = class _Payload extends _chunkC6LZ6PNUcjs.Struct {
|
|
|
2609
2609
|
*
|
|
2610
2610
|
*/
|
|
2611
2611
|
get content() {
|
|
2612
|
-
return
|
|
2612
|
+
return _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this);
|
|
2613
2613
|
}
|
|
2614
2614
|
_hasContent() {
|
|
2615
|
-
return !
|
|
2615
|
+
return !_chunkIVTBYMMNcjs.isNull.call(void 0, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
2616
2616
|
}
|
|
2617
2617
|
set content(value) {
|
|
2618
|
-
|
|
2618
|
+
_chunkIVTBYMMNcjs.copyFrom.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
2619
2619
|
}
|
|
2620
2620
|
_adoptCapTable(value) {
|
|
2621
|
-
|
|
2621
|
+
_chunkIVTBYMMNcjs.adopt.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 1, this));
|
|
2622
2622
|
}
|
|
2623
2623
|
_disownCapTable() {
|
|
2624
|
-
return
|
|
2624
|
+
return _chunkIVTBYMMNcjs.disown.call(void 0, this.capTable);
|
|
2625
2625
|
}
|
|
2626
2626
|
/**
|
|
2627
2627
|
* Descriptors corresponding to the cap pointers in `content`.
|
|
2628
2628
|
*
|
|
2629
2629
|
*/
|
|
2630
2630
|
get capTable() {
|
|
2631
|
-
return
|
|
2631
|
+
return _chunkIVTBYMMNcjs.getList.call(void 0, 1, _Payload._CapTable, this);
|
|
2632
2632
|
}
|
|
2633
2633
|
_hasCapTable() {
|
|
2634
|
-
return !
|
|
2634
|
+
return !_chunkIVTBYMMNcjs.isNull.call(void 0, _chunkIVTBYMMNcjs.getPointer.call(void 0, 1, this));
|
|
2635
2635
|
}
|
|
2636
2636
|
_initCapTable(length) {
|
|
2637
|
-
return
|
|
2637
|
+
return _chunkIVTBYMMNcjs.initList.call(void 0, 1, _Payload._CapTable, length, this);
|
|
2638
2638
|
}
|
|
2639
2639
|
set capTable(value) {
|
|
2640
|
-
|
|
2640
|
+
_chunkIVTBYMMNcjs.copyFrom.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 1, this));
|
|
2641
2641
|
}
|
|
2642
2642
|
toString() {
|
|
2643
2643
|
return "Payload_" + super.toString();
|
|
@@ -2692,9 +2692,9 @@ var CapDescriptor_Which = {
|
|
|
2692
2692
|
*/
|
|
2693
2693
|
THIRD_PARTY_HOSTED: 5
|
|
2694
2694
|
};
|
|
2695
|
-
var CapDescriptor = (_class20 = class _CapDescriptor extends
|
|
2695
|
+
var CapDescriptor = (_class20 = class _CapDescriptor extends _chunkIVTBYMMNcjs.Struct {
|
|
2696
2696
|
static {
|
|
2697
|
-
|
|
2697
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "CapDescriptor");
|
|
2698
2698
|
}
|
|
2699
2699
|
static __initStatic53() {this.NONE = CapDescriptor_Which.NONE}
|
|
2700
2700
|
static __initStatic54() {this.SENDER_HOSTED = CapDescriptor_Which.SENDER_HOSTED}
|
|
@@ -2705,14 +2705,14 @@ var CapDescriptor = (_class20 = class _CapDescriptor extends _chunkC6LZ6PNUcjs.S
|
|
|
2705
2705
|
static __initStatic59() {this._capnp = {
|
|
2706
2706
|
displayName: "CapDescriptor",
|
|
2707
2707
|
id: "8523ddc40b86b8b0",
|
|
2708
|
-
size: new (0,
|
|
2709
|
-
defaultAttachedFd:
|
|
2708
|
+
size: new (0, _chunkIVTBYMMNcjs.ObjectSize)(8, 1),
|
|
2709
|
+
defaultAttachedFd: _chunkIVTBYMMNcjs.getUint8Mask.call(void 0, 255)
|
|
2710
2710
|
}}
|
|
2711
2711
|
get _isNone() {
|
|
2712
|
-
return
|
|
2712
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this) === 0;
|
|
2713
2713
|
}
|
|
2714
2714
|
set none(_) {
|
|
2715
|
-
|
|
2715
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 0, this);
|
|
2716
2716
|
}
|
|
2717
2717
|
/**
|
|
2718
2718
|
* The ID of a capability in the sender's export table (receiver's import table). It may be a
|
|
@@ -2720,15 +2720,15 @@ var CapDescriptor = (_class20 = class _CapDescriptor extends _chunkC6LZ6PNUcjs.S
|
|
|
2720
2720
|
*
|
|
2721
2721
|
*/
|
|
2722
2722
|
get senderHosted() {
|
|
2723
|
-
|
|
2724
|
-
return
|
|
2723
|
+
_chunkIVTBYMMNcjs.testWhich.call(void 0, "senderHosted", _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this), 1, this);
|
|
2724
|
+
return _chunkIVTBYMMNcjs.getUint32.call(void 0, 4, this);
|
|
2725
2725
|
}
|
|
2726
2726
|
get _isSenderHosted() {
|
|
2727
|
-
return
|
|
2727
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this) === 1;
|
|
2728
2728
|
}
|
|
2729
2729
|
set senderHosted(value) {
|
|
2730
|
-
|
|
2731
|
-
|
|
2730
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 1, this);
|
|
2731
|
+
_chunkIVTBYMMNcjs.setUint32.call(void 0, 4, value, this);
|
|
2732
2732
|
}
|
|
2733
2733
|
/**
|
|
2734
2734
|
* A promise that the sender will resolve later. The sender will send exactly one Resolve
|
|
@@ -2739,37 +2739,37 @@ var CapDescriptor = (_class20 = class _CapDescriptor extends _chunkC6LZ6PNUcjs.S
|
|
|
2739
2739
|
*
|
|
2740
2740
|
*/
|
|
2741
2741
|
get senderPromise() {
|
|
2742
|
-
|
|
2743
|
-
return
|
|
2742
|
+
_chunkIVTBYMMNcjs.testWhich.call(void 0, "senderPromise", _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this), 2, this);
|
|
2743
|
+
return _chunkIVTBYMMNcjs.getUint32.call(void 0, 4, this);
|
|
2744
2744
|
}
|
|
2745
2745
|
get _isSenderPromise() {
|
|
2746
|
-
return
|
|
2746
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this) === 2;
|
|
2747
2747
|
}
|
|
2748
2748
|
set senderPromise(value) {
|
|
2749
|
-
|
|
2750
|
-
|
|
2749
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 2, this);
|
|
2750
|
+
_chunkIVTBYMMNcjs.setUint32.call(void 0, 4, value, this);
|
|
2751
2751
|
}
|
|
2752
2752
|
/**
|
|
2753
2753
|
* A capability (or promise) previously exported by the receiver (imported by the sender).
|
|
2754
2754
|
*
|
|
2755
2755
|
*/
|
|
2756
2756
|
get receiverHosted() {
|
|
2757
|
-
|
|
2758
|
-
return
|
|
2757
|
+
_chunkIVTBYMMNcjs.testWhich.call(void 0, "receiverHosted", _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this), 3, this);
|
|
2758
|
+
return _chunkIVTBYMMNcjs.getUint32.call(void 0, 4, this);
|
|
2759
2759
|
}
|
|
2760
2760
|
get _isReceiverHosted() {
|
|
2761
|
-
return
|
|
2761
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this) === 3;
|
|
2762
2762
|
}
|
|
2763
2763
|
set receiverHosted(value) {
|
|
2764
|
-
|
|
2765
|
-
|
|
2764
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 3, this);
|
|
2765
|
+
_chunkIVTBYMMNcjs.setUint32.call(void 0, 4, value, this);
|
|
2766
2766
|
}
|
|
2767
2767
|
_adoptReceiverAnswer(value) {
|
|
2768
|
-
|
|
2769
|
-
|
|
2768
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 4, this);
|
|
2769
|
+
_chunkIVTBYMMNcjs.adopt.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
2770
2770
|
}
|
|
2771
2771
|
_disownReceiverAnswer() {
|
|
2772
|
-
return
|
|
2772
|
+
return _chunkIVTBYMMNcjs.disown.call(void 0, this.receiverAnswer);
|
|
2773
2773
|
}
|
|
2774
2774
|
/**
|
|
2775
2775
|
* A capability expected to be returned in the results of a currently-outstanding call posed
|
|
@@ -2777,29 +2777,29 @@ var CapDescriptor = (_class20 = class _CapDescriptor extends _chunkC6LZ6PNUcjs.S
|
|
|
2777
2777
|
*
|
|
2778
2778
|
*/
|
|
2779
2779
|
get receiverAnswer() {
|
|
2780
|
-
|
|
2781
|
-
return
|
|
2780
|
+
_chunkIVTBYMMNcjs.testWhich.call(void 0, "receiverAnswer", _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this), 4, this);
|
|
2781
|
+
return _chunkIVTBYMMNcjs.getStruct.call(void 0, 0, PromisedAnswer, this);
|
|
2782
2782
|
}
|
|
2783
2783
|
_hasReceiverAnswer() {
|
|
2784
|
-
return !
|
|
2784
|
+
return !_chunkIVTBYMMNcjs.isNull.call(void 0, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
2785
2785
|
}
|
|
2786
2786
|
_initReceiverAnswer() {
|
|
2787
|
-
|
|
2788
|
-
return
|
|
2787
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 4, this);
|
|
2788
|
+
return _chunkIVTBYMMNcjs.initStructAt.call(void 0, 0, PromisedAnswer, this);
|
|
2789
2789
|
}
|
|
2790
2790
|
get _isReceiverAnswer() {
|
|
2791
|
-
return
|
|
2791
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this) === 4;
|
|
2792
2792
|
}
|
|
2793
2793
|
set receiverAnswer(value) {
|
|
2794
|
-
|
|
2795
|
-
|
|
2794
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 4, this);
|
|
2795
|
+
_chunkIVTBYMMNcjs.copyFrom.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
2796
2796
|
}
|
|
2797
2797
|
_adoptThirdPartyHosted(value) {
|
|
2798
|
-
|
|
2799
|
-
|
|
2798
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 5, this);
|
|
2799
|
+
_chunkIVTBYMMNcjs.adopt.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
2800
2800
|
}
|
|
2801
2801
|
_disownThirdPartyHosted() {
|
|
2802
|
-
return
|
|
2802
|
+
return _chunkIVTBYMMNcjs.disown.call(void 0, this.thirdPartyHosted);
|
|
2803
2803
|
}
|
|
2804
2804
|
/**
|
|
2805
2805
|
* **(level 3)**
|
|
@@ -2812,22 +2812,22 @@ var CapDescriptor = (_class20 = class _CapDescriptor extends _chunkC6LZ6PNUcjs.S
|
|
|
2812
2812
|
*
|
|
2813
2813
|
*/
|
|
2814
2814
|
get thirdPartyHosted() {
|
|
2815
|
-
|
|
2816
|
-
return
|
|
2815
|
+
_chunkIVTBYMMNcjs.testWhich.call(void 0, "thirdPartyHosted", _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this), 5, this);
|
|
2816
|
+
return _chunkIVTBYMMNcjs.getStruct.call(void 0, 0, ThirdPartyCapDescriptor, this);
|
|
2817
2817
|
}
|
|
2818
2818
|
_hasThirdPartyHosted() {
|
|
2819
|
-
return !
|
|
2819
|
+
return !_chunkIVTBYMMNcjs.isNull.call(void 0, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
2820
2820
|
}
|
|
2821
2821
|
_initThirdPartyHosted() {
|
|
2822
|
-
|
|
2823
|
-
return
|
|
2822
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 5, this);
|
|
2823
|
+
return _chunkIVTBYMMNcjs.initStructAt.call(void 0, 0, ThirdPartyCapDescriptor, this);
|
|
2824
2824
|
}
|
|
2825
2825
|
get _isThirdPartyHosted() {
|
|
2826
|
-
return
|
|
2826
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this) === 5;
|
|
2827
2827
|
}
|
|
2828
2828
|
set thirdPartyHosted(value) {
|
|
2829
|
-
|
|
2830
|
-
|
|
2829
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 5, this);
|
|
2830
|
+
_chunkIVTBYMMNcjs.copyFrom.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
2831
2831
|
}
|
|
2832
2832
|
/**
|
|
2833
2833
|
* If the RPC message in which this CapDescriptor was delivered also had file descriptors
|
|
@@ -2888,16 +2888,16 @@ var CapDescriptor = (_class20 = class _CapDescriptor extends _chunkC6LZ6PNUcjs.S
|
|
|
2888
2888
|
*
|
|
2889
2889
|
*/
|
|
2890
2890
|
get attachedFd() {
|
|
2891
|
-
return
|
|
2891
|
+
return _chunkIVTBYMMNcjs.getUint8.call(void 0, 2, this, _CapDescriptor._capnp.defaultAttachedFd);
|
|
2892
2892
|
}
|
|
2893
2893
|
set attachedFd(value) {
|
|
2894
|
-
|
|
2894
|
+
_chunkIVTBYMMNcjs.setUint8.call(void 0, 2, value, this, _CapDescriptor._capnp.defaultAttachedFd);
|
|
2895
2895
|
}
|
|
2896
2896
|
toString() {
|
|
2897
2897
|
return "CapDescriptor_" + super.toString();
|
|
2898
2898
|
}
|
|
2899
2899
|
which() {
|
|
2900
|
-
return
|
|
2900
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this);
|
|
2901
2901
|
}
|
|
2902
2902
|
}, _class20.__initStatic53(), _class20.__initStatic54(), _class20.__initStatic55(), _class20.__initStatic56(), _class20.__initStatic57(), _class20.__initStatic58(), _class20.__initStatic59(), _class20);
|
|
2903
2903
|
var PromisedAnswer_Op_Which = {
|
|
@@ -2914,22 +2914,22 @@ var PromisedAnswer_Op_Which = {
|
|
|
2914
2914
|
*/
|
|
2915
2915
|
GET_POINTER_FIELD: 1
|
|
2916
2916
|
};
|
|
2917
|
-
var PromisedAnswer_Op = (_class21 = class extends
|
|
2917
|
+
var PromisedAnswer_Op = (_class21 = class extends _chunkIVTBYMMNcjs.Struct {
|
|
2918
2918
|
static {
|
|
2919
|
-
|
|
2919
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "PromisedAnswer_Op");
|
|
2920
2920
|
}
|
|
2921
2921
|
static __initStatic60() {this.NOOP = PromisedAnswer_Op_Which.NOOP}
|
|
2922
2922
|
static __initStatic61() {this.GET_POINTER_FIELD = PromisedAnswer_Op_Which.GET_POINTER_FIELD}
|
|
2923
2923
|
static __initStatic62() {this._capnp = {
|
|
2924
2924
|
displayName: "Op",
|
|
2925
2925
|
id: "f316944415569081",
|
|
2926
|
-
size: new (0,
|
|
2926
|
+
size: new (0, _chunkIVTBYMMNcjs.ObjectSize)(8, 0)
|
|
2927
2927
|
}}
|
|
2928
2928
|
get _isNoop() {
|
|
2929
|
-
return
|
|
2929
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this) === 0;
|
|
2930
2930
|
}
|
|
2931
2931
|
set noop(_) {
|
|
2932
|
-
|
|
2932
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 0, this);
|
|
2933
2933
|
}
|
|
2934
2934
|
/**
|
|
2935
2935
|
* Get a pointer field within a struct. The number is an index into the pointer section, NOT
|
|
@@ -2937,32 +2937,32 @@ var PromisedAnswer_Op = (_class21 = class extends _chunkC6LZ6PNUcjs.Struct {
|
|
|
2937
2937
|
*
|
|
2938
2938
|
*/
|
|
2939
2939
|
get getPointerField() {
|
|
2940
|
-
|
|
2941
|
-
return
|
|
2940
|
+
_chunkIVTBYMMNcjs.testWhich.call(void 0, "getPointerField", _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this), 1, this);
|
|
2941
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 2, this);
|
|
2942
2942
|
}
|
|
2943
2943
|
get _isGetPointerField() {
|
|
2944
|
-
return
|
|
2944
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this) === 1;
|
|
2945
2945
|
}
|
|
2946
2946
|
set getPointerField(value) {
|
|
2947
|
-
|
|
2948
|
-
|
|
2947
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 0, 1, this);
|
|
2948
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 2, value, this);
|
|
2949
2949
|
}
|
|
2950
2950
|
toString() {
|
|
2951
2951
|
return "PromisedAnswer_Op_" + super.toString();
|
|
2952
2952
|
}
|
|
2953
2953
|
which() {
|
|
2954
|
-
return
|
|
2954
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 0, this);
|
|
2955
2955
|
}
|
|
2956
2956
|
}, _class21.__initStatic60(), _class21.__initStatic61(), _class21.__initStatic62(), _class21);
|
|
2957
|
-
var PromisedAnswer = (_class22 = class _PromisedAnswer extends
|
|
2957
|
+
var PromisedAnswer = (_class22 = class _PromisedAnswer extends _chunkIVTBYMMNcjs.Struct {
|
|
2958
2958
|
static {
|
|
2959
|
-
|
|
2959
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "PromisedAnswer");
|
|
2960
2960
|
}
|
|
2961
2961
|
static __initStatic63() {this.Op = PromisedAnswer_Op}
|
|
2962
2962
|
static __initStatic64() {this._capnp = {
|
|
2963
2963
|
displayName: "PromisedAnswer",
|
|
2964
2964
|
id: "d800b1d6cd6f1ca0",
|
|
2965
|
-
size: new (0,
|
|
2965
|
+
size: new (0, _chunkIVTBYMMNcjs.ObjectSize)(8, 1)
|
|
2966
2966
|
}}
|
|
2967
2967
|
|
|
2968
2968
|
/**
|
|
@@ -2971,16 +2971,16 @@ var PromisedAnswer = (_class22 = class _PromisedAnswer extends _chunkC6LZ6PNUcjs
|
|
|
2971
2971
|
*
|
|
2972
2972
|
*/
|
|
2973
2973
|
get questionId() {
|
|
2974
|
-
return
|
|
2974
|
+
return _chunkIVTBYMMNcjs.getUint32.call(void 0, 0, this);
|
|
2975
2975
|
}
|
|
2976
2976
|
set questionId(value) {
|
|
2977
|
-
|
|
2977
|
+
_chunkIVTBYMMNcjs.setUint32.call(void 0, 0, value, this);
|
|
2978
2978
|
}
|
|
2979
2979
|
_adoptTransform(value) {
|
|
2980
|
-
|
|
2980
|
+
_chunkIVTBYMMNcjs.adopt.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
2981
2981
|
}
|
|
2982
2982
|
_disownTransform() {
|
|
2983
|
-
return
|
|
2983
|
+
return _chunkIVTBYMMNcjs.disown.call(void 0, this.transform);
|
|
2984
2984
|
}
|
|
2985
2985
|
/**
|
|
2986
2986
|
* Operations / transformations to apply to the result in order to get the capability actually
|
|
@@ -2989,48 +2989,48 @@ var PromisedAnswer = (_class22 = class _PromisedAnswer extends _chunkC6LZ6PNUcjs
|
|
|
2989
2989
|
*
|
|
2990
2990
|
*/
|
|
2991
2991
|
get transform() {
|
|
2992
|
-
return
|
|
2992
|
+
return _chunkIVTBYMMNcjs.getList.call(void 0, 0, _PromisedAnswer._Transform, this);
|
|
2993
2993
|
}
|
|
2994
2994
|
_hasTransform() {
|
|
2995
|
-
return !
|
|
2995
|
+
return !_chunkIVTBYMMNcjs.isNull.call(void 0, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
2996
2996
|
}
|
|
2997
2997
|
_initTransform(length) {
|
|
2998
|
-
return
|
|
2998
|
+
return _chunkIVTBYMMNcjs.initList.call(void 0, 0, _PromisedAnswer._Transform, length, this);
|
|
2999
2999
|
}
|
|
3000
3000
|
set transform(value) {
|
|
3001
|
-
|
|
3001
|
+
_chunkIVTBYMMNcjs.copyFrom.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
3002
3002
|
}
|
|
3003
3003
|
toString() {
|
|
3004
3004
|
return "PromisedAnswer_" + super.toString();
|
|
3005
3005
|
}
|
|
3006
3006
|
}, _class22.__initStatic63(), _class22.__initStatic64(), _class22);
|
|
3007
|
-
var ThirdPartyCapDescriptor = (_class23 = class extends
|
|
3007
|
+
var ThirdPartyCapDescriptor = (_class23 = class extends _chunkIVTBYMMNcjs.Struct {
|
|
3008
3008
|
static {
|
|
3009
|
-
|
|
3009
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "ThirdPartyCapDescriptor");
|
|
3010
3010
|
}
|
|
3011
3011
|
static __initStatic65() {this._capnp = {
|
|
3012
3012
|
displayName: "ThirdPartyCapDescriptor",
|
|
3013
3013
|
id: "d37007fde1f0027d",
|
|
3014
|
-
size: new (0,
|
|
3014
|
+
size: new (0, _chunkIVTBYMMNcjs.ObjectSize)(8, 1)
|
|
3015
3015
|
}}
|
|
3016
3016
|
_adoptId(value) {
|
|
3017
|
-
|
|
3017
|
+
_chunkIVTBYMMNcjs.adopt.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
3018
3018
|
}
|
|
3019
3019
|
_disownId() {
|
|
3020
|
-
return
|
|
3020
|
+
return _chunkIVTBYMMNcjs.disown.call(void 0, this.id);
|
|
3021
3021
|
}
|
|
3022
3022
|
/**
|
|
3023
3023
|
* Identifies the third-party host and the specific capability to accept from it.
|
|
3024
3024
|
*
|
|
3025
3025
|
*/
|
|
3026
3026
|
get id() {
|
|
3027
|
-
return
|
|
3027
|
+
return _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this);
|
|
3028
3028
|
}
|
|
3029
3029
|
_hasId() {
|
|
3030
|
-
return !
|
|
3030
|
+
return !_chunkIVTBYMMNcjs.isNull.call(void 0, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
3031
3031
|
}
|
|
3032
3032
|
set id(value) {
|
|
3033
|
-
|
|
3033
|
+
_chunkIVTBYMMNcjs.copyFrom.call(void 0, value, _chunkIVTBYMMNcjs.getPointer.call(void 0, 0, this));
|
|
3034
3034
|
}
|
|
3035
3035
|
/**
|
|
3036
3036
|
* A proxy for the third-party object exported by the sender. In CapTP terminology this is called
|
|
@@ -3050,10 +3050,10 @@ var ThirdPartyCapDescriptor = (_class23 = class extends _chunkC6LZ6PNUcjs.Struct
|
|
|
3050
3050
|
*
|
|
3051
3051
|
*/
|
|
3052
3052
|
get vineId() {
|
|
3053
|
-
return
|
|
3053
|
+
return _chunkIVTBYMMNcjs.getUint32.call(void 0, 0, this);
|
|
3054
3054
|
}
|
|
3055
3055
|
set vineId(value) {
|
|
3056
|
-
|
|
3056
|
+
_chunkIVTBYMMNcjs.setUint32.call(void 0, 0, value, this);
|
|
3057
3057
|
}
|
|
3058
3058
|
toString() {
|
|
3059
3059
|
return "ThirdPartyCapDescriptor_" + super.toString();
|
|
@@ -3117,25 +3117,25 @@ var Exception_Type = {
|
|
|
3117
3117
|
*/
|
|
3118
3118
|
UNIMPLEMENTED: 3
|
|
3119
3119
|
};
|
|
3120
|
-
var Exception = (_class24 = class extends
|
|
3120
|
+
var Exception = (_class24 = class extends _chunkIVTBYMMNcjs.Struct {
|
|
3121
3121
|
static {
|
|
3122
|
-
|
|
3122
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "Exception");
|
|
3123
3123
|
}
|
|
3124
3124
|
static __initStatic66() {this.Type = Exception_Type}
|
|
3125
3125
|
static __initStatic67() {this._capnp = {
|
|
3126
3126
|
displayName: "Exception",
|
|
3127
3127
|
id: "d625b7063acf691a",
|
|
3128
|
-
size: new (0,
|
|
3128
|
+
size: new (0, _chunkIVTBYMMNcjs.ObjectSize)(8, 2)
|
|
3129
3129
|
}}
|
|
3130
3130
|
/**
|
|
3131
3131
|
* Human-readable failure description.
|
|
3132
3132
|
*
|
|
3133
3133
|
*/
|
|
3134
3134
|
get reason() {
|
|
3135
|
-
return
|
|
3135
|
+
return _chunkIVTBYMMNcjs.getText.call(void 0, 0, this);
|
|
3136
3136
|
}
|
|
3137
3137
|
set reason(value) {
|
|
3138
|
-
|
|
3138
|
+
_chunkIVTBYMMNcjs.setText.call(void 0, 0, value, this);
|
|
3139
3139
|
}
|
|
3140
3140
|
/**
|
|
3141
3141
|
* The type of the error. The purpose of this enum is not to describe the error itself, but
|
|
@@ -3143,30 +3143,30 @@ var Exception = (_class24 = class extends _chunkC6LZ6PNUcjs.Struct {
|
|
|
3143
3143
|
*
|
|
3144
3144
|
*/
|
|
3145
3145
|
get type() {
|
|
3146
|
-
return
|
|
3146
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 4, this);
|
|
3147
3147
|
}
|
|
3148
3148
|
set type(value) {
|
|
3149
|
-
|
|
3149
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 4, value, this);
|
|
3150
3150
|
}
|
|
3151
3151
|
/**
|
|
3152
3152
|
* OBSOLETE. Ignore.
|
|
3153
3153
|
*
|
|
3154
3154
|
*/
|
|
3155
3155
|
get obsoleteIsCallersFault() {
|
|
3156
|
-
return
|
|
3156
|
+
return _chunkIVTBYMMNcjs.getBit.call(void 0, 0, this);
|
|
3157
3157
|
}
|
|
3158
3158
|
set obsoleteIsCallersFault(value) {
|
|
3159
|
-
|
|
3159
|
+
_chunkIVTBYMMNcjs.setBit.call(void 0, 0, value, this);
|
|
3160
3160
|
}
|
|
3161
3161
|
/**
|
|
3162
3162
|
* OBSOLETE. See `type` instead.
|
|
3163
3163
|
*
|
|
3164
3164
|
*/
|
|
3165
3165
|
get obsoleteDurability() {
|
|
3166
|
-
return
|
|
3166
|
+
return _chunkIVTBYMMNcjs.getUint16.call(void 0, 2, this);
|
|
3167
3167
|
}
|
|
3168
3168
|
set obsoleteDurability(value) {
|
|
3169
|
-
|
|
3169
|
+
_chunkIVTBYMMNcjs.setUint16.call(void 0, 2, value, this);
|
|
3170
3170
|
}
|
|
3171
3171
|
/**
|
|
3172
3172
|
* Stack trace text from the remote server. The format is not specified. By default,
|
|
@@ -3175,125 +3175,125 @@ var Exception = (_class24 = class extends _chunkC6LZ6PNUcjs.Struct {
|
|
|
3175
3175
|
*
|
|
3176
3176
|
*/
|
|
3177
3177
|
get trace() {
|
|
3178
|
-
return
|
|
3178
|
+
return _chunkIVTBYMMNcjs.getText.call(void 0, 1, this);
|
|
3179
3179
|
}
|
|
3180
3180
|
set trace(value) {
|
|
3181
|
-
|
|
3181
|
+
_chunkIVTBYMMNcjs.setText.call(void 0, 1, value, this);
|
|
3182
3182
|
}
|
|
3183
3183
|
toString() {
|
|
3184
3184
|
return "Exception_" + super.toString();
|
|
3185
3185
|
}
|
|
3186
3186
|
}, _class24.__initStatic66(), _class24.__initStatic67(), _class24);
|
|
3187
|
-
Payload._CapTable =
|
|
3188
|
-
PromisedAnswer._Transform =
|
|
3187
|
+
Payload._CapTable = _chunkIVTBYMMNcjs.CompositeList.call(void 0, CapDescriptor);
|
|
3188
|
+
PromisedAnswer._Transform = _chunkIVTBYMMNcjs.CompositeList.call(void 0, PromisedAnswer_Op);
|
|
3189
3189
|
|
|
3190
3190
|
// ../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash=53996ae63a1465953815fff49405f2224c85d26eeeff469d2b1f87e1c2af451d_typescript@5.8.3/node_modules/capnp-es/dist/index.mjs
|
|
3191
|
-
var Void = (_class25 = class extends
|
|
3191
|
+
var Void = (_class25 = class extends _chunkIVTBYMMNcjs.Struct {
|
|
3192
3192
|
static {
|
|
3193
|
-
|
|
3193
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "Void");
|
|
3194
3194
|
}
|
|
3195
3195
|
static __initStatic68() {this._capnp = {
|
|
3196
3196
|
displayName: "Void",
|
|
3197
3197
|
id: "0",
|
|
3198
|
-
size: new (0,
|
|
3198
|
+
size: new (0, _chunkIVTBYMMNcjs.ObjectSize)(0, 0)
|
|
3199
3199
|
}}
|
|
3200
3200
|
}, _class25.__initStatic68(), _class25);
|
|
3201
3201
|
var utils = {
|
|
3202
3202
|
__proto__: null,
|
|
3203
|
-
PointerAllocationResult:
|
|
3204
|
-
add:
|
|
3205
|
-
adopt:
|
|
3206
|
-
checkDataBounds:
|
|
3207
|
-
checkPointerBounds:
|
|
3208
|
-
copyFrom:
|
|
3209
|
-
copyFromInterface:
|
|
3210
|
-
copyFromList:
|
|
3211
|
-
copyFromStruct:
|
|
3212
|
-
disown:
|
|
3213
|
-
dump:
|
|
3214
|
-
erase:
|
|
3215
|
-
erasePointer:
|
|
3216
|
-
followFar:
|
|
3217
|
-
followFars:
|
|
3218
|
-
getAs:
|
|
3219
|
-
getBit:
|
|
3220
|
-
getCapabilityId:
|
|
3221
|
-
getContent:
|
|
3222
|
-
getData:
|
|
3223
|
-
getDataSection:
|
|
3224
|
-
getFarSegmentId:
|
|
3225
|
-
getFloat32:
|
|
3226
|
-
getFloat64:
|
|
3227
|
-
getInt16:
|
|
3228
|
-
getInt32:
|
|
3229
|
-
getInt64:
|
|
3230
|
-
getInt8:
|
|
3231
|
-
getInterfaceClientOrNull:
|
|
3232
|
-
getInterfaceClientOrNullAt:
|
|
3233
|
-
getInterfacePointer:
|
|
3234
|
-
getList:
|
|
3235
|
-
getListByteLength:
|
|
3236
|
-
getListElementByteLength:
|
|
3237
|
-
getListElementSize:
|
|
3238
|
-
getListLength:
|
|
3239
|
-
getOffsetWords:
|
|
3240
|
-
getPointer:
|
|
3241
|
-
getPointerAs:
|
|
3242
|
-
getPointerSection:
|
|
3243
|
-
getPointerType:
|
|
3244
|
-
getSize:
|
|
3245
|
-
getStruct:
|
|
3246
|
-
getStructDataWords:
|
|
3247
|
-
getStructPointerLength:
|
|
3248
|
-
getStructSize:
|
|
3249
|
-
getTargetCompositeListSize:
|
|
3250
|
-
getTargetCompositeListTag:
|
|
3251
|
-
getTargetListElementSize:
|
|
3252
|
-
getTargetListLength:
|
|
3253
|
-
getTargetPointerType:
|
|
3254
|
-
getTargetStructSize:
|
|
3255
|
-
getText:
|
|
3256
|
-
getUint16:
|
|
3257
|
-
getUint32:
|
|
3258
|
-
getUint64:
|
|
3259
|
-
getUint8:
|
|
3260
|
-
initData:
|
|
3261
|
-
initList:
|
|
3262
|
-
initPointer:
|
|
3263
|
-
initStruct:
|
|
3264
|
-
initStructAt:
|
|
3265
|
-
isDoubleFar:
|
|
3266
|
-
isNull:
|
|
3267
|
-
relocateTo:
|
|
3268
|
-
resize:
|
|
3269
|
-
setBit:
|
|
3270
|
-
setFarPointer:
|
|
3271
|
-
setFloat32:
|
|
3272
|
-
setFloat64:
|
|
3273
|
-
setInt16:
|
|
3274
|
-
setInt32:
|
|
3275
|
-
setInt64:
|
|
3276
|
-
setInt8:
|
|
3277
|
-
setInterfacePointer:
|
|
3278
|
-
setListPointer:
|
|
3279
|
-
setStructPointer:
|
|
3280
|
-
setText:
|
|
3281
|
-
setUint16:
|
|
3282
|
-
setUint32:
|
|
3283
|
-
setUint64:
|
|
3284
|
-
setUint8:
|
|
3285
|
-
testWhich:
|
|
3286
|
-
trackPointerAllocation:
|
|
3287
|
-
validate:
|
|
3203
|
+
PointerAllocationResult: _chunkIVTBYMMNcjs.PointerAllocationResult,
|
|
3204
|
+
add: _chunkIVTBYMMNcjs.add,
|
|
3205
|
+
adopt: _chunkIVTBYMMNcjs.adopt,
|
|
3206
|
+
checkDataBounds: _chunkIVTBYMMNcjs.checkDataBounds,
|
|
3207
|
+
checkPointerBounds: _chunkIVTBYMMNcjs.checkPointerBounds,
|
|
3208
|
+
copyFrom: _chunkIVTBYMMNcjs.copyFrom,
|
|
3209
|
+
copyFromInterface: _chunkIVTBYMMNcjs.copyFromInterface,
|
|
3210
|
+
copyFromList: _chunkIVTBYMMNcjs.copyFromList,
|
|
3211
|
+
copyFromStruct: _chunkIVTBYMMNcjs.copyFromStruct,
|
|
3212
|
+
disown: _chunkIVTBYMMNcjs.disown,
|
|
3213
|
+
dump: _chunkIVTBYMMNcjs.dump,
|
|
3214
|
+
erase: _chunkIVTBYMMNcjs.erase,
|
|
3215
|
+
erasePointer: _chunkIVTBYMMNcjs.erasePointer,
|
|
3216
|
+
followFar: _chunkIVTBYMMNcjs.followFar,
|
|
3217
|
+
followFars: _chunkIVTBYMMNcjs.followFars,
|
|
3218
|
+
getAs: _chunkIVTBYMMNcjs.getAs,
|
|
3219
|
+
getBit: _chunkIVTBYMMNcjs.getBit,
|
|
3220
|
+
getCapabilityId: _chunkIVTBYMMNcjs.getCapabilityId,
|
|
3221
|
+
getContent: _chunkIVTBYMMNcjs.getContent,
|
|
3222
|
+
getData: _chunkIVTBYMMNcjs.getData,
|
|
3223
|
+
getDataSection: _chunkIVTBYMMNcjs.getDataSection,
|
|
3224
|
+
getFarSegmentId: _chunkIVTBYMMNcjs.getFarSegmentId,
|
|
3225
|
+
getFloat32: _chunkIVTBYMMNcjs.getFloat32,
|
|
3226
|
+
getFloat64: _chunkIVTBYMMNcjs.getFloat64,
|
|
3227
|
+
getInt16: _chunkIVTBYMMNcjs.getInt16,
|
|
3228
|
+
getInt32: _chunkIVTBYMMNcjs.getInt32,
|
|
3229
|
+
getInt64: _chunkIVTBYMMNcjs.getInt64,
|
|
3230
|
+
getInt8: _chunkIVTBYMMNcjs.getInt8,
|
|
3231
|
+
getInterfaceClientOrNull: _chunkIVTBYMMNcjs.getInterfaceClientOrNull,
|
|
3232
|
+
getInterfaceClientOrNullAt: _chunkIVTBYMMNcjs.getInterfaceClientOrNullAt,
|
|
3233
|
+
getInterfacePointer: _chunkIVTBYMMNcjs.getInterfacePointer,
|
|
3234
|
+
getList: _chunkIVTBYMMNcjs.getList,
|
|
3235
|
+
getListByteLength: _chunkIVTBYMMNcjs.getListByteLength,
|
|
3236
|
+
getListElementByteLength: _chunkIVTBYMMNcjs.getListElementByteLength,
|
|
3237
|
+
getListElementSize: _chunkIVTBYMMNcjs.getListElementSize,
|
|
3238
|
+
getListLength: _chunkIVTBYMMNcjs.getListLength,
|
|
3239
|
+
getOffsetWords: _chunkIVTBYMMNcjs.getOffsetWords,
|
|
3240
|
+
getPointer: _chunkIVTBYMMNcjs.getPointer,
|
|
3241
|
+
getPointerAs: _chunkIVTBYMMNcjs.getPointerAs,
|
|
3242
|
+
getPointerSection: _chunkIVTBYMMNcjs.getPointerSection,
|
|
3243
|
+
getPointerType: _chunkIVTBYMMNcjs.getPointerType,
|
|
3244
|
+
getSize: _chunkIVTBYMMNcjs.getSize,
|
|
3245
|
+
getStruct: _chunkIVTBYMMNcjs.getStruct,
|
|
3246
|
+
getStructDataWords: _chunkIVTBYMMNcjs.getStructDataWords,
|
|
3247
|
+
getStructPointerLength: _chunkIVTBYMMNcjs.getStructPointerLength,
|
|
3248
|
+
getStructSize: _chunkIVTBYMMNcjs.getStructSize,
|
|
3249
|
+
getTargetCompositeListSize: _chunkIVTBYMMNcjs.getTargetCompositeListSize,
|
|
3250
|
+
getTargetCompositeListTag: _chunkIVTBYMMNcjs.getTargetCompositeListTag,
|
|
3251
|
+
getTargetListElementSize: _chunkIVTBYMMNcjs.getTargetListElementSize,
|
|
3252
|
+
getTargetListLength: _chunkIVTBYMMNcjs.getTargetListLength,
|
|
3253
|
+
getTargetPointerType: _chunkIVTBYMMNcjs.getTargetPointerType,
|
|
3254
|
+
getTargetStructSize: _chunkIVTBYMMNcjs.getTargetStructSize,
|
|
3255
|
+
getText: _chunkIVTBYMMNcjs.getText,
|
|
3256
|
+
getUint16: _chunkIVTBYMMNcjs.getUint16,
|
|
3257
|
+
getUint32: _chunkIVTBYMMNcjs.getUint32,
|
|
3258
|
+
getUint64: _chunkIVTBYMMNcjs.getUint64,
|
|
3259
|
+
getUint8: _chunkIVTBYMMNcjs.getUint8,
|
|
3260
|
+
initData: _chunkIVTBYMMNcjs.initData,
|
|
3261
|
+
initList: _chunkIVTBYMMNcjs.initList,
|
|
3262
|
+
initPointer: _chunkIVTBYMMNcjs.initPointer,
|
|
3263
|
+
initStruct: _chunkIVTBYMMNcjs.initStruct,
|
|
3264
|
+
initStructAt: _chunkIVTBYMMNcjs.initStructAt,
|
|
3265
|
+
isDoubleFar: _chunkIVTBYMMNcjs.isDoubleFar,
|
|
3266
|
+
isNull: _chunkIVTBYMMNcjs.isNull,
|
|
3267
|
+
relocateTo: _chunkIVTBYMMNcjs.relocateTo,
|
|
3268
|
+
resize: _chunkIVTBYMMNcjs.resize,
|
|
3269
|
+
setBit: _chunkIVTBYMMNcjs.setBit,
|
|
3270
|
+
setFarPointer: _chunkIVTBYMMNcjs.setFarPointer,
|
|
3271
|
+
setFloat32: _chunkIVTBYMMNcjs.setFloat32,
|
|
3272
|
+
setFloat64: _chunkIVTBYMMNcjs.setFloat64,
|
|
3273
|
+
setInt16: _chunkIVTBYMMNcjs.setInt16,
|
|
3274
|
+
setInt32: _chunkIVTBYMMNcjs.setInt32,
|
|
3275
|
+
setInt64: _chunkIVTBYMMNcjs.setInt64,
|
|
3276
|
+
setInt8: _chunkIVTBYMMNcjs.setInt8,
|
|
3277
|
+
setInterfacePointer: _chunkIVTBYMMNcjs.setInterfacePointer,
|
|
3278
|
+
setListPointer: _chunkIVTBYMMNcjs.setListPointer,
|
|
3279
|
+
setStructPointer: _chunkIVTBYMMNcjs.setStructPointer,
|
|
3280
|
+
setText: _chunkIVTBYMMNcjs.setText,
|
|
3281
|
+
setUint16: _chunkIVTBYMMNcjs.setUint16,
|
|
3282
|
+
setUint32: _chunkIVTBYMMNcjs.setUint32,
|
|
3283
|
+
setUint64: _chunkIVTBYMMNcjs.setUint64,
|
|
3284
|
+
setUint8: _chunkIVTBYMMNcjs.setUint8,
|
|
3285
|
+
testWhich: _chunkIVTBYMMNcjs.testWhich,
|
|
3286
|
+
trackPointerAllocation: _chunkIVTBYMMNcjs.trackPointerAllocation,
|
|
3287
|
+
validate: _chunkIVTBYMMNcjs.validate
|
|
3288
3288
|
};
|
|
3289
3289
|
function PointerList(PointerClass) {
|
|
3290
|
-
return (_class26 = class extends
|
|
3290
|
+
return (_class26 = class extends _chunkIVTBYMMNcjs.List {
|
|
3291
3291
|
static __initStatic69() {this._capnp = {
|
|
3292
3292
|
displayName: `List<${PointerClass._capnp.displayName}>`,
|
|
3293
|
-
size:
|
|
3293
|
+
size: _chunkIVTBYMMNcjs.ListElementSize.POINTER
|
|
3294
3294
|
}}
|
|
3295
3295
|
get(index) {
|
|
3296
|
-
const c =
|
|
3296
|
+
const c = _chunkIVTBYMMNcjs.getContent.call(void 0, this);
|
|
3297
3297
|
return new PointerClass(
|
|
3298
3298
|
c.segment,
|
|
3299
3299
|
c.byteOffset + index * 8,
|
|
@@ -3301,33 +3301,33 @@ function PointerList(PointerClass) {
|
|
|
3301
3301
|
);
|
|
3302
3302
|
}
|
|
3303
3303
|
set(index, value) {
|
|
3304
|
-
|
|
3304
|
+
_chunkIVTBYMMNcjs.copyFrom.call(void 0, value, this.get(index));
|
|
3305
3305
|
}
|
|
3306
3306
|
[Symbol.toStringTag]() {
|
|
3307
3307
|
return `Pointer_${super.toString()},cls:${PointerClass.toString()}`;
|
|
3308
3308
|
}
|
|
3309
3309
|
}, _class26.__initStatic69(), _class26);
|
|
3310
3310
|
}
|
|
3311
|
-
|
|
3312
|
-
var AnyPointerList = PointerList(
|
|
3313
|
-
var BoolList = (_class27 = class extends
|
|
3311
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, PointerList, "PointerList");
|
|
3312
|
+
var AnyPointerList = PointerList(_chunkIVTBYMMNcjs.Pointer);
|
|
3313
|
+
var BoolList = (_class27 = class extends _chunkIVTBYMMNcjs.List {
|
|
3314
3314
|
static {
|
|
3315
|
-
|
|
3315
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "BoolList");
|
|
3316
3316
|
}
|
|
3317
3317
|
static __initStatic70() {this._capnp = {
|
|
3318
3318
|
displayName: "List<boolean>",
|
|
3319
|
-
size:
|
|
3319
|
+
size: _chunkIVTBYMMNcjs.ListElementSize.BIT
|
|
3320
3320
|
}}
|
|
3321
3321
|
get(index) {
|
|
3322
3322
|
const bitMask = 1 << index % 8;
|
|
3323
3323
|
const byteOffset = index >>> 3;
|
|
3324
|
-
const c =
|
|
3324
|
+
const c = _chunkIVTBYMMNcjs.getContent.call(void 0, this);
|
|
3325
3325
|
const v = c.segment.getUint8(c.byteOffset + byteOffset);
|
|
3326
3326
|
return (v & bitMask) !== 0;
|
|
3327
3327
|
}
|
|
3328
3328
|
set(index, value) {
|
|
3329
3329
|
const bitMask = 1 << index % 8;
|
|
3330
|
-
const c =
|
|
3330
|
+
const c = _chunkIVTBYMMNcjs.getContent.call(void 0, this);
|
|
3331
3331
|
const byteOffset = c.byteOffset + (index >>> 3);
|
|
3332
3332
|
const v = c.segment.getUint8(byteOffset);
|
|
3333
3333
|
c.segment.setUint8(byteOffset, value ? v | bitMask : v & ~bitMask);
|
|
@@ -3336,121 +3336,121 @@ var BoolList = (_class27 = class extends _chunkC6LZ6PNUcjs.List {
|
|
|
3336
3336
|
return `Bool_${super.toString()}`;
|
|
3337
3337
|
}
|
|
3338
3338
|
}, _class27.__initStatic70(), _class27);
|
|
3339
|
-
var DataList = PointerList(
|
|
3340
|
-
var Float32List = (_class28 = class extends
|
|
3339
|
+
var DataList = PointerList(_chunkIVTBYMMNcjs.Data);
|
|
3340
|
+
var Float32List = (_class28 = class extends _chunkIVTBYMMNcjs.List {
|
|
3341
3341
|
static {
|
|
3342
|
-
|
|
3342
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "Float32List");
|
|
3343
3343
|
}
|
|
3344
3344
|
static __initStatic71() {this._capnp = {
|
|
3345
3345
|
displayName: "List<Float32>",
|
|
3346
|
-
size:
|
|
3346
|
+
size: _chunkIVTBYMMNcjs.ListElementSize.BYTE_4
|
|
3347
3347
|
}}
|
|
3348
3348
|
get(index) {
|
|
3349
|
-
const c =
|
|
3349
|
+
const c = _chunkIVTBYMMNcjs.getContent.call(void 0, this);
|
|
3350
3350
|
return c.segment.getFloat32(c.byteOffset + index * 4);
|
|
3351
3351
|
}
|
|
3352
3352
|
set(index, value) {
|
|
3353
|
-
const c =
|
|
3353
|
+
const c = _chunkIVTBYMMNcjs.getContent.call(void 0, this);
|
|
3354
3354
|
c.segment.setFloat32(c.byteOffset + index * 4, value);
|
|
3355
3355
|
}
|
|
3356
3356
|
[Symbol.toStringTag]() {
|
|
3357
3357
|
return `Float32_${super.toString()}`;
|
|
3358
3358
|
}
|
|
3359
3359
|
}, _class28.__initStatic71(), _class28);
|
|
3360
|
-
var Float64List = (_class29 = class extends
|
|
3360
|
+
var Float64List = (_class29 = class extends _chunkIVTBYMMNcjs.List {
|
|
3361
3361
|
static {
|
|
3362
|
-
|
|
3362
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "Float64List");
|
|
3363
3363
|
}
|
|
3364
3364
|
static __initStatic72() {this._capnp = {
|
|
3365
3365
|
displayName: "List<Float64>",
|
|
3366
|
-
size:
|
|
3366
|
+
size: _chunkIVTBYMMNcjs.ListElementSize.BYTE_8
|
|
3367
3367
|
}}
|
|
3368
3368
|
get(index) {
|
|
3369
|
-
const c =
|
|
3369
|
+
const c = _chunkIVTBYMMNcjs.getContent.call(void 0, this);
|
|
3370
3370
|
return c.segment.getFloat64(c.byteOffset + index * 8);
|
|
3371
3371
|
}
|
|
3372
3372
|
set(index, value) {
|
|
3373
|
-
const c =
|
|
3373
|
+
const c = _chunkIVTBYMMNcjs.getContent.call(void 0, this);
|
|
3374
3374
|
c.segment.setFloat64(c.byteOffset + index * 8, value);
|
|
3375
3375
|
}
|
|
3376
3376
|
[Symbol.toStringTag]() {
|
|
3377
3377
|
return `Float64_${super.toString()}`;
|
|
3378
3378
|
}
|
|
3379
3379
|
}, _class29.__initStatic72(), _class29);
|
|
3380
|
-
var Int8List = (_class30 = class extends
|
|
3380
|
+
var Int8List = (_class30 = class extends _chunkIVTBYMMNcjs.List {
|
|
3381
3381
|
static {
|
|
3382
|
-
|
|
3382
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "Int8List");
|
|
3383
3383
|
}
|
|
3384
3384
|
static __initStatic73() {this._capnp = {
|
|
3385
3385
|
displayName: "List<Int8>",
|
|
3386
|
-
size:
|
|
3386
|
+
size: _chunkIVTBYMMNcjs.ListElementSize.BYTE
|
|
3387
3387
|
}}
|
|
3388
3388
|
get(index) {
|
|
3389
|
-
const c =
|
|
3389
|
+
const c = _chunkIVTBYMMNcjs.getContent.call(void 0, this);
|
|
3390
3390
|
return c.segment.getInt8(c.byteOffset + index);
|
|
3391
3391
|
}
|
|
3392
3392
|
set(index, value) {
|
|
3393
|
-
const c =
|
|
3393
|
+
const c = _chunkIVTBYMMNcjs.getContent.call(void 0, this);
|
|
3394
3394
|
c.segment.setInt8(c.byteOffset + index, value);
|
|
3395
3395
|
}
|
|
3396
3396
|
[Symbol.toStringTag]() {
|
|
3397
3397
|
return `Int8_${super.toString()}`;
|
|
3398
3398
|
}
|
|
3399
3399
|
}, _class30.__initStatic73(), _class30);
|
|
3400
|
-
var Int16List = (_class31 = class extends
|
|
3400
|
+
var Int16List = (_class31 = class extends _chunkIVTBYMMNcjs.List {
|
|
3401
3401
|
static {
|
|
3402
|
-
|
|
3402
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "Int16List");
|
|
3403
3403
|
}
|
|
3404
3404
|
static __initStatic74() {this._capnp = {
|
|
3405
3405
|
displayName: "List<Int16>",
|
|
3406
|
-
size:
|
|
3406
|
+
size: _chunkIVTBYMMNcjs.ListElementSize.BYTE_2
|
|
3407
3407
|
}}
|
|
3408
3408
|
get(index) {
|
|
3409
|
-
const c =
|
|
3409
|
+
const c = _chunkIVTBYMMNcjs.getContent.call(void 0, this);
|
|
3410
3410
|
return c.segment.getInt16(c.byteOffset + index * 2);
|
|
3411
3411
|
}
|
|
3412
3412
|
set(index, value) {
|
|
3413
|
-
const c =
|
|
3413
|
+
const c = _chunkIVTBYMMNcjs.getContent.call(void 0, this);
|
|
3414
3414
|
c.segment.setInt16(c.byteOffset + index * 2, value);
|
|
3415
3415
|
}
|
|
3416
3416
|
[Symbol.toStringTag]() {
|
|
3417
3417
|
return `Int16_${super.toString()}`;
|
|
3418
3418
|
}
|
|
3419
3419
|
}, _class31.__initStatic74(), _class31);
|
|
3420
|
-
var Int32List = (_class32 = class extends
|
|
3420
|
+
var Int32List = (_class32 = class extends _chunkIVTBYMMNcjs.List {
|
|
3421
3421
|
static {
|
|
3422
|
-
|
|
3422
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "Int32List");
|
|
3423
3423
|
}
|
|
3424
3424
|
static __initStatic75() {this._capnp = {
|
|
3425
3425
|
displayName: "List<Int32>",
|
|
3426
|
-
size:
|
|
3426
|
+
size: _chunkIVTBYMMNcjs.ListElementSize.BYTE_4
|
|
3427
3427
|
}}
|
|
3428
3428
|
get(index) {
|
|
3429
|
-
const c =
|
|
3429
|
+
const c = _chunkIVTBYMMNcjs.getContent.call(void 0, this);
|
|
3430
3430
|
return c.segment.getInt32(c.byteOffset + index * 4);
|
|
3431
3431
|
}
|
|
3432
3432
|
set(index, value) {
|
|
3433
|
-
const c =
|
|
3433
|
+
const c = _chunkIVTBYMMNcjs.getContent.call(void 0, this);
|
|
3434
3434
|
c.segment.setInt32(c.byteOffset + index * 4, value);
|
|
3435
3435
|
}
|
|
3436
3436
|
[Symbol.toStringTag]() {
|
|
3437
3437
|
return `Int32_${super.toString()}`;
|
|
3438
3438
|
}
|
|
3439
3439
|
}, _class32.__initStatic75(), _class32);
|
|
3440
|
-
var Int64List = (_class33 = class extends
|
|
3440
|
+
var Int64List = (_class33 = class extends _chunkIVTBYMMNcjs.List {
|
|
3441
3441
|
static {
|
|
3442
|
-
|
|
3442
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "Int64List");
|
|
3443
3443
|
}
|
|
3444
3444
|
static __initStatic76() {this._capnp = {
|
|
3445
3445
|
displayName: "List<Int64>",
|
|
3446
|
-
size:
|
|
3446
|
+
size: _chunkIVTBYMMNcjs.ListElementSize.BYTE_8
|
|
3447
3447
|
}}
|
|
3448
3448
|
get(index) {
|
|
3449
|
-
const c =
|
|
3449
|
+
const c = _chunkIVTBYMMNcjs.getContent.call(void 0, this);
|
|
3450
3450
|
return c.segment.getInt64(c.byteOffset + index * 8);
|
|
3451
3451
|
}
|
|
3452
3452
|
set(index, value) {
|
|
3453
|
-
const c =
|
|
3453
|
+
const c = _chunkIVTBYMMNcjs.getContent.call(void 0, this);
|
|
3454
3454
|
c.segment.setInt64(c.byteOffset + index * 8, value);
|
|
3455
3455
|
}
|
|
3456
3456
|
[Symbol.toStringTag]() {
|
|
@@ -3458,102 +3458,102 @@ var Int64List = (_class33 = class extends _chunkC6LZ6PNUcjs.List {
|
|
|
3458
3458
|
}
|
|
3459
3459
|
}, _class33.__initStatic76(), _class33);
|
|
3460
3460
|
var InterfaceList = PointerList(Interface);
|
|
3461
|
-
var TextList = (_class34 = class extends
|
|
3461
|
+
var TextList = (_class34 = class extends _chunkIVTBYMMNcjs.List {
|
|
3462
3462
|
static {
|
|
3463
|
-
|
|
3463
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "TextList");
|
|
3464
3464
|
}
|
|
3465
3465
|
static __initStatic77() {this._capnp = {
|
|
3466
3466
|
displayName: "List<Text>",
|
|
3467
|
-
size:
|
|
3467
|
+
size: _chunkIVTBYMMNcjs.ListElementSize.POINTER
|
|
3468
3468
|
}}
|
|
3469
3469
|
get(index) {
|
|
3470
|
-
const c =
|
|
3470
|
+
const c = _chunkIVTBYMMNcjs.getContent.call(void 0, this);
|
|
3471
3471
|
c.byteOffset += index * 8;
|
|
3472
|
-
return
|
|
3472
|
+
return _chunkIVTBYMMNcjs.Text.fromPointer(c).get(0);
|
|
3473
3473
|
}
|
|
3474
3474
|
set(index, value) {
|
|
3475
|
-
const c =
|
|
3475
|
+
const c = _chunkIVTBYMMNcjs.getContent.call(void 0, this);
|
|
3476
3476
|
c.byteOffset += index * 8;
|
|
3477
|
-
|
|
3477
|
+
_chunkIVTBYMMNcjs.Text.fromPointer(c).set(0, value);
|
|
3478
3478
|
}
|
|
3479
3479
|
[Symbol.toStringTag]() {
|
|
3480
3480
|
return `Text_${super.toString()}`;
|
|
3481
3481
|
}
|
|
3482
3482
|
}, _class34.__initStatic77(), _class34);
|
|
3483
|
-
var Uint8List = (_class35 = class extends
|
|
3483
|
+
var Uint8List = (_class35 = class extends _chunkIVTBYMMNcjs.List {
|
|
3484
3484
|
static {
|
|
3485
|
-
|
|
3485
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "Uint8List");
|
|
3486
3486
|
}
|
|
3487
3487
|
static __initStatic78() {this._capnp = {
|
|
3488
3488
|
displayName: "List<Uint8>",
|
|
3489
|
-
size:
|
|
3489
|
+
size: _chunkIVTBYMMNcjs.ListElementSize.BYTE
|
|
3490
3490
|
}}
|
|
3491
3491
|
get(index) {
|
|
3492
|
-
const c =
|
|
3492
|
+
const c = _chunkIVTBYMMNcjs.getContent.call(void 0, this);
|
|
3493
3493
|
return c.segment.getUint8(c.byteOffset + index);
|
|
3494
3494
|
}
|
|
3495
3495
|
set(index, value) {
|
|
3496
|
-
const c =
|
|
3496
|
+
const c = _chunkIVTBYMMNcjs.getContent.call(void 0, this);
|
|
3497
3497
|
c.segment.setUint8(c.byteOffset + index, value);
|
|
3498
3498
|
}
|
|
3499
3499
|
[Symbol.toStringTag]() {
|
|
3500
3500
|
return `Uint8_${super.toString()}`;
|
|
3501
3501
|
}
|
|
3502
3502
|
}, _class35.__initStatic78(), _class35);
|
|
3503
|
-
var Uint16List = (_class36 = class extends
|
|
3503
|
+
var Uint16List = (_class36 = class extends _chunkIVTBYMMNcjs.List {
|
|
3504
3504
|
static {
|
|
3505
|
-
|
|
3505
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "Uint16List");
|
|
3506
3506
|
}
|
|
3507
3507
|
static __initStatic79() {this._capnp = {
|
|
3508
3508
|
displayName: "List<Uint16>",
|
|
3509
|
-
size:
|
|
3509
|
+
size: _chunkIVTBYMMNcjs.ListElementSize.BYTE_2
|
|
3510
3510
|
}}
|
|
3511
3511
|
get(index) {
|
|
3512
|
-
const c =
|
|
3512
|
+
const c = _chunkIVTBYMMNcjs.getContent.call(void 0, this);
|
|
3513
3513
|
return c.segment.getUint16(c.byteOffset + index * 2);
|
|
3514
3514
|
}
|
|
3515
3515
|
set(index, value) {
|
|
3516
|
-
const c =
|
|
3516
|
+
const c = _chunkIVTBYMMNcjs.getContent.call(void 0, this);
|
|
3517
3517
|
c.segment.setUint16(c.byteOffset + index * 2, value);
|
|
3518
3518
|
}
|
|
3519
3519
|
[Symbol.toStringTag]() {
|
|
3520
3520
|
return `Uint16_${super.toString()}`;
|
|
3521
3521
|
}
|
|
3522
3522
|
}, _class36.__initStatic79(), _class36);
|
|
3523
|
-
var Uint32List = (_class37 = class extends
|
|
3523
|
+
var Uint32List = (_class37 = class extends _chunkIVTBYMMNcjs.List {
|
|
3524
3524
|
static {
|
|
3525
|
-
|
|
3525
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "Uint32List");
|
|
3526
3526
|
}
|
|
3527
3527
|
static __initStatic80() {this._capnp = {
|
|
3528
3528
|
displayName: "List<Uint32>",
|
|
3529
|
-
size:
|
|
3529
|
+
size: _chunkIVTBYMMNcjs.ListElementSize.BYTE_4
|
|
3530
3530
|
}}
|
|
3531
3531
|
get(index) {
|
|
3532
|
-
const c =
|
|
3532
|
+
const c = _chunkIVTBYMMNcjs.getContent.call(void 0, this);
|
|
3533
3533
|
return c.segment.getUint32(c.byteOffset + index * 4);
|
|
3534
3534
|
}
|
|
3535
3535
|
set(index, value) {
|
|
3536
|
-
const c =
|
|
3536
|
+
const c = _chunkIVTBYMMNcjs.getContent.call(void 0, this);
|
|
3537
3537
|
c.segment.setUint32(c.byteOffset + index * 4, value);
|
|
3538
3538
|
}
|
|
3539
3539
|
[Symbol.toStringTag]() {
|
|
3540
3540
|
return `Uint32_${super.toString()}`;
|
|
3541
3541
|
}
|
|
3542
3542
|
}, _class37.__initStatic80(), _class37);
|
|
3543
|
-
var Uint64List = (_class38 = class extends
|
|
3543
|
+
var Uint64List = (_class38 = class extends _chunkIVTBYMMNcjs.List {
|
|
3544
3544
|
static {
|
|
3545
|
-
|
|
3545
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "Uint64List");
|
|
3546
3546
|
}
|
|
3547
3547
|
static __initStatic81() {this._capnp = {
|
|
3548
3548
|
displayName: "List<Uint64>",
|
|
3549
|
-
size:
|
|
3549
|
+
size: _chunkIVTBYMMNcjs.ListElementSize.BYTE_8
|
|
3550
3550
|
}}
|
|
3551
3551
|
get(index) {
|
|
3552
|
-
const c =
|
|
3552
|
+
const c = _chunkIVTBYMMNcjs.getContent.call(void 0, this);
|
|
3553
3553
|
return c.segment.getUint64(c.byteOffset + index * 8);
|
|
3554
3554
|
}
|
|
3555
3555
|
set(index, value) {
|
|
3556
|
-
const c =
|
|
3556
|
+
const c = _chunkIVTBYMMNcjs.getContent.call(void 0, this);
|
|
3557
3557
|
c.segment.setUint64(c.byteOffset + index * 8, value);
|
|
3558
3558
|
}
|
|
3559
3559
|
[Symbol.toStringTag]() {
|
|
@@ -3562,26 +3562,26 @@ var Uint64List = (_class38 = class extends _chunkC6LZ6PNUcjs.List {
|
|
|
3562
3562
|
}, _class38.__initStatic81(), _class38);
|
|
3563
3563
|
var VoidList = PointerList(Void);
|
|
3564
3564
|
function isSameClient(c, d) {
|
|
3565
|
-
const norm = /* @__PURE__ */
|
|
3565
|
+
const norm = /* @__PURE__ */ _chunkIVTBYMMNcjs.__name.call(void 0, (c2) => {
|
|
3566
3566
|
return c2;
|
|
3567
3567
|
}, "norm");
|
|
3568
3568
|
return norm(c) === norm(d);
|
|
3569
3569
|
}
|
|
3570
|
-
|
|
3570
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, isSameClient, "isSameClient");
|
|
3571
3571
|
function clientFromResolution(transform, obj, err) {
|
|
3572
3572
|
if (err) {
|
|
3573
|
-
return new (0,
|
|
3573
|
+
return new (0, _chunkIVTBYMMNcjs.ErrorClient)(err);
|
|
3574
3574
|
}
|
|
3575
3575
|
if (!obj) {
|
|
3576
|
-
return new (0,
|
|
3576
|
+
return new (0, _chunkIVTBYMMNcjs.ErrorClient)(new Error(`null obj!`));
|
|
3577
3577
|
}
|
|
3578
3578
|
const out = transformPtr(obj, transform);
|
|
3579
|
-
return
|
|
3579
|
+
return _chunkIVTBYMMNcjs.getInterfaceClientOrNull.call(void 0, out);
|
|
3580
3580
|
}
|
|
3581
|
-
|
|
3581
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, clientFromResolution, "clientFromResolution");
|
|
3582
3582
|
var IDGen = (_class39 = class {constructor() { _class39.prototype.__init6.call(this);_class39.prototype.__init7.call(this); }
|
|
3583
3583
|
static {
|
|
3584
|
-
|
|
3584
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "IDGen");
|
|
3585
3585
|
}
|
|
3586
3586
|
__init6() {this.i = 0}
|
|
3587
3587
|
__init7() {this.free = []}
|
|
@@ -3594,7 +3594,7 @@ var IDGen = (_class39 = class {constructor() { _class39.prototype.__init6.call(t
|
|
|
3594
3594
|
}, _class39);
|
|
3595
3595
|
var Ref = class {
|
|
3596
3596
|
static {
|
|
3597
|
-
|
|
3597
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "Ref");
|
|
3598
3598
|
}
|
|
3599
3599
|
constructor(rc, finalize) {
|
|
3600
3600
|
this.rc = rc;
|
|
@@ -3623,7 +3623,7 @@ var Ref = class {
|
|
|
3623
3623
|
};
|
|
3624
3624
|
var RefCount = class _RefCount {
|
|
3625
3625
|
static {
|
|
3626
|
-
|
|
3626
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "RefCount");
|
|
3627
3627
|
}
|
|
3628
3628
|
|
|
3629
3629
|
|
|
@@ -3650,7 +3650,7 @@ var RefCount = class _RefCount {
|
|
|
3650
3650
|
}
|
|
3651
3651
|
ref() {
|
|
3652
3652
|
if (this.refs <= 0) {
|
|
3653
|
-
return new (0,
|
|
3653
|
+
return new (0, _chunkIVTBYMMNcjs.ErrorClient)(new Error(_chunkIVTBYMMNcjs.RPC_ZERO_REF));
|
|
3654
3654
|
}
|
|
3655
3655
|
this.refs++;
|
|
3656
3656
|
return this.newRef();
|
|
@@ -3667,10 +3667,10 @@ var RefCount = class _RefCount {
|
|
|
3667
3667
|
};
|
|
3668
3668
|
var RPCError = class extends Error {
|
|
3669
3669
|
static {
|
|
3670
|
-
|
|
3670
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "RPCError");
|
|
3671
3671
|
}
|
|
3672
3672
|
constructor(exception) {
|
|
3673
|
-
super(
|
|
3673
|
+
super(_chunkIVTBYMMNcjs.format.call(void 0, _chunkIVTBYMMNcjs.RPC_ERROR, exception.reason));
|
|
3674
3674
|
this.exception = exception;
|
|
3675
3675
|
}
|
|
3676
3676
|
};
|
|
@@ -3683,11 +3683,11 @@ function toException(exc, err) {
|
|
|
3683
3683
|
exc.reason = err.message;
|
|
3684
3684
|
exc.type = Exception.Type.FAILED;
|
|
3685
3685
|
}
|
|
3686
|
-
|
|
3686
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, toException, "toException");
|
|
3687
3687
|
function newMessage() {
|
|
3688
|
-
return new (0,
|
|
3688
|
+
return new (0, _chunkIVTBYMMNcjs.Message)().initRoot(Message2);
|
|
3689
3689
|
}
|
|
3690
|
-
|
|
3690
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, newMessage, "newMessage");
|
|
3691
3691
|
function newFinishMessage(questionID, release) {
|
|
3692
3692
|
const m = newMessage();
|
|
3693
3693
|
const f = m._initFinish();
|
|
@@ -3695,26 +3695,26 @@ function newFinishMessage(questionID, release) {
|
|
|
3695
3695
|
f.releaseResultCaps = release;
|
|
3696
3696
|
return m;
|
|
3697
3697
|
}
|
|
3698
|
-
|
|
3698
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, newFinishMessage, "newFinishMessage");
|
|
3699
3699
|
function newUnimplementedMessage(m) {
|
|
3700
3700
|
const n = newMessage();
|
|
3701
3701
|
n.unimplemented = m;
|
|
3702
3702
|
return n;
|
|
3703
3703
|
}
|
|
3704
|
-
|
|
3704
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, newUnimplementedMessage, "newUnimplementedMessage");
|
|
3705
3705
|
function newReturnMessage(id) {
|
|
3706
3706
|
const m = newMessage();
|
|
3707
3707
|
const ret = m._initReturn();
|
|
3708
3708
|
ret.answerId = id;
|
|
3709
3709
|
return m;
|
|
3710
3710
|
}
|
|
3711
|
-
|
|
3711
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, newReturnMessage, "newReturnMessage");
|
|
3712
3712
|
function setReturnException(ret, err) {
|
|
3713
3713
|
const exc = ret._initException();
|
|
3714
3714
|
toException(exc, err);
|
|
3715
3715
|
return exc;
|
|
3716
3716
|
}
|
|
3717
|
-
|
|
3717
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, setReturnException, "setReturnException");
|
|
3718
3718
|
function newDisembargoMessage(which, id) {
|
|
3719
3719
|
const m = newMessage();
|
|
3720
3720
|
const dis = m._initDisembargo();
|
|
@@ -3729,19 +3729,19 @@ function newDisembargoMessage(which, id) {
|
|
|
3729
3729
|
break;
|
|
3730
3730
|
}
|
|
3731
3731
|
default: {
|
|
3732
|
-
throw new Error(
|
|
3732
|
+
throw new Error(_chunkIVTBYMMNcjs.INVARIANT_UNREACHABLE_CODE);
|
|
3733
3733
|
}
|
|
3734
3734
|
}
|
|
3735
3735
|
return m;
|
|
3736
3736
|
}
|
|
3737
|
-
|
|
3737
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, newDisembargoMessage, "newDisembargoMessage");
|
|
3738
3738
|
function transformToPromisedAnswer(answer, transform) {
|
|
3739
3739
|
const opList = answer._initTransform(transform.length);
|
|
3740
3740
|
for (const [i, op] of transform.entries()) {
|
|
3741
3741
|
opList.get(i).getPointerField = op.field;
|
|
3742
3742
|
}
|
|
3743
3743
|
}
|
|
3744
|
-
|
|
3744
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, transformToPromisedAnswer, "transformToPromisedAnswer");
|
|
3745
3745
|
function promisedAnswerOpsToTransform(list) {
|
|
3746
3746
|
const transform = [];
|
|
3747
3747
|
for (const op of list) {
|
|
@@ -3759,7 +3759,7 @@ function promisedAnswerOpsToTransform(list) {
|
|
|
3759
3759
|
}
|
|
3760
3760
|
return transform;
|
|
3761
3761
|
}
|
|
3762
|
-
|
|
3762
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, promisedAnswerOpsToTransform, "promisedAnswerOpsToTransform");
|
|
3763
3763
|
var QuestionState = /* @__PURE__ */ ((QuestionState2) => {
|
|
3764
3764
|
QuestionState2[QuestionState2["IN_PROGRESS"] = 0] = "IN_PROGRESS";
|
|
3765
3765
|
QuestionState2[QuestionState2["RESOLVED"] = 1] = "RESOLVED";
|
|
@@ -3768,7 +3768,7 @@ var QuestionState = /* @__PURE__ */ ((QuestionState2) => {
|
|
|
3768
3768
|
})(QuestionState || {});
|
|
3769
3769
|
var Question = (_class40 = class {
|
|
3770
3770
|
static {
|
|
3771
|
-
|
|
3771
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "Question");
|
|
3772
3772
|
}
|
|
3773
3773
|
constructor(conn, id, method) {;_class40.prototype.__init8.call(this);_class40.prototype.__init9.call(this);_class40.prototype.__init10.call(this);_class40.prototype.__init11.call(this);
|
|
3774
3774
|
this.conn = conn;
|
|
@@ -3791,10 +3791,10 @@ var Question = (_class40 = class {
|
|
|
3791
3791
|
// The caller must be holding onto q.conn.mu.
|
|
3792
3792
|
fulfill(obj) {
|
|
3793
3793
|
if (this.state !== 0) {
|
|
3794
|
-
throw new Error(
|
|
3794
|
+
throw new Error(_chunkIVTBYMMNcjs.RPC_FULFILL_ALREADY_CALLED);
|
|
3795
3795
|
}
|
|
3796
3796
|
if (this.method) {
|
|
3797
|
-
this.obj =
|
|
3797
|
+
this.obj = _chunkIVTBYMMNcjs.getAs.call(void 0, this.method.ResultsClass, obj);
|
|
3798
3798
|
} else {
|
|
3799
3799
|
this.obj = obj;
|
|
3800
3800
|
}
|
|
@@ -3856,7 +3856,7 @@ var Question = (_class40 = class {
|
|
|
3856
3856
|
this.derived.push(transform);
|
|
3857
3857
|
}
|
|
3858
3858
|
pipelineClose() {
|
|
3859
|
-
throw new Error(
|
|
3859
|
+
throw new Error(_chunkIVTBYMMNcjs.NOT_IMPLEMENTED);
|
|
3860
3860
|
}
|
|
3861
3861
|
}, _class40);
|
|
3862
3862
|
function transformsEqual(t, u) {
|
|
@@ -3870,10 +3870,10 @@ function transformsEqual(t, u) {
|
|
|
3870
3870
|
}
|
|
3871
3871
|
return true;
|
|
3872
3872
|
}
|
|
3873
|
-
|
|
3873
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, transformsEqual, "transformsEqual");
|
|
3874
3874
|
var Qcalls = class _Qcalls {
|
|
3875
3875
|
static {
|
|
3876
|
-
|
|
3876
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "Qcalls");
|
|
3877
3877
|
}
|
|
3878
3878
|
constructor(data) {
|
|
3879
3879
|
this.data = data;
|
|
@@ -3898,11 +3898,11 @@ function joinAnswer(fl, answer) {
|
|
|
3898
3898
|
fl.reject(error_);
|
|
3899
3899
|
});
|
|
3900
3900
|
}
|
|
3901
|
-
|
|
3901
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, joinAnswer, "joinAnswer");
|
|
3902
3902
|
var callQueueSize2 = 64;
|
|
3903
3903
|
var QueueClient = class {
|
|
3904
3904
|
static {
|
|
3905
|
-
|
|
3905
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "QueueClient");
|
|
3906
3906
|
}
|
|
3907
3907
|
constructor(conn, client, calls) {
|
|
3908
3908
|
this.conn = conn;
|
|
@@ -3918,11 +3918,11 @@ var QueueClient = class {
|
|
|
3918
3918
|
try {
|
|
3919
3919
|
call = copyCall(call);
|
|
3920
3920
|
} catch (error_) {
|
|
3921
|
-
return new (0,
|
|
3921
|
+
return new (0, _chunkIVTBYMMNcjs.ErrorAnswer)(error_);
|
|
3922
3922
|
}
|
|
3923
3923
|
const i = this.q.push();
|
|
3924
3924
|
if (i === -1) {
|
|
3925
|
-
return new (0,
|
|
3925
|
+
return new (0, _chunkIVTBYMMNcjs.ErrorAnswer)(new Error(_chunkIVTBYMMNcjs.RPC_CALL_QUEUE_FULL));
|
|
3926
3926
|
}
|
|
3927
3927
|
this.calls.data[i] = {
|
|
3928
3928
|
call,
|
|
@@ -3933,7 +3933,7 @@ var QueueClient = class {
|
|
|
3933
3933
|
pushEmbargo(id, tgt) {
|
|
3934
3934
|
const i = this.q.push();
|
|
3935
3935
|
if (i === -1) {
|
|
3936
|
-
throw new Error(
|
|
3936
|
+
throw new Error(_chunkIVTBYMMNcjs.RPC_CALL_QUEUE_FULL);
|
|
3937
3937
|
}
|
|
3938
3938
|
this.calls.data[i] = {
|
|
3939
3939
|
embargoID: id,
|
|
@@ -3992,7 +3992,7 @@ var QueueClient = class {
|
|
|
3992
3992
|
};
|
|
3993
3993
|
var AnswerEntry = (_class41 = class {
|
|
3994
3994
|
static {
|
|
3995
|
-
|
|
3995
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "AnswerEntry");
|
|
3996
3996
|
}
|
|
3997
3997
|
|
|
3998
3998
|
|
|
@@ -4038,7 +4038,7 @@ var AnswerEntry = (_class41 = class {
|
|
|
4038
4038
|
for (const capIdxStr of Object.keys(queues)) {
|
|
4039
4039
|
const capIdx = Number(capIdxStr);
|
|
4040
4040
|
const q = queues[capIdx];
|
|
4041
|
-
if (objcap.capTable === null) throw new Error(
|
|
4041
|
+
if (objcap.capTable === null) throw new Error(_chunkIVTBYMMNcjs.INVARIANT_UNREACHABLE_CODE);
|
|
4042
4042
|
objcap.capTable[capIdx] = new QueueClient(
|
|
4043
4043
|
this.conn,
|
|
4044
4044
|
objcap.capTable[capIdx],
|
|
@@ -4116,7 +4116,7 @@ var AnswerEntry = (_class41 = class {
|
|
|
4116
4116
|
const ci = Interface.fromPointer(c);
|
|
4117
4117
|
if (!ci) {
|
|
4118
4118
|
try {
|
|
4119
|
-
pc.qcall.a.reject(new Error(
|
|
4119
|
+
pc.qcall.a.reject(new Error(_chunkIVTBYMMNcjs.RPC_NULL_CLIENT));
|
|
4120
4120
|
} catch (error_) {
|
|
4121
4121
|
if (!firstErr) {
|
|
4122
4122
|
firstErr = error_;
|
|
@@ -4135,7 +4135,7 @@ var AnswerEntry = (_class41 = class {
|
|
|
4135
4135
|
}
|
|
4136
4136
|
queueCall(call, transform, a) {
|
|
4137
4137
|
if (this.queue.length >= callQueueSize2) {
|
|
4138
|
-
throw new Error(
|
|
4138
|
+
throw new Error(_chunkIVTBYMMNcjs.RPC_CALL_QUEUE_FULL);
|
|
4139
4139
|
}
|
|
4140
4140
|
const qcall = {
|
|
4141
4141
|
a,
|
|
@@ -4151,18 +4151,18 @@ var AnswerEntry = (_class41 = class {
|
|
|
4151
4151
|
function isRemoteCall(a) {
|
|
4152
4152
|
return !!a.a;
|
|
4153
4153
|
}
|
|
4154
|
-
|
|
4154
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, isRemoteCall, "isRemoteCall");
|
|
4155
4155
|
function isLocalCall(a) {
|
|
4156
4156
|
return !!a.f;
|
|
4157
4157
|
}
|
|
4158
|
-
|
|
4158
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, isLocalCall, "isLocalCall");
|
|
4159
4159
|
function isDisembargo(a) {
|
|
4160
4160
|
return !!a.embargoTarget;
|
|
4161
4161
|
}
|
|
4162
|
-
|
|
4162
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, isDisembargo, "isDisembargo");
|
|
4163
4163
|
var ImportClient = (_class42 = class {
|
|
4164
4164
|
static {
|
|
4165
|
-
|
|
4165
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "ImportClient");
|
|
4166
4166
|
}
|
|
4167
4167
|
constructor(conn, id) {;_class42.prototype.__init16.call(this);
|
|
4168
4168
|
this.conn = conn;
|
|
@@ -4171,7 +4171,7 @@ var ImportClient = (_class42 = class {
|
|
|
4171
4171
|
__init16() {this.closed = false}
|
|
4172
4172
|
call(cl) {
|
|
4173
4173
|
if (this.closed) {
|
|
4174
|
-
return new (0,
|
|
4174
|
+
return new (0, _chunkIVTBYMMNcjs.ErrorAnswer)(new Error(_chunkIVTBYMMNcjs.RPC_IMPORT_CLOSED));
|
|
4175
4175
|
}
|
|
4176
4176
|
const q = this.conn.newQuestion(cl.method);
|
|
4177
4177
|
const msg = newMessage();
|
|
@@ -4191,7 +4191,7 @@ var ImportClient = (_class42 = class {
|
|
|
4191
4191
|
}, _class42);
|
|
4192
4192
|
var LocalAnswerClient = class {
|
|
4193
4193
|
static {
|
|
4194
|
-
|
|
4194
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "LocalAnswerClient");
|
|
4195
4195
|
}
|
|
4196
4196
|
constructor(a, transform) {
|
|
4197
4197
|
this.a = a;
|
|
@@ -4206,16 +4206,16 @@ var LocalAnswerClient = class {
|
|
|
4206
4206
|
return new Fulfiller();
|
|
4207
4207
|
}
|
|
4208
4208
|
close() {
|
|
4209
|
-
throw new Error(
|
|
4209
|
+
throw new Error(_chunkIVTBYMMNcjs.NOT_IMPLEMENTED);
|
|
4210
4210
|
}
|
|
4211
4211
|
};
|
|
4212
4212
|
var ConnWeakRefRegistry = globalThis.FinalizationRegistry ? new FinalizationRegistry((cb) => cb()) : void 0;
|
|
4213
|
-
var ConDefaultFinalize = /* @__PURE__ */
|
|
4213
|
+
var ConDefaultFinalize = /* @__PURE__ */ _chunkIVTBYMMNcjs.__name.call(void 0, (obj, finalizer) => {
|
|
4214
4214
|
_optionalChain([ConnWeakRefRegistry, 'optionalAccess', _2 => _2.register, 'call', _3 => _3(obj, finalizer)]);
|
|
4215
4215
|
}, "ConDefaultFinalize");
|
|
4216
4216
|
var Conn = (_class43 = class {
|
|
4217
4217
|
static {
|
|
4218
|
-
|
|
4218
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "Conn");
|
|
4219
4219
|
}
|
|
4220
4220
|
/**
|
|
4221
4221
|
* Create a new connection
|
|
@@ -4247,7 +4247,7 @@ var Conn = (_class43 = class {
|
|
|
4247
4247
|
const boot = msg._initBootstrap();
|
|
4248
4248
|
boot.questionId = q.id;
|
|
4249
4249
|
this.sendMessage(msg);
|
|
4250
|
-
return new InterfaceClass.Client(new Pipeline(
|
|
4250
|
+
return new InterfaceClass.Client(new Pipeline(_chunkIVTBYMMNcjs.AnyStruct, q).client());
|
|
4251
4251
|
}
|
|
4252
4252
|
initMain(InterfaceClass, target) {
|
|
4253
4253
|
this.main = new InterfaceClass.Server(target);
|
|
@@ -4274,12 +4274,12 @@ var Conn = (_class43 = class {
|
|
|
4274
4274
|
ret.return.releaseParamCaps = false;
|
|
4275
4275
|
const a = this.insertAnswer(id);
|
|
4276
4276
|
if (a === null) {
|
|
4277
|
-
return this.sendReturnException(id, new Error(
|
|
4277
|
+
return this.sendReturnException(id, new Error(_chunkIVTBYMMNcjs.RPC_QUESTION_ID_REUSED));
|
|
4278
4278
|
}
|
|
4279
4279
|
if (this.main === void 0) {
|
|
4280
|
-
return a.reject(new Error(
|
|
4280
|
+
return a.reject(new Error(_chunkIVTBYMMNcjs.RPC_NO_MAIN_INTERFACE));
|
|
4281
4281
|
}
|
|
4282
|
-
const msg = new (0,
|
|
4282
|
+
const msg = new (0, _chunkIVTBYMMNcjs.Message)();
|
|
4283
4283
|
msg.addCap(this.main);
|
|
4284
4284
|
a.fulfill(new Interface(msg.getSegment(0), 0));
|
|
4285
4285
|
}
|
|
@@ -4288,7 +4288,7 @@ var Conn = (_class43 = class {
|
|
|
4288
4288
|
const id = finish.questionId;
|
|
4289
4289
|
const a = this.popAnswer(id);
|
|
4290
4290
|
if (a === null) {
|
|
4291
|
-
throw new Error(
|
|
4291
|
+
throw new Error(_chunkIVTBYMMNcjs.format.call(void 0, _chunkIVTBYMMNcjs.RPC_FINISH_UNKNOWN_ANSWER, id));
|
|
4292
4292
|
}
|
|
4293
4293
|
if (finish.releaseResultCaps) {
|
|
4294
4294
|
const caps = a.resultCaps;
|
|
@@ -4330,7 +4330,7 @@ var Conn = (_class43 = class {
|
|
|
4330
4330
|
const id = ret.answerId;
|
|
4331
4331
|
const q = this.popQuestion(id);
|
|
4332
4332
|
if (!q) {
|
|
4333
|
-
throw new Error(
|
|
4333
|
+
throw new Error(_chunkIVTBYMMNcjs.format.call(void 0, _chunkIVTBYMMNcjs.RPC_RETURN_FOR_UNKNOWN_QUESTION, id));
|
|
4334
4334
|
}
|
|
4335
4335
|
if (ret.releaseParamCaps) {
|
|
4336
4336
|
for (let i = 0; i < q.paramCaps.length; i++) {
|
|
@@ -4376,7 +4376,7 @@ var Conn = (_class43 = class {
|
|
|
4376
4376
|
const id = mcall.questionId;
|
|
4377
4377
|
const a = this.insertAnswer(id);
|
|
4378
4378
|
if (!a) {
|
|
4379
|
-
throw new Error(
|
|
4379
|
+
throw new Error(_chunkIVTBYMMNcjs.format.call(void 0, _chunkIVTBYMMNcjs.RPC_QUESTION_ID_REUSED, id));
|
|
4380
4380
|
}
|
|
4381
4381
|
const interfaceDef = Registry.lookup(mcall.interfaceId);
|
|
4382
4382
|
if (!interfaceDef) {
|
|
@@ -4393,7 +4393,7 @@ var Conn = (_class43 = class {
|
|
|
4393
4393
|
const paramContent = mparams.content;
|
|
4394
4394
|
const call = {
|
|
4395
4395
|
method,
|
|
4396
|
-
params:
|
|
4396
|
+
params: _chunkIVTBYMMNcjs.getAs.call(void 0, method.ParamsClass, paramContent)
|
|
4397
4397
|
};
|
|
4398
4398
|
try {
|
|
4399
4399
|
this.routeCallMessage(a, mt, call);
|
|
@@ -4407,7 +4407,7 @@ var Conn = (_class43 = class {
|
|
|
4407
4407
|
const id = mt.importedCap;
|
|
4408
4408
|
const e = this.findExport(id);
|
|
4409
4409
|
if (!e) {
|
|
4410
|
-
throw new Error(
|
|
4410
|
+
throw new Error(_chunkIVTBYMMNcjs.RPC_BAD_TARGET);
|
|
4411
4411
|
}
|
|
4412
4412
|
const answer = this.call(e.client, cl);
|
|
4413
4413
|
joinAnswer(result, answer);
|
|
@@ -4417,11 +4417,11 @@ var Conn = (_class43 = class {
|
|
|
4417
4417
|
const mpromise = mt.promisedAnswer;
|
|
4418
4418
|
const id = mpromise.questionId;
|
|
4419
4419
|
if (id === result.id) {
|
|
4420
|
-
throw new Error(
|
|
4420
|
+
throw new Error(_chunkIVTBYMMNcjs.RPC_BAD_TARGET);
|
|
4421
4421
|
}
|
|
4422
4422
|
const pa = this.answers[id];
|
|
4423
4423
|
if (!pa) {
|
|
4424
|
-
throw new Error(
|
|
4424
|
+
throw new Error(_chunkIVTBYMMNcjs.RPC_BAD_TARGET);
|
|
4425
4425
|
}
|
|
4426
4426
|
const mtrans = mpromise.transform;
|
|
4427
4427
|
const transform = promisedAnswerOpsToTransform(mtrans);
|
|
@@ -4436,7 +4436,7 @@ var Conn = (_class43 = class {
|
|
|
4436
4436
|
break;
|
|
4437
4437
|
}
|
|
4438
4438
|
default: {
|
|
4439
|
-
throw new Error(
|
|
4439
|
+
throw new Error(_chunkIVTBYMMNcjs.INVARIANT_UNREACHABLE_CODE);
|
|
4440
4440
|
}
|
|
4441
4441
|
}
|
|
4442
4442
|
}
|
|
@@ -4465,7 +4465,7 @@ var Conn = (_class43 = class {
|
|
|
4465
4465
|
const id = desc.receiverHosted;
|
|
4466
4466
|
const e = this.findExport(id);
|
|
4467
4467
|
if (!e) {
|
|
4468
|
-
throw new Error(
|
|
4468
|
+
throw new Error(_chunkIVTBYMMNcjs.format.call(void 0, _chunkIVTBYMMNcjs.RPC_UNKNOWN_EXPORT_ID, id));
|
|
4469
4469
|
}
|
|
4470
4470
|
msg.addCap(e.rc.ref());
|
|
4471
4471
|
break;
|
|
@@ -4475,7 +4475,7 @@ var Conn = (_class43 = class {
|
|
|
4475
4475
|
const id = recvAns.questionId;
|
|
4476
4476
|
const a = this.answers[id];
|
|
4477
4477
|
if (!a) {
|
|
4478
|
-
throw new Error(
|
|
4478
|
+
throw new Error(_chunkIVTBYMMNcjs.format.call(void 0, _chunkIVTBYMMNcjs.RPC_UNKNOWN_ANSWER_ID, id));
|
|
4479
4479
|
}
|
|
4480
4480
|
const recvTransform = recvAns.transform;
|
|
4481
4481
|
const transform = promisedAnswerOpsToTransform(recvTransform);
|
|
@@ -4483,7 +4483,7 @@ var Conn = (_class43 = class {
|
|
|
4483
4483
|
break;
|
|
4484
4484
|
}
|
|
4485
4485
|
default: {
|
|
4486
|
-
throw new Error(
|
|
4486
|
+
throw new Error(_chunkIVTBYMMNcjs.format.call(void 0, _chunkIVTBYMMNcjs.RPC_UNKNOWN_CAP_DESCRIPTOR, desc.which()));
|
|
4487
4487
|
}
|
|
4488
4488
|
}
|
|
4489
4489
|
}
|
|
@@ -4635,7 +4635,7 @@ var Conn = (_class43 = class {
|
|
|
4635
4635
|
const p = client.pipeline;
|
|
4636
4636
|
const ans = p.answer;
|
|
4637
4637
|
const transform = p.transform();
|
|
4638
|
-
if (ans instanceof
|
|
4638
|
+
if (ans instanceof _chunkIVTBYMMNcjs.FixedAnswer) {
|
|
4639
4639
|
let s;
|
|
4640
4640
|
let err;
|
|
4641
4641
|
try {
|
|
@@ -4688,10 +4688,10 @@ var Conn = (_class43 = class {
|
|
|
4688
4688
|
function answerPipelineClient(a, transform) {
|
|
4689
4689
|
return new LocalAnswerClient(a, transform);
|
|
4690
4690
|
}
|
|
4691
|
-
|
|
4691
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, answerPipelineClient, "answerPipelineClient");
|
|
4692
4692
|
var DeferredTransport = (_class44 = class {constructor() { _class44.prototype.__init24.call(this);_class44.prototype.__init25.call(this);_class44.prototype.__init26.call(this); }
|
|
4693
4693
|
static {
|
|
4694
|
-
|
|
4694
|
+
_chunkIVTBYMMNcjs.__name.call(void 0, this, "DeferredTransport");
|
|
4695
4695
|
}
|
|
4696
4696
|
|
|
4697
4697
|
__init24() {this.closed = false}
|
|
@@ -4709,12 +4709,12 @@ var DeferredTransport = (_class44 = class {constructor() { _class44.prototype.__
|
|
|
4709
4709
|
this.d = new Deferred();
|
|
4710
4710
|
return this.d.promise;
|
|
4711
4711
|
}
|
|
4712
|
-
__init25() {this.reject = /* @__PURE__ */
|
|
4712
|
+
__init25() {this.reject = /* @__PURE__ */ _chunkIVTBYMMNcjs.__name.call(void 0, (err) => {
|
|
4713
4713
|
_optionalChain([this, 'access', _16 => _16.d, 'optionalAccess', _17 => _17.reject, 'call', _18 => _18(err)]);
|
|
4714
4714
|
}, "reject")}
|
|
4715
|
-
__init26() {this.resolve = /* @__PURE__ */
|
|
4715
|
+
__init26() {this.resolve = /* @__PURE__ */ _chunkIVTBYMMNcjs.__name.call(void 0, (buf) => {
|
|
4716
4716
|
try {
|
|
4717
|
-
_optionalChain([this, 'access', _19 => _19.d, 'optionalAccess', _20 => _20.resolve, 'call', _21 => _21(new (0,
|
|
4717
|
+
_optionalChain([this, 'access', _19 => _19.d, 'optionalAccess', _20 => _20.resolve, 'call', _21 => _21(new (0, _chunkIVTBYMMNcjs.Message)(buf, false).getRoot(Message2))]);
|
|
4718
4718
|
} catch (error_) {
|
|
4719
4719
|
_optionalChain([this, 'access', _22 => _22.d, 'optionalAccess', _23 => _23.reject, 'call', _24 => _24(error_)]);
|
|
4720
4720
|
}
|