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