@stryke/capnp 0.12.20 → 0.12.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-CUP3M7JH.cjs → chunk-LFP6TIPQ.cjs} +2 -119
- package/dist/{chunk-MO4AXOIN.js → chunk-ZIENMW4V.js} +1 -118
- package/dist/compile.d.cts +1 -0
- package/dist/compile.d.ts +1 -0
- package/dist/index.cjs +2 -6
- package/dist/index.d.cts +0 -3
- package/dist/index.d.ts +0 -3
- package/dist/index.js +1 -5
- package/dist/rpc.cjs +134 -5
- package/dist/rpc.d.cts +13 -2
- package/dist/rpc.d.ts +13 -2
- package/dist/rpc.js +135 -6
- package/dts/index.d.cts +0 -57
- package/dts/index.d.ts +0 -57
- package/package.json +4 -4
- package/schemas/{chunk-RKF2BUL7.cjs → chunk-OP6MHN5D.cjs} +0 -3
- package/schemas/{chunk-H4DSZQJU.js → chunk-SKMHAD7G.js} +0 -3
- 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/schemas/rpc.cjs
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkOP6MHN5Dcjs = require('./chunk-OP6MHN5D.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
var _chunkUSNT2KNTcjs = require('./chunk-USNT2KNT.cjs');
|
|
@@ -106,7 +106,7 @@ var Message_Which = {
|
|
|
106
106
|
*/
|
|
107
107
|
JOIN: 12
|
|
108
108
|
};
|
|
109
|
-
var Message = (_class = class _Message extends
|
|
109
|
+
var Message = (_class = class _Message extends _chunkOP6MHN5Dcjs.Struct {
|
|
110
110
|
static {
|
|
111
111
|
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Message");
|
|
112
112
|
}
|
|
@@ -127,14 +127,14 @@ var Message = (_class = class _Message extends _chunkRKF2BUL7cjs.Struct {
|
|
|
127
127
|
static __initStatic15() {this._capnp = {
|
|
128
128
|
displayName: "Message",
|
|
129
129
|
id: "91b79f1f808db032",
|
|
130
|
-
size: new (0,
|
|
130
|
+
size: new (0, _chunkOP6MHN5Dcjs.ObjectSize)(8, 1)
|
|
131
131
|
}}
|
|
132
132
|
_adoptUnimplemented(value) {
|
|
133
|
-
|
|
134
|
-
|
|
133
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 0, this);
|
|
134
|
+
_chunkOP6MHN5Dcjs.utils.adopt(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
135
135
|
}
|
|
136
136
|
_disownUnimplemented() {
|
|
137
|
-
return
|
|
137
|
+
return _chunkOP6MHN5Dcjs.utils.disown(this.unimplemented);
|
|
138
138
|
}
|
|
139
139
|
/**
|
|
140
140
|
* The sender previously received this message from the peer but didn't understand it or doesn't
|
|
@@ -156,29 +156,29 @@ var Message = (_class = class _Message extends _chunkRKF2BUL7cjs.Struct {
|
|
|
156
156
|
*
|
|
157
157
|
*/
|
|
158
158
|
get unimplemented() {
|
|
159
|
-
|
|
160
|
-
return
|
|
159
|
+
_chunkOP6MHN5Dcjs.utils.testWhich("unimplemented", _chunkOP6MHN5Dcjs.utils.getUint16(0, this), 0, this);
|
|
160
|
+
return _chunkOP6MHN5Dcjs.utils.getStruct(0, _Message, this);
|
|
161
161
|
}
|
|
162
162
|
_hasUnimplemented() {
|
|
163
|
-
return !
|
|
163
|
+
return !_chunkOP6MHN5Dcjs.utils.isNull(_chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
164
164
|
}
|
|
165
165
|
_initUnimplemented() {
|
|
166
|
-
|
|
167
|
-
return
|
|
166
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 0, this);
|
|
167
|
+
return _chunkOP6MHN5Dcjs.utils.initStructAt(0, _Message, this);
|
|
168
168
|
}
|
|
169
169
|
get _isUnimplemented() {
|
|
170
|
-
return
|
|
170
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(0, this) === 0;
|
|
171
171
|
}
|
|
172
172
|
set unimplemented(value) {
|
|
173
|
-
|
|
174
|
-
|
|
173
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 0, this);
|
|
174
|
+
_chunkOP6MHN5Dcjs.utils.copyFrom(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
175
175
|
}
|
|
176
176
|
_adoptAbort(value) {
|
|
177
|
-
|
|
178
|
-
|
|
177
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 1, this);
|
|
178
|
+
_chunkOP6MHN5Dcjs.utils.adopt(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
179
179
|
}
|
|
180
180
|
_disownAbort() {
|
|
181
|
-
return
|
|
181
|
+
return _chunkOP6MHN5Dcjs.utils.disown(this.abort);
|
|
182
182
|
}
|
|
183
183
|
/**
|
|
184
184
|
* Sent when a connection is being aborted due to an unrecoverable error. This could be e.g.
|
|
@@ -190,232 +190,232 @@ var Message = (_class = class _Message extends _chunkRKF2BUL7cjs.Struct {
|
|
|
190
190
|
*
|
|
191
191
|
*/
|
|
192
192
|
get abort() {
|
|
193
|
-
|
|
194
|
-
return
|
|
193
|
+
_chunkOP6MHN5Dcjs.utils.testWhich("abort", _chunkOP6MHN5Dcjs.utils.getUint16(0, this), 1, this);
|
|
194
|
+
return _chunkOP6MHN5Dcjs.utils.getStruct(0, Exception, this);
|
|
195
195
|
}
|
|
196
196
|
_hasAbort() {
|
|
197
|
-
return !
|
|
197
|
+
return !_chunkOP6MHN5Dcjs.utils.isNull(_chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
198
198
|
}
|
|
199
199
|
_initAbort() {
|
|
200
|
-
|
|
201
|
-
return
|
|
200
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 1, this);
|
|
201
|
+
return _chunkOP6MHN5Dcjs.utils.initStructAt(0, Exception, this);
|
|
202
202
|
}
|
|
203
203
|
get _isAbort() {
|
|
204
|
-
return
|
|
204
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(0, this) === 1;
|
|
205
205
|
}
|
|
206
206
|
set abort(value) {
|
|
207
|
-
|
|
208
|
-
|
|
207
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 1, this);
|
|
208
|
+
_chunkOP6MHN5Dcjs.utils.copyFrom(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
209
209
|
}
|
|
210
210
|
_adoptBootstrap(value) {
|
|
211
|
-
|
|
212
|
-
|
|
211
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 8, this);
|
|
212
|
+
_chunkOP6MHN5Dcjs.utils.adopt(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
213
213
|
}
|
|
214
214
|
_disownBootstrap() {
|
|
215
|
-
return
|
|
215
|
+
return _chunkOP6MHN5Dcjs.utils.disown(this.bootstrap);
|
|
216
216
|
}
|
|
217
217
|
/**
|
|
218
218
|
* Request the peer's bootstrap interface.
|
|
219
219
|
*
|
|
220
220
|
*/
|
|
221
221
|
get bootstrap() {
|
|
222
|
-
|
|
223
|
-
return
|
|
222
|
+
_chunkOP6MHN5Dcjs.utils.testWhich("bootstrap", _chunkOP6MHN5Dcjs.utils.getUint16(0, this), 8, this);
|
|
223
|
+
return _chunkOP6MHN5Dcjs.utils.getStruct(0, Bootstrap, this);
|
|
224
224
|
}
|
|
225
225
|
_hasBootstrap() {
|
|
226
|
-
return !
|
|
226
|
+
return !_chunkOP6MHN5Dcjs.utils.isNull(_chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
227
227
|
}
|
|
228
228
|
_initBootstrap() {
|
|
229
|
-
|
|
230
|
-
return
|
|
229
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 8, this);
|
|
230
|
+
return _chunkOP6MHN5Dcjs.utils.initStructAt(0, Bootstrap, this);
|
|
231
231
|
}
|
|
232
232
|
get _isBootstrap() {
|
|
233
|
-
return
|
|
233
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(0, this) === 8;
|
|
234
234
|
}
|
|
235
235
|
set bootstrap(value) {
|
|
236
|
-
|
|
237
|
-
|
|
236
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 8, this);
|
|
237
|
+
_chunkOP6MHN5Dcjs.utils.copyFrom(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
238
238
|
}
|
|
239
239
|
_adoptCall(value) {
|
|
240
|
-
|
|
241
|
-
|
|
240
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 2, this);
|
|
241
|
+
_chunkOP6MHN5Dcjs.utils.adopt(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
242
242
|
}
|
|
243
243
|
_disownCall() {
|
|
244
|
-
return
|
|
244
|
+
return _chunkOP6MHN5Dcjs.utils.disown(this.call);
|
|
245
245
|
}
|
|
246
246
|
/**
|
|
247
247
|
* Begin a method call.
|
|
248
248
|
*
|
|
249
249
|
*/
|
|
250
250
|
get call() {
|
|
251
|
-
|
|
252
|
-
return
|
|
251
|
+
_chunkOP6MHN5Dcjs.utils.testWhich("call", _chunkOP6MHN5Dcjs.utils.getUint16(0, this), 2, this);
|
|
252
|
+
return _chunkOP6MHN5Dcjs.utils.getStruct(0, Call, this);
|
|
253
253
|
}
|
|
254
254
|
_hasCall() {
|
|
255
|
-
return !
|
|
255
|
+
return !_chunkOP6MHN5Dcjs.utils.isNull(_chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
256
256
|
}
|
|
257
257
|
_initCall() {
|
|
258
|
-
|
|
259
|
-
return
|
|
258
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 2, this);
|
|
259
|
+
return _chunkOP6MHN5Dcjs.utils.initStructAt(0, Call, this);
|
|
260
260
|
}
|
|
261
261
|
get _isCall() {
|
|
262
|
-
return
|
|
262
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(0, this) === 2;
|
|
263
263
|
}
|
|
264
264
|
set call(value) {
|
|
265
|
-
|
|
266
|
-
|
|
265
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 2, this);
|
|
266
|
+
_chunkOP6MHN5Dcjs.utils.copyFrom(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
267
267
|
}
|
|
268
268
|
_adoptReturn(value) {
|
|
269
|
-
|
|
270
|
-
|
|
269
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 3, this);
|
|
270
|
+
_chunkOP6MHN5Dcjs.utils.adopt(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
271
271
|
}
|
|
272
272
|
_disownReturn() {
|
|
273
|
-
return
|
|
273
|
+
return _chunkOP6MHN5Dcjs.utils.disown(this.return);
|
|
274
274
|
}
|
|
275
275
|
/**
|
|
276
276
|
* Complete a method call.
|
|
277
277
|
*
|
|
278
278
|
*/
|
|
279
279
|
get return() {
|
|
280
|
-
|
|
281
|
-
return
|
|
280
|
+
_chunkOP6MHN5Dcjs.utils.testWhich("return", _chunkOP6MHN5Dcjs.utils.getUint16(0, this), 3, this);
|
|
281
|
+
return _chunkOP6MHN5Dcjs.utils.getStruct(0, Return, this);
|
|
282
282
|
}
|
|
283
283
|
_hasReturn() {
|
|
284
|
-
return !
|
|
284
|
+
return !_chunkOP6MHN5Dcjs.utils.isNull(_chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
285
285
|
}
|
|
286
286
|
_initReturn() {
|
|
287
|
-
|
|
288
|
-
return
|
|
287
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 3, this);
|
|
288
|
+
return _chunkOP6MHN5Dcjs.utils.initStructAt(0, Return, this);
|
|
289
289
|
}
|
|
290
290
|
get _isReturn() {
|
|
291
|
-
return
|
|
291
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(0, this) === 3;
|
|
292
292
|
}
|
|
293
293
|
set return(value) {
|
|
294
|
-
|
|
295
|
-
|
|
294
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 3, this);
|
|
295
|
+
_chunkOP6MHN5Dcjs.utils.copyFrom(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
296
296
|
}
|
|
297
297
|
_adoptFinish(value) {
|
|
298
|
-
|
|
299
|
-
|
|
298
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 4, this);
|
|
299
|
+
_chunkOP6MHN5Dcjs.utils.adopt(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
300
300
|
}
|
|
301
301
|
_disownFinish() {
|
|
302
|
-
return
|
|
302
|
+
return _chunkOP6MHN5Dcjs.utils.disown(this.finish);
|
|
303
303
|
}
|
|
304
304
|
/**
|
|
305
305
|
* Release a returned answer / cancel a call.
|
|
306
306
|
*
|
|
307
307
|
*/
|
|
308
308
|
get finish() {
|
|
309
|
-
|
|
310
|
-
return
|
|
309
|
+
_chunkOP6MHN5Dcjs.utils.testWhich("finish", _chunkOP6MHN5Dcjs.utils.getUint16(0, this), 4, this);
|
|
310
|
+
return _chunkOP6MHN5Dcjs.utils.getStruct(0, Finish, this);
|
|
311
311
|
}
|
|
312
312
|
_hasFinish() {
|
|
313
|
-
return !
|
|
313
|
+
return !_chunkOP6MHN5Dcjs.utils.isNull(_chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
314
314
|
}
|
|
315
315
|
_initFinish() {
|
|
316
|
-
|
|
317
|
-
return
|
|
316
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 4, this);
|
|
317
|
+
return _chunkOP6MHN5Dcjs.utils.initStructAt(0, Finish, this);
|
|
318
318
|
}
|
|
319
319
|
get _isFinish() {
|
|
320
|
-
return
|
|
320
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(0, this) === 4;
|
|
321
321
|
}
|
|
322
322
|
set finish(value) {
|
|
323
|
-
|
|
324
|
-
|
|
323
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 4, this);
|
|
324
|
+
_chunkOP6MHN5Dcjs.utils.copyFrom(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
325
325
|
}
|
|
326
326
|
_adoptResolve(value) {
|
|
327
|
-
|
|
328
|
-
|
|
327
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 5, this);
|
|
328
|
+
_chunkOP6MHN5Dcjs.utils.adopt(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
329
329
|
}
|
|
330
330
|
_disownResolve() {
|
|
331
|
-
return
|
|
331
|
+
return _chunkOP6MHN5Dcjs.utils.disown(this.resolve);
|
|
332
332
|
}
|
|
333
333
|
/**
|
|
334
334
|
* Resolve a previously-sent promise.
|
|
335
335
|
*
|
|
336
336
|
*/
|
|
337
337
|
get resolve() {
|
|
338
|
-
|
|
339
|
-
return
|
|
338
|
+
_chunkOP6MHN5Dcjs.utils.testWhich("resolve", _chunkOP6MHN5Dcjs.utils.getUint16(0, this), 5, this);
|
|
339
|
+
return _chunkOP6MHN5Dcjs.utils.getStruct(0, Resolve, this);
|
|
340
340
|
}
|
|
341
341
|
_hasResolve() {
|
|
342
|
-
return !
|
|
342
|
+
return !_chunkOP6MHN5Dcjs.utils.isNull(_chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
343
343
|
}
|
|
344
344
|
_initResolve() {
|
|
345
|
-
|
|
346
|
-
return
|
|
345
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 5, this);
|
|
346
|
+
return _chunkOP6MHN5Dcjs.utils.initStructAt(0, Resolve, this);
|
|
347
347
|
}
|
|
348
348
|
get _isResolve() {
|
|
349
|
-
return
|
|
349
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(0, this) === 5;
|
|
350
350
|
}
|
|
351
351
|
set resolve(value) {
|
|
352
|
-
|
|
353
|
-
|
|
352
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 5, this);
|
|
353
|
+
_chunkOP6MHN5Dcjs.utils.copyFrom(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
354
354
|
}
|
|
355
355
|
_adoptRelease(value) {
|
|
356
|
-
|
|
357
|
-
|
|
356
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 6, this);
|
|
357
|
+
_chunkOP6MHN5Dcjs.utils.adopt(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
358
358
|
}
|
|
359
359
|
_disownRelease() {
|
|
360
|
-
return
|
|
360
|
+
return _chunkOP6MHN5Dcjs.utils.disown(this.release);
|
|
361
361
|
}
|
|
362
362
|
/**
|
|
363
363
|
* Release a capability so that the remote object can be deallocated.
|
|
364
364
|
*
|
|
365
365
|
*/
|
|
366
366
|
get release() {
|
|
367
|
-
|
|
368
|
-
return
|
|
367
|
+
_chunkOP6MHN5Dcjs.utils.testWhich("release", _chunkOP6MHN5Dcjs.utils.getUint16(0, this), 6, this);
|
|
368
|
+
return _chunkOP6MHN5Dcjs.utils.getStruct(0, Release, this);
|
|
369
369
|
}
|
|
370
370
|
_hasRelease() {
|
|
371
|
-
return !
|
|
371
|
+
return !_chunkOP6MHN5Dcjs.utils.isNull(_chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
372
372
|
}
|
|
373
373
|
_initRelease() {
|
|
374
|
-
|
|
375
|
-
return
|
|
374
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 6, this);
|
|
375
|
+
return _chunkOP6MHN5Dcjs.utils.initStructAt(0, Release, this);
|
|
376
376
|
}
|
|
377
377
|
get _isRelease() {
|
|
378
|
-
return
|
|
378
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(0, this) === 6;
|
|
379
379
|
}
|
|
380
380
|
set release(value) {
|
|
381
|
-
|
|
382
|
-
|
|
381
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 6, this);
|
|
382
|
+
_chunkOP6MHN5Dcjs.utils.copyFrom(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
383
383
|
}
|
|
384
384
|
_adoptDisembargo(value) {
|
|
385
|
-
|
|
386
|
-
|
|
385
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 13, this);
|
|
386
|
+
_chunkOP6MHN5Dcjs.utils.adopt(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
387
387
|
}
|
|
388
388
|
_disownDisembargo() {
|
|
389
|
-
return
|
|
389
|
+
return _chunkOP6MHN5Dcjs.utils.disown(this.disembargo);
|
|
390
390
|
}
|
|
391
391
|
/**
|
|
392
392
|
* Lift an embargo used to enforce E-order over promise resolution.
|
|
393
393
|
*
|
|
394
394
|
*/
|
|
395
395
|
get disembargo() {
|
|
396
|
-
|
|
397
|
-
return
|
|
396
|
+
_chunkOP6MHN5Dcjs.utils.testWhich("disembargo", _chunkOP6MHN5Dcjs.utils.getUint16(0, this), 13, this);
|
|
397
|
+
return _chunkOP6MHN5Dcjs.utils.getStruct(0, Disembargo, this);
|
|
398
398
|
}
|
|
399
399
|
_hasDisembargo() {
|
|
400
|
-
return !
|
|
400
|
+
return !_chunkOP6MHN5Dcjs.utils.isNull(_chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
401
401
|
}
|
|
402
402
|
_initDisembargo() {
|
|
403
|
-
|
|
404
|
-
return
|
|
403
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 13, this);
|
|
404
|
+
return _chunkOP6MHN5Dcjs.utils.initStructAt(0, Disembargo, this);
|
|
405
405
|
}
|
|
406
406
|
get _isDisembargo() {
|
|
407
|
-
return
|
|
407
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(0, this) === 13;
|
|
408
408
|
}
|
|
409
409
|
set disembargo(value) {
|
|
410
|
-
|
|
411
|
-
|
|
410
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 13, this);
|
|
411
|
+
_chunkOP6MHN5Dcjs.utils.copyFrom(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
412
412
|
}
|
|
413
413
|
_adoptObsoleteSave(value) {
|
|
414
|
-
|
|
415
|
-
|
|
414
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 7, this);
|
|
415
|
+
_chunkOP6MHN5Dcjs.utils.adopt(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
416
416
|
}
|
|
417
417
|
_disownObsoleteSave() {
|
|
418
|
-
return
|
|
418
|
+
return _chunkOP6MHN5Dcjs.utils.disown(this.obsoleteSave);
|
|
419
419
|
}
|
|
420
420
|
/**
|
|
421
421
|
* Obsolete request to save a capability, resulting in a SturdyRef. This has been replaced
|
|
@@ -424,146 +424,146 @@ var Message = (_class = class _Message extends _chunkRKF2BUL7cjs.Struct {
|
|
|
424
424
|
*
|
|
425
425
|
*/
|
|
426
426
|
get obsoleteSave() {
|
|
427
|
-
|
|
428
|
-
return
|
|
427
|
+
_chunkOP6MHN5Dcjs.utils.testWhich("obsoleteSave", _chunkOP6MHN5Dcjs.utils.getUint16(0, this), 7, this);
|
|
428
|
+
return _chunkOP6MHN5Dcjs.utils.getPointer(0, this);
|
|
429
429
|
}
|
|
430
430
|
_hasObsoleteSave() {
|
|
431
|
-
return !
|
|
431
|
+
return !_chunkOP6MHN5Dcjs.utils.isNull(_chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
432
432
|
}
|
|
433
433
|
get _isObsoleteSave() {
|
|
434
|
-
return
|
|
434
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(0, this) === 7;
|
|
435
435
|
}
|
|
436
436
|
set obsoleteSave(value) {
|
|
437
|
-
|
|
438
|
-
|
|
437
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 7, this);
|
|
438
|
+
_chunkOP6MHN5Dcjs.utils.copyFrom(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
439
439
|
}
|
|
440
440
|
_adoptObsoleteDelete(value) {
|
|
441
|
-
|
|
442
|
-
|
|
441
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 9, this);
|
|
442
|
+
_chunkOP6MHN5Dcjs.utils.adopt(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
443
443
|
}
|
|
444
444
|
_disownObsoleteDelete() {
|
|
445
|
-
return
|
|
445
|
+
return _chunkOP6MHN5Dcjs.utils.disown(this.obsoleteDelete);
|
|
446
446
|
}
|
|
447
447
|
/**
|
|
448
448
|
* Obsolete way to delete a SturdyRef. This operation was never implemented.
|
|
449
449
|
*
|
|
450
450
|
*/
|
|
451
451
|
get obsoleteDelete() {
|
|
452
|
-
|
|
453
|
-
return
|
|
452
|
+
_chunkOP6MHN5Dcjs.utils.testWhich("obsoleteDelete", _chunkOP6MHN5Dcjs.utils.getUint16(0, this), 9, this);
|
|
453
|
+
return _chunkOP6MHN5Dcjs.utils.getPointer(0, this);
|
|
454
454
|
}
|
|
455
455
|
_hasObsoleteDelete() {
|
|
456
|
-
return !
|
|
456
|
+
return !_chunkOP6MHN5Dcjs.utils.isNull(_chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
457
457
|
}
|
|
458
458
|
get _isObsoleteDelete() {
|
|
459
|
-
return
|
|
459
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(0, this) === 9;
|
|
460
460
|
}
|
|
461
461
|
set obsoleteDelete(value) {
|
|
462
|
-
|
|
463
|
-
|
|
462
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 9, this);
|
|
463
|
+
_chunkOP6MHN5Dcjs.utils.copyFrom(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
464
464
|
}
|
|
465
465
|
_adoptProvide(value) {
|
|
466
|
-
|
|
467
|
-
|
|
466
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 10, this);
|
|
467
|
+
_chunkOP6MHN5Dcjs.utils.adopt(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
468
468
|
}
|
|
469
469
|
_disownProvide() {
|
|
470
|
-
return
|
|
470
|
+
return _chunkOP6MHN5Dcjs.utils.disown(this.provide);
|
|
471
471
|
}
|
|
472
472
|
/**
|
|
473
473
|
* Provide a capability to a third party.
|
|
474
474
|
*
|
|
475
475
|
*/
|
|
476
476
|
get provide() {
|
|
477
|
-
|
|
478
|
-
return
|
|
477
|
+
_chunkOP6MHN5Dcjs.utils.testWhich("provide", _chunkOP6MHN5Dcjs.utils.getUint16(0, this), 10, this);
|
|
478
|
+
return _chunkOP6MHN5Dcjs.utils.getStruct(0, Provide, this);
|
|
479
479
|
}
|
|
480
480
|
_hasProvide() {
|
|
481
|
-
return !
|
|
481
|
+
return !_chunkOP6MHN5Dcjs.utils.isNull(_chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
482
482
|
}
|
|
483
483
|
_initProvide() {
|
|
484
|
-
|
|
485
|
-
return
|
|
484
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 10, this);
|
|
485
|
+
return _chunkOP6MHN5Dcjs.utils.initStructAt(0, Provide, this);
|
|
486
486
|
}
|
|
487
487
|
get _isProvide() {
|
|
488
|
-
return
|
|
488
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(0, this) === 10;
|
|
489
489
|
}
|
|
490
490
|
set provide(value) {
|
|
491
|
-
|
|
492
|
-
|
|
491
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 10, this);
|
|
492
|
+
_chunkOP6MHN5Dcjs.utils.copyFrom(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
493
493
|
}
|
|
494
494
|
_adoptAccept(value) {
|
|
495
|
-
|
|
496
|
-
|
|
495
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 11, this);
|
|
496
|
+
_chunkOP6MHN5Dcjs.utils.adopt(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
497
497
|
}
|
|
498
498
|
_disownAccept() {
|
|
499
|
-
return
|
|
499
|
+
return _chunkOP6MHN5Dcjs.utils.disown(this.accept);
|
|
500
500
|
}
|
|
501
501
|
/**
|
|
502
502
|
* Accept a capability provided by a third party.
|
|
503
503
|
*
|
|
504
504
|
*/
|
|
505
505
|
get accept() {
|
|
506
|
-
|
|
507
|
-
return
|
|
506
|
+
_chunkOP6MHN5Dcjs.utils.testWhich("accept", _chunkOP6MHN5Dcjs.utils.getUint16(0, this), 11, this);
|
|
507
|
+
return _chunkOP6MHN5Dcjs.utils.getStruct(0, Accept, this);
|
|
508
508
|
}
|
|
509
509
|
_hasAccept() {
|
|
510
|
-
return !
|
|
510
|
+
return !_chunkOP6MHN5Dcjs.utils.isNull(_chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
511
511
|
}
|
|
512
512
|
_initAccept() {
|
|
513
|
-
|
|
514
|
-
return
|
|
513
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 11, this);
|
|
514
|
+
return _chunkOP6MHN5Dcjs.utils.initStructAt(0, Accept, this);
|
|
515
515
|
}
|
|
516
516
|
get _isAccept() {
|
|
517
|
-
return
|
|
517
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(0, this) === 11;
|
|
518
518
|
}
|
|
519
519
|
set accept(value) {
|
|
520
|
-
|
|
521
|
-
|
|
520
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 11, this);
|
|
521
|
+
_chunkOP6MHN5Dcjs.utils.copyFrom(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
522
522
|
}
|
|
523
523
|
_adoptJoin(value) {
|
|
524
|
-
|
|
525
|
-
|
|
524
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 12, this);
|
|
525
|
+
_chunkOP6MHN5Dcjs.utils.adopt(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
526
526
|
}
|
|
527
527
|
_disownJoin() {
|
|
528
|
-
return
|
|
528
|
+
return _chunkOP6MHN5Dcjs.utils.disown(this.join);
|
|
529
529
|
}
|
|
530
530
|
/**
|
|
531
531
|
* Directly connect to the common root of two or more proxied caps.
|
|
532
532
|
*
|
|
533
533
|
*/
|
|
534
534
|
get join() {
|
|
535
|
-
|
|
536
|
-
return
|
|
535
|
+
_chunkOP6MHN5Dcjs.utils.testWhich("join", _chunkOP6MHN5Dcjs.utils.getUint16(0, this), 12, this);
|
|
536
|
+
return _chunkOP6MHN5Dcjs.utils.getStruct(0, Join, this);
|
|
537
537
|
}
|
|
538
538
|
_hasJoin() {
|
|
539
|
-
return !
|
|
539
|
+
return !_chunkOP6MHN5Dcjs.utils.isNull(_chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
540
540
|
}
|
|
541
541
|
_initJoin() {
|
|
542
|
-
|
|
543
|
-
return
|
|
542
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 12, this);
|
|
543
|
+
return _chunkOP6MHN5Dcjs.utils.initStructAt(0, Join, this);
|
|
544
544
|
}
|
|
545
545
|
get _isJoin() {
|
|
546
|
-
return
|
|
546
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(0, this) === 12;
|
|
547
547
|
}
|
|
548
548
|
set join(value) {
|
|
549
|
-
|
|
550
|
-
|
|
549
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 12, this);
|
|
550
|
+
_chunkOP6MHN5Dcjs.utils.copyFrom(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
551
551
|
}
|
|
552
552
|
toString() {
|
|
553
553
|
return "Message_" + super.toString();
|
|
554
554
|
}
|
|
555
555
|
which() {
|
|
556
|
-
return
|
|
556
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(0, this);
|
|
557
557
|
}
|
|
558
558
|
}, _class.__initStatic(), _class.__initStatic2(), _class.__initStatic3(), _class.__initStatic4(), _class.__initStatic5(), _class.__initStatic6(), _class.__initStatic7(), _class.__initStatic8(), _class.__initStatic9(), _class.__initStatic10(), _class.__initStatic11(), _class.__initStatic12(), _class.__initStatic13(), _class.__initStatic14(), _class.__initStatic15(), _class);
|
|
559
|
-
var Bootstrap = (_class2 = class extends
|
|
559
|
+
var Bootstrap = (_class2 = class extends _chunkOP6MHN5Dcjs.Struct {
|
|
560
560
|
static {
|
|
561
561
|
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Bootstrap");
|
|
562
562
|
}
|
|
563
563
|
static __initStatic16() {this._capnp = {
|
|
564
564
|
displayName: "Bootstrap",
|
|
565
565
|
id: "e94ccf8031176ec4",
|
|
566
|
-
size: new (0,
|
|
566
|
+
size: new (0, _chunkOP6MHN5Dcjs.ObjectSize)(8, 1)
|
|
567
567
|
}}
|
|
568
568
|
/**
|
|
569
569
|
* A new question ID identifying this request, which will eventually receive a Return message
|
|
@@ -571,16 +571,16 @@ var Bootstrap = (_class2 = class extends _chunkRKF2BUL7cjs.Struct {
|
|
|
571
571
|
*
|
|
572
572
|
*/
|
|
573
573
|
get questionId() {
|
|
574
|
-
return
|
|
574
|
+
return _chunkOP6MHN5Dcjs.utils.getUint32(0, this);
|
|
575
575
|
}
|
|
576
576
|
set questionId(value) {
|
|
577
|
-
|
|
577
|
+
_chunkOP6MHN5Dcjs.utils.setUint32(0, value, this);
|
|
578
578
|
}
|
|
579
579
|
_adoptDeprecatedObjectId(value) {
|
|
580
|
-
|
|
580
|
+
_chunkOP6MHN5Dcjs.utils.adopt(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
581
581
|
}
|
|
582
582
|
_disownDeprecatedObjectId() {
|
|
583
|
-
return
|
|
583
|
+
return _chunkOP6MHN5Dcjs.utils.disown(this.deprecatedObjectId);
|
|
584
584
|
}
|
|
585
585
|
/**
|
|
586
586
|
* ** DEPRECATED **
|
|
@@ -659,13 +659,13 @@ var Bootstrap = (_class2 = class extends _chunkRKF2BUL7cjs.Struct {
|
|
|
659
659
|
*
|
|
660
660
|
*/
|
|
661
661
|
get deprecatedObjectId() {
|
|
662
|
-
return
|
|
662
|
+
return _chunkOP6MHN5Dcjs.utils.getPointer(0, this);
|
|
663
663
|
}
|
|
664
664
|
_hasDeprecatedObjectId() {
|
|
665
|
-
return !
|
|
665
|
+
return !_chunkOP6MHN5Dcjs.utils.isNull(_chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
666
666
|
}
|
|
667
667
|
set deprecatedObjectId(value) {
|
|
668
|
-
|
|
668
|
+
_chunkOP6MHN5Dcjs.utils.copyFrom(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
669
669
|
}
|
|
670
670
|
toString() {
|
|
671
671
|
return "Bootstrap_" + super.toString();
|
|
@@ -733,7 +733,7 @@ var Call_SendResultsTo_Which = {
|
|
|
733
733
|
*/
|
|
734
734
|
THIRD_PARTY: 2
|
|
735
735
|
};
|
|
736
|
-
var Call_SendResultsTo = (_class3 = class extends
|
|
736
|
+
var Call_SendResultsTo = (_class3 = class extends _chunkOP6MHN5Dcjs.Struct {
|
|
737
737
|
static {
|
|
738
738
|
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Call_SendResultsTo");
|
|
739
739
|
}
|
|
@@ -743,26 +743,26 @@ var Call_SendResultsTo = (_class3 = class extends _chunkRKF2BUL7cjs.Struct {
|
|
|
743
743
|
static __initStatic20() {this._capnp = {
|
|
744
744
|
displayName: "sendResultsTo",
|
|
745
745
|
id: "dae8b0f61aab5f99",
|
|
746
|
-
size: new (0,
|
|
746
|
+
size: new (0, _chunkOP6MHN5Dcjs.ObjectSize)(24, 3)
|
|
747
747
|
}}
|
|
748
748
|
get _isCaller() {
|
|
749
|
-
return
|
|
749
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(6, this) === 0;
|
|
750
750
|
}
|
|
751
751
|
set caller(_) {
|
|
752
|
-
|
|
752
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(6, 0, this);
|
|
753
753
|
}
|
|
754
754
|
get _isYourself() {
|
|
755
|
-
return
|
|
755
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(6, this) === 1;
|
|
756
756
|
}
|
|
757
757
|
set yourself(_) {
|
|
758
|
-
|
|
758
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(6, 1, this);
|
|
759
759
|
}
|
|
760
760
|
_adoptThirdParty(value) {
|
|
761
|
-
|
|
762
|
-
|
|
761
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(6, 2, this);
|
|
762
|
+
_chunkOP6MHN5Dcjs.utils.adopt(value, _chunkOP6MHN5Dcjs.utils.getPointer(2, this));
|
|
763
763
|
}
|
|
764
764
|
_disownThirdParty() {
|
|
765
|
-
return
|
|
765
|
+
return _chunkOP6MHN5Dcjs.utils.disown(this.thirdParty);
|
|
766
766
|
}
|
|
767
767
|
/**
|
|
768
768
|
* **(level 3)**
|
|
@@ -779,37 +779,37 @@ var Call_SendResultsTo = (_class3 = class extends _chunkRKF2BUL7cjs.Struct {
|
|
|
779
779
|
*
|
|
780
780
|
*/
|
|
781
781
|
get thirdParty() {
|
|
782
|
-
|
|
783
|
-
return
|
|
782
|
+
_chunkOP6MHN5Dcjs.utils.testWhich("thirdParty", _chunkOP6MHN5Dcjs.utils.getUint16(6, this), 2, this);
|
|
783
|
+
return _chunkOP6MHN5Dcjs.utils.getPointer(2, this);
|
|
784
784
|
}
|
|
785
785
|
_hasThirdParty() {
|
|
786
|
-
return !
|
|
786
|
+
return !_chunkOP6MHN5Dcjs.utils.isNull(_chunkOP6MHN5Dcjs.utils.getPointer(2, this));
|
|
787
787
|
}
|
|
788
788
|
get _isThirdParty() {
|
|
789
|
-
return
|
|
789
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(6, this) === 2;
|
|
790
790
|
}
|
|
791
791
|
set thirdParty(value) {
|
|
792
|
-
|
|
793
|
-
|
|
792
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(6, 2, this);
|
|
793
|
+
_chunkOP6MHN5Dcjs.utils.copyFrom(value, _chunkOP6MHN5Dcjs.utils.getPointer(2, this));
|
|
794
794
|
}
|
|
795
795
|
toString() {
|
|
796
796
|
return "Call_SendResultsTo_" + super.toString();
|
|
797
797
|
}
|
|
798
798
|
which() {
|
|
799
|
-
return
|
|
799
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(6, this);
|
|
800
800
|
}
|
|
801
801
|
}, _class3.__initStatic17(), _class3.__initStatic18(), _class3.__initStatic19(), _class3.__initStatic20(), _class3);
|
|
802
|
-
var Call = (_class4 = class _Call extends
|
|
802
|
+
var Call = (_class4 = class _Call extends _chunkOP6MHN5Dcjs.Struct {
|
|
803
803
|
static {
|
|
804
804
|
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Call");
|
|
805
805
|
}
|
|
806
806
|
static __initStatic21() {this._capnp = {
|
|
807
807
|
displayName: "Call",
|
|
808
808
|
id: "836a53ce789d4cd4",
|
|
809
|
-
size: new (0,
|
|
810
|
-
defaultAllowThirdPartyTailCall:
|
|
811
|
-
defaultNoPromisePipelining:
|
|
812
|
-
defaultOnlyPromisePipeline:
|
|
809
|
+
size: new (0, _chunkOP6MHN5Dcjs.ObjectSize)(24, 3),
|
|
810
|
+
defaultAllowThirdPartyTailCall: _chunkOP6MHN5Dcjs.getBitMask.call(void 0, false, 0),
|
|
811
|
+
defaultNoPromisePipelining: _chunkOP6MHN5Dcjs.getBitMask.call(void 0, false, 1),
|
|
812
|
+
defaultOnlyPromisePipeline: _chunkOP6MHN5Dcjs.getBitMask.call(void 0, false, 2)
|
|
813
813
|
}}
|
|
814
814
|
/**
|
|
815
815
|
* A number, chosen by the caller, that identifies this call in future messages. This number
|
|
@@ -823,52 +823,52 @@ var Call = (_class4 = class _Call extends _chunkRKF2BUL7cjs.Struct {
|
|
|
823
823
|
*
|
|
824
824
|
*/
|
|
825
825
|
get questionId() {
|
|
826
|
-
return
|
|
826
|
+
return _chunkOP6MHN5Dcjs.utils.getUint32(0, this);
|
|
827
827
|
}
|
|
828
828
|
set questionId(value) {
|
|
829
|
-
|
|
829
|
+
_chunkOP6MHN5Dcjs.utils.setUint32(0, value, this);
|
|
830
830
|
}
|
|
831
831
|
_adoptTarget(value) {
|
|
832
|
-
|
|
832
|
+
_chunkOP6MHN5Dcjs.utils.adopt(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
833
833
|
}
|
|
834
834
|
_disownTarget() {
|
|
835
|
-
return
|
|
835
|
+
return _chunkOP6MHN5Dcjs.utils.disown(this.target);
|
|
836
836
|
}
|
|
837
837
|
/**
|
|
838
838
|
* The object that should receive this call.
|
|
839
839
|
*
|
|
840
840
|
*/
|
|
841
841
|
get target() {
|
|
842
|
-
return
|
|
842
|
+
return _chunkOP6MHN5Dcjs.utils.getStruct(0, MessageTarget, this);
|
|
843
843
|
}
|
|
844
844
|
_hasTarget() {
|
|
845
|
-
return !
|
|
845
|
+
return !_chunkOP6MHN5Dcjs.utils.isNull(_chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
846
846
|
}
|
|
847
847
|
_initTarget() {
|
|
848
|
-
return
|
|
848
|
+
return _chunkOP6MHN5Dcjs.utils.initStructAt(0, MessageTarget, this);
|
|
849
849
|
}
|
|
850
850
|
set target(value) {
|
|
851
|
-
|
|
851
|
+
_chunkOP6MHN5Dcjs.utils.copyFrom(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
852
852
|
}
|
|
853
853
|
/**
|
|
854
854
|
* The type ID of the interface being called. Each capability may implement multiple interfaces.
|
|
855
855
|
*
|
|
856
856
|
*/
|
|
857
857
|
get interfaceId() {
|
|
858
|
-
return
|
|
858
|
+
return _chunkOP6MHN5Dcjs.utils.getUint64(8, this);
|
|
859
859
|
}
|
|
860
860
|
set interfaceId(value) {
|
|
861
|
-
|
|
861
|
+
_chunkOP6MHN5Dcjs.utils.setUint64(8, value, this);
|
|
862
862
|
}
|
|
863
863
|
/**
|
|
864
864
|
* The ordinal number of the method to call within the requested interface.
|
|
865
865
|
*
|
|
866
866
|
*/
|
|
867
867
|
get methodId() {
|
|
868
|
-
return
|
|
868
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(4, this);
|
|
869
869
|
}
|
|
870
870
|
set methodId(value) {
|
|
871
|
-
|
|
871
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(4, value, this);
|
|
872
872
|
}
|
|
873
873
|
/**
|
|
874
874
|
* Indicates whether or not the receiver is allowed to send a `Return` containing
|
|
@@ -877,10 +877,10 @@ var Call = (_class4 = class _Call extends _chunkRKF2BUL7cjs.Struct {
|
|
|
877
877
|
*
|
|
878
878
|
*/
|
|
879
879
|
get allowThirdPartyTailCall() {
|
|
880
|
-
return
|
|
880
|
+
return _chunkOP6MHN5Dcjs.utils.getBit(128, this, _Call._capnp.defaultAllowThirdPartyTailCall);
|
|
881
881
|
}
|
|
882
882
|
set allowThirdPartyTailCall(value) {
|
|
883
|
-
|
|
883
|
+
_chunkOP6MHN5Dcjs.utils.setBit(128, value, this, _Call._capnp.defaultAllowThirdPartyTailCall);
|
|
884
884
|
}
|
|
885
885
|
/**
|
|
886
886
|
* If true, the sender promises that it won't make any promise-pipelined calls on the results of
|
|
@@ -893,10 +893,10 @@ var Call = (_class4 = class _Call extends _chunkRKF2BUL7cjs.Struct {
|
|
|
893
893
|
*
|
|
894
894
|
*/
|
|
895
895
|
get noPromisePipelining() {
|
|
896
|
-
return
|
|
896
|
+
return _chunkOP6MHN5Dcjs.utils.getBit(129, this, _Call._capnp.defaultNoPromisePipelining);
|
|
897
897
|
}
|
|
898
898
|
set noPromisePipelining(value) {
|
|
899
|
-
|
|
899
|
+
_chunkOP6MHN5Dcjs.utils.setBit(129, value, this, _Call._capnp.defaultNoPromisePipelining);
|
|
900
900
|
}
|
|
901
901
|
/**
|
|
902
902
|
* If true, the sender only plans to use this call to make pipelined calls. The receiver need not
|
|
@@ -915,16 +915,16 @@ var Call = (_class4 = class _Call extends _chunkRKF2BUL7cjs.Struct {
|
|
|
915
915
|
*
|
|
916
916
|
*/
|
|
917
917
|
get onlyPromisePipeline() {
|
|
918
|
-
return
|
|
918
|
+
return _chunkOP6MHN5Dcjs.utils.getBit(130, this, _Call._capnp.defaultOnlyPromisePipeline);
|
|
919
919
|
}
|
|
920
920
|
set onlyPromisePipeline(value) {
|
|
921
|
-
|
|
921
|
+
_chunkOP6MHN5Dcjs.utils.setBit(130, value, this, _Call._capnp.defaultOnlyPromisePipeline);
|
|
922
922
|
}
|
|
923
923
|
_adoptParams(value) {
|
|
924
|
-
|
|
924
|
+
_chunkOP6MHN5Dcjs.utils.adopt(value, _chunkOP6MHN5Dcjs.utils.getPointer(1, this));
|
|
925
925
|
}
|
|
926
926
|
_disownParams() {
|
|
927
|
-
return
|
|
927
|
+
return _chunkOP6MHN5Dcjs.utils.disown(this.params);
|
|
928
928
|
}
|
|
929
929
|
/**
|
|
930
930
|
* The call parameters. `params.content` is a struct whose fields correspond to the parameters of
|
|
@@ -932,26 +932,26 @@ var Call = (_class4 = class _Call extends _chunkRKF2BUL7cjs.Struct {
|
|
|
932
932
|
*
|
|
933
933
|
*/
|
|
934
934
|
get params() {
|
|
935
|
-
return
|
|
935
|
+
return _chunkOP6MHN5Dcjs.utils.getStruct(1, Payload, this);
|
|
936
936
|
}
|
|
937
937
|
_hasParams() {
|
|
938
|
-
return !
|
|
938
|
+
return !_chunkOP6MHN5Dcjs.utils.isNull(_chunkOP6MHN5Dcjs.utils.getPointer(1, this));
|
|
939
939
|
}
|
|
940
940
|
_initParams() {
|
|
941
|
-
return
|
|
941
|
+
return _chunkOP6MHN5Dcjs.utils.initStructAt(1, Payload, this);
|
|
942
942
|
}
|
|
943
943
|
set params(value) {
|
|
944
|
-
|
|
944
|
+
_chunkOP6MHN5Dcjs.utils.copyFrom(value, _chunkOP6MHN5Dcjs.utils.getPointer(1, this));
|
|
945
945
|
}
|
|
946
946
|
/**
|
|
947
947
|
* Where should the return message be sent?
|
|
948
948
|
*
|
|
949
949
|
*/
|
|
950
950
|
get sendResultsTo() {
|
|
951
|
-
return
|
|
951
|
+
return _chunkOP6MHN5Dcjs.utils.getAs(Call_SendResultsTo, this);
|
|
952
952
|
}
|
|
953
953
|
_initSendResultsTo() {
|
|
954
|
-
return
|
|
954
|
+
return _chunkOP6MHN5Dcjs.utils.getAs(Call_SendResultsTo, this);
|
|
955
955
|
}
|
|
956
956
|
toString() {
|
|
957
957
|
return "Call_" + super.toString();
|
|
@@ -1008,7 +1008,7 @@ var Return_Which = {
|
|
|
1008
1008
|
*/
|
|
1009
1009
|
ACCEPT_FROM_THIRD_PARTY: 5
|
|
1010
1010
|
};
|
|
1011
|
-
var Return = (_class5 = class _Return extends
|
|
1011
|
+
var Return = (_class5 = class _Return extends _chunkOP6MHN5Dcjs.Struct {
|
|
1012
1012
|
static {
|
|
1013
1013
|
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Return");
|
|
1014
1014
|
}
|
|
@@ -1021,19 +1021,19 @@ var Return = (_class5 = class _Return extends _chunkRKF2BUL7cjs.Struct {
|
|
|
1021
1021
|
static __initStatic28() {this._capnp = {
|
|
1022
1022
|
displayName: "Return",
|
|
1023
1023
|
id: "9e19b28d3db3573a",
|
|
1024
|
-
size: new (0,
|
|
1025
|
-
defaultReleaseParamCaps:
|
|
1026
|
-
defaultNoFinishNeeded:
|
|
1024
|
+
size: new (0, _chunkOP6MHN5Dcjs.ObjectSize)(16, 1),
|
|
1025
|
+
defaultReleaseParamCaps: _chunkOP6MHN5Dcjs.getBitMask.call(void 0, true, 0),
|
|
1026
|
+
defaultNoFinishNeeded: _chunkOP6MHN5Dcjs.getBitMask.call(void 0, false, 1)
|
|
1027
1027
|
}}
|
|
1028
1028
|
/**
|
|
1029
1029
|
* Equal to the QuestionId of the corresponding `Call` message.
|
|
1030
1030
|
*
|
|
1031
1031
|
*/
|
|
1032
1032
|
get answerId() {
|
|
1033
|
-
return
|
|
1033
|
+
return _chunkOP6MHN5Dcjs.utils.getUint32(0, this);
|
|
1034
1034
|
}
|
|
1035
1035
|
set answerId(value) {
|
|
1036
|
-
|
|
1036
|
+
_chunkOP6MHN5Dcjs.utils.setUint32(0, value, this);
|
|
1037
1037
|
}
|
|
1038
1038
|
/**
|
|
1039
1039
|
* If true, all capabilities that were in the params should be considered released. The sender
|
|
@@ -1047,10 +1047,10 @@ var Return = (_class5 = class _Return extends _chunkRKF2BUL7cjs.Struct {
|
|
|
1047
1047
|
*
|
|
1048
1048
|
*/
|
|
1049
1049
|
get releaseParamCaps() {
|
|
1050
|
-
return
|
|
1050
|
+
return _chunkOP6MHN5Dcjs.utils.getBit(32, this, _Return._capnp.defaultReleaseParamCaps);
|
|
1051
1051
|
}
|
|
1052
1052
|
set releaseParamCaps(value) {
|
|
1053
|
-
|
|
1053
|
+
_chunkOP6MHN5Dcjs.utils.setBit(32, value, this, _Return._capnp.defaultReleaseParamCaps);
|
|
1054
1054
|
}
|
|
1055
1055
|
/**
|
|
1056
1056
|
* If true, the sender does not need the receiver to send a `Finish` message; its answer table
|
|
@@ -1061,17 +1061,17 @@ var Return = (_class5 = class _Return extends _chunkRKF2BUL7cjs.Struct {
|
|
|
1061
1061
|
*
|
|
1062
1062
|
*/
|
|
1063
1063
|
get noFinishNeeded() {
|
|
1064
|
-
return
|
|
1064
|
+
return _chunkOP6MHN5Dcjs.utils.getBit(33, this, _Return._capnp.defaultNoFinishNeeded);
|
|
1065
1065
|
}
|
|
1066
1066
|
set noFinishNeeded(value) {
|
|
1067
|
-
|
|
1067
|
+
_chunkOP6MHN5Dcjs.utils.setBit(33, value, this, _Return._capnp.defaultNoFinishNeeded);
|
|
1068
1068
|
}
|
|
1069
1069
|
_adoptResults(value) {
|
|
1070
|
-
|
|
1071
|
-
|
|
1070
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(6, 0, this);
|
|
1071
|
+
_chunkOP6MHN5Dcjs.utils.adopt(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
1072
1072
|
}
|
|
1073
1073
|
_disownResults() {
|
|
1074
|
-
return
|
|
1074
|
+
return _chunkOP6MHN5Dcjs.utils.disown(this.results);
|
|
1075
1075
|
}
|
|
1076
1076
|
/**
|
|
1077
1077
|
* The result.
|
|
@@ -1084,63 +1084,63 @@ var Return = (_class5 = class _Return extends _chunkRKF2BUL7cjs.Struct {
|
|
|
1084
1084
|
*
|
|
1085
1085
|
*/
|
|
1086
1086
|
get results() {
|
|
1087
|
-
|
|
1088
|
-
return
|
|
1087
|
+
_chunkOP6MHN5Dcjs.utils.testWhich("results", _chunkOP6MHN5Dcjs.utils.getUint16(6, this), 0, this);
|
|
1088
|
+
return _chunkOP6MHN5Dcjs.utils.getStruct(0, Payload, this);
|
|
1089
1089
|
}
|
|
1090
1090
|
_hasResults() {
|
|
1091
|
-
return !
|
|
1091
|
+
return !_chunkOP6MHN5Dcjs.utils.isNull(_chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
1092
1092
|
}
|
|
1093
1093
|
_initResults() {
|
|
1094
|
-
|
|
1095
|
-
return
|
|
1094
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(6, 0, this);
|
|
1095
|
+
return _chunkOP6MHN5Dcjs.utils.initStructAt(0, Payload, this);
|
|
1096
1096
|
}
|
|
1097
1097
|
get _isResults() {
|
|
1098
|
-
return
|
|
1098
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(6, this) === 0;
|
|
1099
1099
|
}
|
|
1100
1100
|
set results(value) {
|
|
1101
|
-
|
|
1102
|
-
|
|
1101
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(6, 0, this);
|
|
1102
|
+
_chunkOP6MHN5Dcjs.utils.copyFrom(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
1103
1103
|
}
|
|
1104
1104
|
_adoptException(value) {
|
|
1105
|
-
|
|
1106
|
-
|
|
1105
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(6, 1, this);
|
|
1106
|
+
_chunkOP6MHN5Dcjs.utils.adopt(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
1107
1107
|
}
|
|
1108
1108
|
_disownException() {
|
|
1109
|
-
return
|
|
1109
|
+
return _chunkOP6MHN5Dcjs.utils.disown(this.exception);
|
|
1110
1110
|
}
|
|
1111
1111
|
/**
|
|
1112
1112
|
* Indicates that the call failed and explains why.
|
|
1113
1113
|
*
|
|
1114
1114
|
*/
|
|
1115
1115
|
get exception() {
|
|
1116
|
-
|
|
1117
|
-
return
|
|
1116
|
+
_chunkOP6MHN5Dcjs.utils.testWhich("exception", _chunkOP6MHN5Dcjs.utils.getUint16(6, this), 1, this);
|
|
1117
|
+
return _chunkOP6MHN5Dcjs.utils.getStruct(0, Exception, this);
|
|
1118
1118
|
}
|
|
1119
1119
|
_hasException() {
|
|
1120
|
-
return !
|
|
1120
|
+
return !_chunkOP6MHN5Dcjs.utils.isNull(_chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
1121
1121
|
}
|
|
1122
1122
|
_initException() {
|
|
1123
|
-
|
|
1124
|
-
return
|
|
1123
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(6, 1, this);
|
|
1124
|
+
return _chunkOP6MHN5Dcjs.utils.initStructAt(0, Exception, this);
|
|
1125
1125
|
}
|
|
1126
1126
|
get _isException() {
|
|
1127
|
-
return
|
|
1127
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(6, this) === 1;
|
|
1128
1128
|
}
|
|
1129
1129
|
set exception(value) {
|
|
1130
|
-
|
|
1131
|
-
|
|
1130
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(6, 1, this);
|
|
1131
|
+
_chunkOP6MHN5Dcjs.utils.copyFrom(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
1132
1132
|
}
|
|
1133
1133
|
get _isCanceled() {
|
|
1134
|
-
return
|
|
1134
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(6, this) === 2;
|
|
1135
1135
|
}
|
|
1136
1136
|
set canceled(_) {
|
|
1137
|
-
|
|
1137
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(6, 2, this);
|
|
1138
1138
|
}
|
|
1139
1139
|
get _isResultsSentElsewhere() {
|
|
1140
|
-
return
|
|
1140
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(6, this) === 3;
|
|
1141
1141
|
}
|
|
1142
1142
|
set resultsSentElsewhere(_) {
|
|
1143
|
-
|
|
1143
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(6, 3, this);
|
|
1144
1144
|
}
|
|
1145
1145
|
/**
|
|
1146
1146
|
* The sender has also sent (before this message) a `Call` with the given question ID and with
|
|
@@ -1149,22 +1149,22 @@ var Return = (_class5 = class _Return extends _chunkRKF2BUL7cjs.Struct {
|
|
|
1149
1149
|
*
|
|
1150
1150
|
*/
|
|
1151
1151
|
get takeFromOtherQuestion() {
|
|
1152
|
-
|
|
1153
|
-
return
|
|
1152
|
+
_chunkOP6MHN5Dcjs.utils.testWhich("takeFromOtherQuestion", _chunkOP6MHN5Dcjs.utils.getUint16(6, this), 4, this);
|
|
1153
|
+
return _chunkOP6MHN5Dcjs.utils.getUint32(8, this);
|
|
1154
1154
|
}
|
|
1155
1155
|
get _isTakeFromOtherQuestion() {
|
|
1156
|
-
return
|
|
1156
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(6, this) === 4;
|
|
1157
1157
|
}
|
|
1158
1158
|
set takeFromOtherQuestion(value) {
|
|
1159
|
-
|
|
1160
|
-
|
|
1159
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(6, 4, this);
|
|
1160
|
+
_chunkOP6MHN5Dcjs.utils.setUint32(8, value, this);
|
|
1161
1161
|
}
|
|
1162
1162
|
_adoptAcceptFromThirdParty(value) {
|
|
1163
|
-
|
|
1164
|
-
|
|
1163
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(6, 5, this);
|
|
1164
|
+
_chunkOP6MHN5Dcjs.utils.adopt(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
1165
1165
|
}
|
|
1166
1166
|
_disownAcceptFromThirdParty() {
|
|
1167
|
-
return
|
|
1167
|
+
return _chunkOP6MHN5Dcjs.utils.disown(this.acceptFromThirdParty);
|
|
1168
1168
|
}
|
|
1169
1169
|
/**
|
|
1170
1170
|
* **(level 3)**
|
|
@@ -1175,46 +1175,46 @@ var Return = (_class5 = class _Return extends _chunkRKF2BUL7cjs.Struct {
|
|
|
1175
1175
|
*
|
|
1176
1176
|
*/
|
|
1177
1177
|
get acceptFromThirdParty() {
|
|
1178
|
-
|
|
1179
|
-
return
|
|
1178
|
+
_chunkOP6MHN5Dcjs.utils.testWhich("acceptFromThirdParty", _chunkOP6MHN5Dcjs.utils.getUint16(6, this), 5, this);
|
|
1179
|
+
return _chunkOP6MHN5Dcjs.utils.getPointer(0, this);
|
|
1180
1180
|
}
|
|
1181
1181
|
_hasAcceptFromThirdParty() {
|
|
1182
|
-
return !
|
|
1182
|
+
return !_chunkOP6MHN5Dcjs.utils.isNull(_chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
1183
1183
|
}
|
|
1184
1184
|
get _isAcceptFromThirdParty() {
|
|
1185
|
-
return
|
|
1185
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(6, this) === 5;
|
|
1186
1186
|
}
|
|
1187
1187
|
set acceptFromThirdParty(value) {
|
|
1188
|
-
|
|
1189
|
-
|
|
1188
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(6, 5, this);
|
|
1189
|
+
_chunkOP6MHN5Dcjs.utils.copyFrom(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
1190
1190
|
}
|
|
1191
1191
|
toString() {
|
|
1192
1192
|
return "Return_" + super.toString();
|
|
1193
1193
|
}
|
|
1194
1194
|
which() {
|
|
1195
|
-
return
|
|
1195
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(6, this);
|
|
1196
1196
|
}
|
|
1197
1197
|
}, _class5.__initStatic22(), _class5.__initStatic23(), _class5.__initStatic24(), _class5.__initStatic25(), _class5.__initStatic26(), _class5.__initStatic27(), _class5.__initStatic28(), _class5);
|
|
1198
|
-
var Finish = (_class6 = class _Finish extends
|
|
1198
|
+
var Finish = (_class6 = class _Finish extends _chunkOP6MHN5Dcjs.Struct {
|
|
1199
1199
|
static {
|
|
1200
1200
|
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Finish");
|
|
1201
1201
|
}
|
|
1202
1202
|
static __initStatic29() {this._capnp = {
|
|
1203
1203
|
displayName: "Finish",
|
|
1204
1204
|
id: "d37d2eb2c2f80e63",
|
|
1205
|
-
size: new (0,
|
|
1206
|
-
defaultReleaseResultCaps:
|
|
1207
|
-
defaultRequireEarlyCancellationWorkaround:
|
|
1205
|
+
size: new (0, _chunkOP6MHN5Dcjs.ObjectSize)(8, 0),
|
|
1206
|
+
defaultReleaseResultCaps: _chunkOP6MHN5Dcjs.getBitMask.call(void 0, true, 0),
|
|
1207
|
+
defaultRequireEarlyCancellationWorkaround: _chunkOP6MHN5Dcjs.getBitMask.call(void 0, true, 1)
|
|
1208
1208
|
}}
|
|
1209
1209
|
/**
|
|
1210
1210
|
* ID of the call whose result is to be released.
|
|
1211
1211
|
*
|
|
1212
1212
|
*/
|
|
1213
1213
|
get questionId() {
|
|
1214
|
-
return
|
|
1214
|
+
return _chunkOP6MHN5Dcjs.utils.getUint32(0, this);
|
|
1215
1215
|
}
|
|
1216
1216
|
set questionId(value) {
|
|
1217
|
-
|
|
1217
|
+
_chunkOP6MHN5Dcjs.utils.setUint32(0, value, this);
|
|
1218
1218
|
}
|
|
1219
1219
|
/**
|
|
1220
1220
|
* If true, all capabilities that were in the results should be considered released. The sender
|
|
@@ -1225,10 +1225,10 @@ var Finish = (_class6 = class _Finish extends _chunkRKF2BUL7cjs.Struct {
|
|
|
1225
1225
|
*
|
|
1226
1226
|
*/
|
|
1227
1227
|
get releaseResultCaps() {
|
|
1228
|
-
return
|
|
1228
|
+
return _chunkOP6MHN5Dcjs.utils.getBit(32, this, _Finish._capnp.defaultReleaseResultCaps);
|
|
1229
1229
|
}
|
|
1230
1230
|
set releaseResultCaps(value) {
|
|
1231
|
-
|
|
1231
|
+
_chunkOP6MHN5Dcjs.utils.setBit(32, value, this, _Finish._capnp.defaultReleaseResultCaps);
|
|
1232
1232
|
}
|
|
1233
1233
|
/**
|
|
1234
1234
|
* If true, if the RPC system receives this Finish message before the original call has even been
|
|
@@ -1246,10 +1246,10 @@ var Finish = (_class6 = class _Finish extends _chunkRKF2BUL7cjs.Struct {
|
|
|
1246
1246
|
*
|
|
1247
1247
|
*/
|
|
1248
1248
|
get requireEarlyCancellationWorkaround() {
|
|
1249
|
-
return
|
|
1249
|
+
return _chunkOP6MHN5Dcjs.utils.getBit(33, this, _Finish._capnp.defaultRequireEarlyCancellationWorkaround);
|
|
1250
1250
|
}
|
|
1251
1251
|
set requireEarlyCancellationWorkaround(value) {
|
|
1252
|
-
|
|
1252
|
+
_chunkOP6MHN5Dcjs.utils.setBit(33, value, this, _Finish._capnp.defaultRequireEarlyCancellationWorkaround);
|
|
1253
1253
|
}
|
|
1254
1254
|
toString() {
|
|
1255
1255
|
return "Finish_" + super.toString();
|
|
@@ -1295,7 +1295,7 @@ var Resolve_Which = {
|
|
|
1295
1295
|
*/
|
|
1296
1296
|
EXCEPTION: 1
|
|
1297
1297
|
};
|
|
1298
|
-
var Resolve = (_class7 = class extends
|
|
1298
|
+
var Resolve = (_class7 = class extends _chunkOP6MHN5Dcjs.Struct {
|
|
1299
1299
|
static {
|
|
1300
1300
|
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Resolve");
|
|
1301
1301
|
}
|
|
@@ -1304,7 +1304,7 @@ var Resolve = (_class7 = class extends _chunkRKF2BUL7cjs.Struct {
|
|
|
1304
1304
|
static __initStatic32() {this._capnp = {
|
|
1305
1305
|
displayName: "Resolve",
|
|
1306
1306
|
id: "bbc29655fa89086e",
|
|
1307
|
-
size: new (0,
|
|
1307
|
+
size: new (0, _chunkOP6MHN5Dcjs.ObjectSize)(8, 1)
|
|
1308
1308
|
}}
|
|
1309
1309
|
/**
|
|
1310
1310
|
* The ID of the promise to be resolved.
|
|
@@ -1330,17 +1330,17 @@ var Resolve = (_class7 = class extends _chunkRKF2BUL7cjs.Struct {
|
|
|
1330
1330
|
*
|
|
1331
1331
|
*/
|
|
1332
1332
|
get promiseId() {
|
|
1333
|
-
return
|
|
1333
|
+
return _chunkOP6MHN5Dcjs.utils.getUint32(0, this);
|
|
1334
1334
|
}
|
|
1335
1335
|
set promiseId(value) {
|
|
1336
|
-
|
|
1336
|
+
_chunkOP6MHN5Dcjs.utils.setUint32(0, value, this);
|
|
1337
1337
|
}
|
|
1338
1338
|
_adoptCap(value) {
|
|
1339
|
-
|
|
1340
|
-
|
|
1339
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(4, 0, this);
|
|
1340
|
+
_chunkOP6MHN5Dcjs.utils.adopt(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
1341
1341
|
}
|
|
1342
1342
|
_disownCap() {
|
|
1343
|
-
return
|
|
1343
|
+
return _chunkOP6MHN5Dcjs.utils.disown(this.cap);
|
|
1344
1344
|
}
|
|
1345
1345
|
/**
|
|
1346
1346
|
* The object to which the promise resolved.
|
|
@@ -1356,77 +1356,77 @@ var Resolve = (_class7 = class extends _chunkRKF2BUL7cjs.Struct {
|
|
|
1356
1356
|
*
|
|
1357
1357
|
*/
|
|
1358
1358
|
get cap() {
|
|
1359
|
-
|
|
1360
|
-
return
|
|
1359
|
+
_chunkOP6MHN5Dcjs.utils.testWhich("cap", _chunkOP6MHN5Dcjs.utils.getUint16(4, this), 0, this);
|
|
1360
|
+
return _chunkOP6MHN5Dcjs.utils.getStruct(0, CapDescriptor, this);
|
|
1361
1361
|
}
|
|
1362
1362
|
_hasCap() {
|
|
1363
|
-
return !
|
|
1363
|
+
return !_chunkOP6MHN5Dcjs.utils.isNull(_chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
1364
1364
|
}
|
|
1365
1365
|
_initCap() {
|
|
1366
|
-
|
|
1367
|
-
return
|
|
1366
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(4, 0, this);
|
|
1367
|
+
return _chunkOP6MHN5Dcjs.utils.initStructAt(0, CapDescriptor, this);
|
|
1368
1368
|
}
|
|
1369
1369
|
get _isCap() {
|
|
1370
|
-
return
|
|
1370
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(4, this) === 0;
|
|
1371
1371
|
}
|
|
1372
1372
|
set cap(value) {
|
|
1373
|
-
|
|
1374
|
-
|
|
1373
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(4, 0, this);
|
|
1374
|
+
_chunkOP6MHN5Dcjs.utils.copyFrom(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
1375
1375
|
}
|
|
1376
1376
|
_adoptException(value) {
|
|
1377
|
-
|
|
1378
|
-
|
|
1377
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(4, 1, this);
|
|
1378
|
+
_chunkOP6MHN5Dcjs.utils.adopt(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
1379
1379
|
}
|
|
1380
1380
|
_disownException() {
|
|
1381
|
-
return
|
|
1381
|
+
return _chunkOP6MHN5Dcjs.utils.disown(this.exception);
|
|
1382
1382
|
}
|
|
1383
1383
|
/**
|
|
1384
1384
|
* Indicates that the promise was broken.
|
|
1385
1385
|
*
|
|
1386
1386
|
*/
|
|
1387
1387
|
get exception() {
|
|
1388
|
-
|
|
1389
|
-
return
|
|
1388
|
+
_chunkOP6MHN5Dcjs.utils.testWhich("exception", _chunkOP6MHN5Dcjs.utils.getUint16(4, this), 1, this);
|
|
1389
|
+
return _chunkOP6MHN5Dcjs.utils.getStruct(0, Exception, this);
|
|
1390
1390
|
}
|
|
1391
1391
|
_hasException() {
|
|
1392
|
-
return !
|
|
1392
|
+
return !_chunkOP6MHN5Dcjs.utils.isNull(_chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
1393
1393
|
}
|
|
1394
1394
|
_initException() {
|
|
1395
|
-
|
|
1396
|
-
return
|
|
1395
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(4, 1, this);
|
|
1396
|
+
return _chunkOP6MHN5Dcjs.utils.initStructAt(0, Exception, this);
|
|
1397
1397
|
}
|
|
1398
1398
|
get _isException() {
|
|
1399
|
-
return
|
|
1399
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(4, this) === 1;
|
|
1400
1400
|
}
|
|
1401
1401
|
set exception(value) {
|
|
1402
|
-
|
|
1403
|
-
|
|
1402
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(4, 1, this);
|
|
1403
|
+
_chunkOP6MHN5Dcjs.utils.copyFrom(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
1404
1404
|
}
|
|
1405
1405
|
toString() {
|
|
1406
1406
|
return "Resolve_" + super.toString();
|
|
1407
1407
|
}
|
|
1408
1408
|
which() {
|
|
1409
|
-
return
|
|
1409
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(4, this);
|
|
1410
1410
|
}
|
|
1411
1411
|
}, _class7.__initStatic30(), _class7.__initStatic31(), _class7.__initStatic32(), _class7);
|
|
1412
|
-
var Release = (_class8 = class extends
|
|
1412
|
+
var Release = (_class8 = class extends _chunkOP6MHN5Dcjs.Struct {
|
|
1413
1413
|
static {
|
|
1414
1414
|
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Release");
|
|
1415
1415
|
}
|
|
1416
1416
|
static __initStatic33() {this._capnp = {
|
|
1417
1417
|
displayName: "Release",
|
|
1418
1418
|
id: "ad1a6c0d7dd07497",
|
|
1419
|
-
size: new (0,
|
|
1419
|
+
size: new (0, _chunkOP6MHN5Dcjs.ObjectSize)(8, 0)
|
|
1420
1420
|
}}
|
|
1421
1421
|
/**
|
|
1422
1422
|
* What to release.
|
|
1423
1423
|
*
|
|
1424
1424
|
*/
|
|
1425
1425
|
get id() {
|
|
1426
|
-
return
|
|
1426
|
+
return _chunkOP6MHN5Dcjs.utils.getUint32(0, this);
|
|
1427
1427
|
}
|
|
1428
1428
|
set id(value) {
|
|
1429
|
-
|
|
1429
|
+
_chunkOP6MHN5Dcjs.utils.setUint32(0, value, this);
|
|
1430
1430
|
}
|
|
1431
1431
|
/**
|
|
1432
1432
|
* The amount by which to decrement the reference count. The export is only actually released
|
|
@@ -1434,10 +1434,10 @@ var Release = (_class8 = class extends _chunkRKF2BUL7cjs.Struct {
|
|
|
1434
1434
|
*
|
|
1435
1435
|
*/
|
|
1436
1436
|
get referenceCount() {
|
|
1437
|
-
return
|
|
1437
|
+
return _chunkOP6MHN5Dcjs.utils.getUint32(4, this);
|
|
1438
1438
|
}
|
|
1439
1439
|
set referenceCount(value) {
|
|
1440
|
-
|
|
1440
|
+
_chunkOP6MHN5Dcjs.utils.setUint32(4, value, this);
|
|
1441
1441
|
}
|
|
1442
1442
|
toString() {
|
|
1443
1443
|
return "Release_" + super.toString();
|
|
@@ -1488,7 +1488,7 @@ var Disembargo_Context_Which = {
|
|
|
1488
1488
|
*/
|
|
1489
1489
|
PROVIDE: 3
|
|
1490
1490
|
};
|
|
1491
|
-
var Disembargo_Context = (_class9 = class extends
|
|
1491
|
+
var Disembargo_Context = (_class9 = class extends _chunkOP6MHN5Dcjs.Struct {
|
|
1492
1492
|
static {
|
|
1493
1493
|
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Disembargo_Context");
|
|
1494
1494
|
}
|
|
@@ -1499,7 +1499,7 @@ var Disembargo_Context = (_class9 = class extends _chunkRKF2BUL7cjs.Struct {
|
|
|
1499
1499
|
static __initStatic38() {this._capnp = {
|
|
1500
1500
|
displayName: "context",
|
|
1501
1501
|
id: "d562b4df655bdd4d",
|
|
1502
|
-
size: new (0,
|
|
1502
|
+
size: new (0, _chunkOP6MHN5Dcjs.ObjectSize)(8, 1)
|
|
1503
1503
|
}}
|
|
1504
1504
|
/**
|
|
1505
1505
|
* The sender is requesting a disembargo on a promise that is known to resolve back to a
|
|
@@ -1514,15 +1514,15 @@ var Disembargo_Context = (_class9 = class extends _chunkRKF2BUL7cjs.Struct {
|
|
|
1514
1514
|
*
|
|
1515
1515
|
*/
|
|
1516
1516
|
get senderLoopback() {
|
|
1517
|
-
|
|
1518
|
-
return
|
|
1517
|
+
_chunkOP6MHN5Dcjs.utils.testWhich("senderLoopback", _chunkOP6MHN5Dcjs.utils.getUint16(4, this), 0, this);
|
|
1518
|
+
return _chunkOP6MHN5Dcjs.utils.getUint32(0, this);
|
|
1519
1519
|
}
|
|
1520
1520
|
get _isSenderLoopback() {
|
|
1521
|
-
return
|
|
1521
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(4, this) === 0;
|
|
1522
1522
|
}
|
|
1523
1523
|
set senderLoopback(value) {
|
|
1524
|
-
|
|
1525
|
-
|
|
1524
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(4, 0, this);
|
|
1525
|
+
_chunkOP6MHN5Dcjs.utils.setUint32(0, value, this);
|
|
1526
1526
|
}
|
|
1527
1527
|
/**
|
|
1528
1528
|
* The receiver previously sent a `senderLoopback` Disembargo towards a promise resolving to
|
|
@@ -1530,21 +1530,21 @@ var Disembargo_Context = (_class9 = class extends _chunkRKF2BUL7cjs.Struct {
|
|
|
1530
1530
|
*
|
|
1531
1531
|
*/
|
|
1532
1532
|
get receiverLoopback() {
|
|
1533
|
-
|
|
1534
|
-
return
|
|
1533
|
+
_chunkOP6MHN5Dcjs.utils.testWhich("receiverLoopback", _chunkOP6MHN5Dcjs.utils.getUint16(4, this), 1, this);
|
|
1534
|
+
return _chunkOP6MHN5Dcjs.utils.getUint32(0, this);
|
|
1535
1535
|
}
|
|
1536
1536
|
get _isReceiverLoopback() {
|
|
1537
|
-
return
|
|
1537
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(4, this) === 1;
|
|
1538
1538
|
}
|
|
1539
1539
|
set receiverLoopback(value) {
|
|
1540
|
-
|
|
1541
|
-
|
|
1540
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(4, 1, this);
|
|
1541
|
+
_chunkOP6MHN5Dcjs.utils.setUint32(0, value, this);
|
|
1542
1542
|
}
|
|
1543
1543
|
get _isAccept() {
|
|
1544
|
-
return
|
|
1544
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(4, this) === 2;
|
|
1545
1545
|
}
|
|
1546
1546
|
set accept(_) {
|
|
1547
|
-
|
|
1547
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(4, 2, this);
|
|
1548
1548
|
}
|
|
1549
1549
|
/**
|
|
1550
1550
|
* **(level 3)**
|
|
@@ -1557,72 +1557,72 @@ var Disembargo_Context = (_class9 = class extends _chunkRKF2BUL7cjs.Struct {
|
|
|
1557
1557
|
*
|
|
1558
1558
|
*/
|
|
1559
1559
|
get provide() {
|
|
1560
|
-
|
|
1561
|
-
return
|
|
1560
|
+
_chunkOP6MHN5Dcjs.utils.testWhich("provide", _chunkOP6MHN5Dcjs.utils.getUint16(4, this), 3, this);
|
|
1561
|
+
return _chunkOP6MHN5Dcjs.utils.getUint32(0, this);
|
|
1562
1562
|
}
|
|
1563
1563
|
get _isProvide() {
|
|
1564
|
-
return
|
|
1564
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(4, this) === 3;
|
|
1565
1565
|
}
|
|
1566
1566
|
set provide(value) {
|
|
1567
|
-
|
|
1568
|
-
|
|
1567
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(4, 3, this);
|
|
1568
|
+
_chunkOP6MHN5Dcjs.utils.setUint32(0, value, this);
|
|
1569
1569
|
}
|
|
1570
1570
|
toString() {
|
|
1571
1571
|
return "Disembargo_Context_" + super.toString();
|
|
1572
1572
|
}
|
|
1573
1573
|
which() {
|
|
1574
|
-
return
|
|
1574
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(4, this);
|
|
1575
1575
|
}
|
|
1576
1576
|
}, _class9.__initStatic34(), _class9.__initStatic35(), _class9.__initStatic36(), _class9.__initStatic37(), _class9.__initStatic38(), _class9);
|
|
1577
|
-
var Disembargo = (_class10 = class extends
|
|
1577
|
+
var Disembargo = (_class10 = class extends _chunkOP6MHN5Dcjs.Struct {
|
|
1578
1578
|
static {
|
|
1579
1579
|
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Disembargo");
|
|
1580
1580
|
}
|
|
1581
1581
|
static __initStatic39() {this._capnp = {
|
|
1582
1582
|
displayName: "Disembargo",
|
|
1583
1583
|
id: "f964368b0fbd3711",
|
|
1584
|
-
size: new (0,
|
|
1584
|
+
size: new (0, _chunkOP6MHN5Dcjs.ObjectSize)(8, 1)
|
|
1585
1585
|
}}
|
|
1586
1586
|
_adoptTarget(value) {
|
|
1587
|
-
|
|
1587
|
+
_chunkOP6MHN5Dcjs.utils.adopt(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
1588
1588
|
}
|
|
1589
1589
|
_disownTarget() {
|
|
1590
|
-
return
|
|
1590
|
+
return _chunkOP6MHN5Dcjs.utils.disown(this.target);
|
|
1591
1591
|
}
|
|
1592
1592
|
/**
|
|
1593
1593
|
* What is to be disembargoed.
|
|
1594
1594
|
*
|
|
1595
1595
|
*/
|
|
1596
1596
|
get target() {
|
|
1597
|
-
return
|
|
1597
|
+
return _chunkOP6MHN5Dcjs.utils.getStruct(0, MessageTarget, this);
|
|
1598
1598
|
}
|
|
1599
1599
|
_hasTarget() {
|
|
1600
|
-
return !
|
|
1600
|
+
return !_chunkOP6MHN5Dcjs.utils.isNull(_chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
1601
1601
|
}
|
|
1602
1602
|
_initTarget() {
|
|
1603
|
-
return
|
|
1603
|
+
return _chunkOP6MHN5Dcjs.utils.initStructAt(0, MessageTarget, this);
|
|
1604
1604
|
}
|
|
1605
1605
|
set target(value) {
|
|
1606
|
-
|
|
1606
|
+
_chunkOP6MHN5Dcjs.utils.copyFrom(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
1607
1607
|
}
|
|
1608
1608
|
get context() {
|
|
1609
|
-
return
|
|
1609
|
+
return _chunkOP6MHN5Dcjs.utils.getAs(Disembargo_Context, this);
|
|
1610
1610
|
}
|
|
1611
1611
|
_initContext() {
|
|
1612
|
-
return
|
|
1612
|
+
return _chunkOP6MHN5Dcjs.utils.getAs(Disembargo_Context, this);
|
|
1613
1613
|
}
|
|
1614
1614
|
toString() {
|
|
1615
1615
|
return "Disembargo_" + super.toString();
|
|
1616
1616
|
}
|
|
1617
1617
|
}, _class10.__initStatic39(), _class10);
|
|
1618
|
-
var Provide = (_class11 = class extends
|
|
1618
|
+
var Provide = (_class11 = class extends _chunkOP6MHN5Dcjs.Struct {
|
|
1619
1619
|
static {
|
|
1620
1620
|
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Provide");
|
|
1621
1621
|
}
|
|
1622
1622
|
static __initStatic40() {this._capnp = {
|
|
1623
1623
|
displayName: "Provide",
|
|
1624
1624
|
id: "9c6a046bfbc1ac5a",
|
|
1625
|
-
size: new (0,
|
|
1625
|
+
size: new (0, _chunkOP6MHN5Dcjs.ObjectSize)(8, 2)
|
|
1626
1626
|
}}
|
|
1627
1627
|
/**
|
|
1628
1628
|
* Question ID to be held open until the recipient has received the capability. A result will be
|
|
@@ -1632,64 +1632,64 @@ var Provide = (_class11 = class extends _chunkRKF2BUL7cjs.Struct {
|
|
|
1632
1632
|
*
|
|
1633
1633
|
*/
|
|
1634
1634
|
get questionId() {
|
|
1635
|
-
return
|
|
1635
|
+
return _chunkOP6MHN5Dcjs.utils.getUint32(0, this);
|
|
1636
1636
|
}
|
|
1637
1637
|
set questionId(value) {
|
|
1638
|
-
|
|
1638
|
+
_chunkOP6MHN5Dcjs.utils.setUint32(0, value, this);
|
|
1639
1639
|
}
|
|
1640
1640
|
_adoptTarget(value) {
|
|
1641
|
-
|
|
1641
|
+
_chunkOP6MHN5Dcjs.utils.adopt(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
1642
1642
|
}
|
|
1643
1643
|
_disownTarget() {
|
|
1644
|
-
return
|
|
1644
|
+
return _chunkOP6MHN5Dcjs.utils.disown(this.target);
|
|
1645
1645
|
}
|
|
1646
1646
|
/**
|
|
1647
1647
|
* What is to be provided to the third party.
|
|
1648
1648
|
*
|
|
1649
1649
|
*/
|
|
1650
1650
|
get target() {
|
|
1651
|
-
return
|
|
1651
|
+
return _chunkOP6MHN5Dcjs.utils.getStruct(0, MessageTarget, this);
|
|
1652
1652
|
}
|
|
1653
1653
|
_hasTarget() {
|
|
1654
|
-
return !
|
|
1654
|
+
return !_chunkOP6MHN5Dcjs.utils.isNull(_chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
1655
1655
|
}
|
|
1656
1656
|
_initTarget() {
|
|
1657
|
-
return
|
|
1657
|
+
return _chunkOP6MHN5Dcjs.utils.initStructAt(0, MessageTarget, this);
|
|
1658
1658
|
}
|
|
1659
1659
|
set target(value) {
|
|
1660
|
-
|
|
1660
|
+
_chunkOP6MHN5Dcjs.utils.copyFrom(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
1661
1661
|
}
|
|
1662
1662
|
_adoptRecipient(value) {
|
|
1663
|
-
|
|
1663
|
+
_chunkOP6MHN5Dcjs.utils.adopt(value, _chunkOP6MHN5Dcjs.utils.getPointer(1, this));
|
|
1664
1664
|
}
|
|
1665
1665
|
_disownRecipient() {
|
|
1666
|
-
return
|
|
1666
|
+
return _chunkOP6MHN5Dcjs.utils.disown(this.recipient);
|
|
1667
1667
|
}
|
|
1668
1668
|
/**
|
|
1669
1669
|
* Identity of the third party that is expected to pick up the capability.
|
|
1670
1670
|
*
|
|
1671
1671
|
*/
|
|
1672
1672
|
get recipient() {
|
|
1673
|
-
return
|
|
1673
|
+
return _chunkOP6MHN5Dcjs.utils.getPointer(1, this);
|
|
1674
1674
|
}
|
|
1675
1675
|
_hasRecipient() {
|
|
1676
|
-
return !
|
|
1676
|
+
return !_chunkOP6MHN5Dcjs.utils.isNull(_chunkOP6MHN5Dcjs.utils.getPointer(1, this));
|
|
1677
1677
|
}
|
|
1678
1678
|
set recipient(value) {
|
|
1679
|
-
|
|
1679
|
+
_chunkOP6MHN5Dcjs.utils.copyFrom(value, _chunkOP6MHN5Dcjs.utils.getPointer(1, this));
|
|
1680
1680
|
}
|
|
1681
1681
|
toString() {
|
|
1682
1682
|
return "Provide_" + super.toString();
|
|
1683
1683
|
}
|
|
1684
1684
|
}, _class11.__initStatic40(), _class11);
|
|
1685
|
-
var Accept = (_class12 = class extends
|
|
1685
|
+
var Accept = (_class12 = class extends _chunkOP6MHN5Dcjs.Struct {
|
|
1686
1686
|
static {
|
|
1687
1687
|
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Accept");
|
|
1688
1688
|
}
|
|
1689
1689
|
static __initStatic41() {this._capnp = {
|
|
1690
1690
|
displayName: "Accept",
|
|
1691
1691
|
id: "d4c9b56290554016",
|
|
1692
|
-
size: new (0,
|
|
1692
|
+
size: new (0, _chunkOP6MHN5Dcjs.ObjectSize)(8, 1)
|
|
1693
1693
|
}}
|
|
1694
1694
|
/**
|
|
1695
1695
|
* A new question ID identifying this accept message, which will eventually receive a Return
|
|
@@ -1698,29 +1698,29 @@ var Accept = (_class12 = class extends _chunkRKF2BUL7cjs.Struct {
|
|
|
1698
1698
|
*
|
|
1699
1699
|
*/
|
|
1700
1700
|
get questionId() {
|
|
1701
|
-
return
|
|
1701
|
+
return _chunkOP6MHN5Dcjs.utils.getUint32(0, this);
|
|
1702
1702
|
}
|
|
1703
1703
|
set questionId(value) {
|
|
1704
|
-
|
|
1704
|
+
_chunkOP6MHN5Dcjs.utils.setUint32(0, value, this);
|
|
1705
1705
|
}
|
|
1706
1706
|
_adoptProvision(value) {
|
|
1707
|
-
|
|
1707
|
+
_chunkOP6MHN5Dcjs.utils.adopt(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
1708
1708
|
}
|
|
1709
1709
|
_disownProvision() {
|
|
1710
|
-
return
|
|
1710
|
+
return _chunkOP6MHN5Dcjs.utils.disown(this.provision);
|
|
1711
1711
|
}
|
|
1712
1712
|
/**
|
|
1713
1713
|
* Identifies the provided object to be picked up.
|
|
1714
1714
|
*
|
|
1715
1715
|
*/
|
|
1716
1716
|
get provision() {
|
|
1717
|
-
return
|
|
1717
|
+
return _chunkOP6MHN5Dcjs.utils.getPointer(0, this);
|
|
1718
1718
|
}
|
|
1719
1719
|
_hasProvision() {
|
|
1720
|
-
return !
|
|
1720
|
+
return !_chunkOP6MHN5Dcjs.utils.isNull(_chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
1721
1721
|
}
|
|
1722
1722
|
set provision(value) {
|
|
1723
|
-
|
|
1723
|
+
_chunkOP6MHN5Dcjs.utils.copyFrom(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
1724
1724
|
}
|
|
1725
1725
|
/**
|
|
1726
1726
|
* If true, this accept shall be temporarily embargoed. The resulting `Return` will not be sent,
|
|
@@ -1758,23 +1758,23 @@ var Accept = (_class12 = class extends _chunkRKF2BUL7cjs.Struct {
|
|
|
1758
1758
|
*
|
|
1759
1759
|
*/
|
|
1760
1760
|
get embargo() {
|
|
1761
|
-
return
|
|
1761
|
+
return _chunkOP6MHN5Dcjs.utils.getBit(32, this);
|
|
1762
1762
|
}
|
|
1763
1763
|
set embargo(value) {
|
|
1764
|
-
|
|
1764
|
+
_chunkOP6MHN5Dcjs.utils.setBit(32, value, this);
|
|
1765
1765
|
}
|
|
1766
1766
|
toString() {
|
|
1767
1767
|
return "Accept_" + super.toString();
|
|
1768
1768
|
}
|
|
1769
1769
|
}, _class12.__initStatic41(), _class12);
|
|
1770
|
-
var Join = (_class13 = class extends
|
|
1770
|
+
var Join = (_class13 = class extends _chunkOP6MHN5Dcjs.Struct {
|
|
1771
1771
|
static {
|
|
1772
1772
|
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Join");
|
|
1773
1773
|
}
|
|
1774
1774
|
static __initStatic42() {this._capnp = {
|
|
1775
1775
|
displayName: "Join",
|
|
1776
1776
|
id: "fbe1980490e001af",
|
|
1777
|
-
size: new (0,
|
|
1777
|
+
size: new (0, _chunkOP6MHN5Dcjs.ObjectSize)(8, 2)
|
|
1778
1778
|
}}
|
|
1779
1779
|
/**
|
|
1780
1780
|
* Question ID used to respond to this Join. (Note that this ID only identifies one part of the
|
|
@@ -1795,38 +1795,38 @@ var Join = (_class13 = class extends _chunkRKF2BUL7cjs.Struct {
|
|
|
1795
1795
|
*
|
|
1796
1796
|
*/
|
|
1797
1797
|
get questionId() {
|
|
1798
|
-
return
|
|
1798
|
+
return _chunkOP6MHN5Dcjs.utils.getUint32(0, this);
|
|
1799
1799
|
}
|
|
1800
1800
|
set questionId(value) {
|
|
1801
|
-
|
|
1801
|
+
_chunkOP6MHN5Dcjs.utils.setUint32(0, value, this);
|
|
1802
1802
|
}
|
|
1803
1803
|
_adoptTarget(value) {
|
|
1804
|
-
|
|
1804
|
+
_chunkOP6MHN5Dcjs.utils.adopt(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
1805
1805
|
}
|
|
1806
1806
|
_disownTarget() {
|
|
1807
|
-
return
|
|
1807
|
+
return _chunkOP6MHN5Dcjs.utils.disown(this.target);
|
|
1808
1808
|
}
|
|
1809
1809
|
/**
|
|
1810
1810
|
* The capability to join.
|
|
1811
1811
|
*
|
|
1812
1812
|
*/
|
|
1813
1813
|
get target() {
|
|
1814
|
-
return
|
|
1814
|
+
return _chunkOP6MHN5Dcjs.utils.getStruct(0, MessageTarget, this);
|
|
1815
1815
|
}
|
|
1816
1816
|
_hasTarget() {
|
|
1817
|
-
return !
|
|
1817
|
+
return !_chunkOP6MHN5Dcjs.utils.isNull(_chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
1818
1818
|
}
|
|
1819
1819
|
_initTarget() {
|
|
1820
|
-
return
|
|
1820
|
+
return _chunkOP6MHN5Dcjs.utils.initStructAt(0, MessageTarget, this);
|
|
1821
1821
|
}
|
|
1822
1822
|
set target(value) {
|
|
1823
|
-
|
|
1823
|
+
_chunkOP6MHN5Dcjs.utils.copyFrom(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
1824
1824
|
}
|
|
1825
1825
|
_adoptKeyPart(value) {
|
|
1826
|
-
|
|
1826
|
+
_chunkOP6MHN5Dcjs.utils.adopt(value, _chunkOP6MHN5Dcjs.utils.getPointer(1, this));
|
|
1827
1827
|
}
|
|
1828
1828
|
_disownKeyPart() {
|
|
1829
|
-
return
|
|
1829
|
+
return _chunkOP6MHN5Dcjs.utils.disown(this.keyPart);
|
|
1830
1830
|
}
|
|
1831
1831
|
/**
|
|
1832
1832
|
* A part of the join key. These combine to form the complete join key, which is used to establish
|
|
@@ -1834,13 +1834,13 @@ var Join = (_class13 = class extends _chunkRKF2BUL7cjs.Struct {
|
|
|
1834
1834
|
*
|
|
1835
1835
|
*/
|
|
1836
1836
|
get keyPart() {
|
|
1837
|
-
return
|
|
1837
|
+
return _chunkOP6MHN5Dcjs.utils.getPointer(1, this);
|
|
1838
1838
|
}
|
|
1839
1839
|
_hasKeyPart() {
|
|
1840
|
-
return !
|
|
1840
|
+
return !_chunkOP6MHN5Dcjs.utils.isNull(_chunkOP6MHN5Dcjs.utils.getPointer(1, this));
|
|
1841
1841
|
}
|
|
1842
1842
|
set keyPart(value) {
|
|
1843
|
-
|
|
1843
|
+
_chunkOP6MHN5Dcjs.utils.copyFrom(value, _chunkOP6MHN5Dcjs.utils.getPointer(1, this));
|
|
1844
1844
|
}
|
|
1845
1845
|
toString() {
|
|
1846
1846
|
return "Join_" + super.toString();
|
|
@@ -1863,7 +1863,7 @@ var MessageTarget_Which = {
|
|
|
1863
1863
|
*/
|
|
1864
1864
|
PROMISED_ANSWER: 1
|
|
1865
1865
|
};
|
|
1866
|
-
var MessageTarget = (_class14 = class extends
|
|
1866
|
+
var MessageTarget = (_class14 = class extends _chunkOP6MHN5Dcjs.Struct {
|
|
1867
1867
|
static {
|
|
1868
1868
|
_chunkUSNT2KNTcjs.__name.call(void 0, this, "MessageTarget");
|
|
1869
1869
|
}
|
|
@@ -1872,7 +1872,7 @@ var MessageTarget = (_class14 = class extends _chunkRKF2BUL7cjs.Struct {
|
|
|
1872
1872
|
static __initStatic45() {this._capnp = {
|
|
1873
1873
|
displayName: "MessageTarget",
|
|
1874
1874
|
id: "95bc14545813fbc1",
|
|
1875
|
-
size: new (0,
|
|
1875
|
+
size: new (0, _chunkOP6MHN5Dcjs.ObjectSize)(8, 1)
|
|
1876
1876
|
}}
|
|
1877
1877
|
/**
|
|
1878
1878
|
* This message is to a capability or promise previously imported by the caller (exported by
|
|
@@ -1880,22 +1880,22 @@ var MessageTarget = (_class14 = class extends _chunkRKF2BUL7cjs.Struct {
|
|
|
1880
1880
|
*
|
|
1881
1881
|
*/
|
|
1882
1882
|
get importedCap() {
|
|
1883
|
-
|
|
1884
|
-
return
|
|
1883
|
+
_chunkOP6MHN5Dcjs.utils.testWhich("importedCap", _chunkOP6MHN5Dcjs.utils.getUint16(4, this), 0, this);
|
|
1884
|
+
return _chunkOP6MHN5Dcjs.utils.getUint32(0, this);
|
|
1885
1885
|
}
|
|
1886
1886
|
get _isImportedCap() {
|
|
1887
|
-
return
|
|
1887
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(4, this) === 0;
|
|
1888
1888
|
}
|
|
1889
1889
|
set importedCap(value) {
|
|
1890
|
-
|
|
1891
|
-
|
|
1890
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(4, 0, this);
|
|
1891
|
+
_chunkOP6MHN5Dcjs.utils.setUint32(0, value, this);
|
|
1892
1892
|
}
|
|
1893
1893
|
_adoptPromisedAnswer(value) {
|
|
1894
|
-
|
|
1895
|
-
|
|
1894
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(4, 1, this);
|
|
1895
|
+
_chunkOP6MHN5Dcjs.utils.adopt(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
1896
1896
|
}
|
|
1897
1897
|
_disownPromisedAnswer() {
|
|
1898
|
-
return
|
|
1898
|
+
return _chunkOP6MHN5Dcjs.utils.disown(this.promisedAnswer);
|
|
1899
1899
|
}
|
|
1900
1900
|
/**
|
|
1901
1901
|
* This message is to a capability that is expected to be returned by another call that has not
|
|
@@ -1906,45 +1906,45 @@ var MessageTarget = (_class14 = class extends _chunkRKF2BUL7cjs.Struct {
|
|
|
1906
1906
|
*
|
|
1907
1907
|
*/
|
|
1908
1908
|
get promisedAnswer() {
|
|
1909
|
-
|
|
1910
|
-
return
|
|
1909
|
+
_chunkOP6MHN5Dcjs.utils.testWhich("promisedAnswer", _chunkOP6MHN5Dcjs.utils.getUint16(4, this), 1, this);
|
|
1910
|
+
return _chunkOP6MHN5Dcjs.utils.getStruct(0, PromisedAnswer, this);
|
|
1911
1911
|
}
|
|
1912
1912
|
_hasPromisedAnswer() {
|
|
1913
|
-
return !
|
|
1913
|
+
return !_chunkOP6MHN5Dcjs.utils.isNull(_chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
1914
1914
|
}
|
|
1915
1915
|
_initPromisedAnswer() {
|
|
1916
|
-
|
|
1917
|
-
return
|
|
1916
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(4, 1, this);
|
|
1917
|
+
return _chunkOP6MHN5Dcjs.utils.initStructAt(0, PromisedAnswer, this);
|
|
1918
1918
|
}
|
|
1919
1919
|
get _isPromisedAnswer() {
|
|
1920
|
-
return
|
|
1920
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(4, this) === 1;
|
|
1921
1921
|
}
|
|
1922
1922
|
set promisedAnswer(value) {
|
|
1923
|
-
|
|
1924
|
-
|
|
1923
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(4, 1, this);
|
|
1924
|
+
_chunkOP6MHN5Dcjs.utils.copyFrom(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
1925
1925
|
}
|
|
1926
1926
|
toString() {
|
|
1927
1927
|
return "MessageTarget_" + super.toString();
|
|
1928
1928
|
}
|
|
1929
1929
|
which() {
|
|
1930
|
-
return
|
|
1930
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(4, this);
|
|
1931
1931
|
}
|
|
1932
1932
|
}, _class14.__initStatic43(), _class14.__initStatic44(), _class14.__initStatic45(), _class14);
|
|
1933
|
-
var Payload = (_class15 = class _Payload extends
|
|
1933
|
+
var Payload = (_class15 = class _Payload extends _chunkOP6MHN5Dcjs.Struct {
|
|
1934
1934
|
static {
|
|
1935
1935
|
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Payload");
|
|
1936
1936
|
}
|
|
1937
1937
|
static __initStatic46() {this._capnp = {
|
|
1938
1938
|
displayName: "Payload",
|
|
1939
1939
|
id: "9a0e61223d96743b",
|
|
1940
|
-
size: new (0,
|
|
1940
|
+
size: new (0, _chunkOP6MHN5Dcjs.ObjectSize)(0, 2)
|
|
1941
1941
|
}}
|
|
1942
1942
|
|
|
1943
1943
|
_adoptContent(value) {
|
|
1944
|
-
|
|
1944
|
+
_chunkOP6MHN5Dcjs.utils.adopt(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
1945
1945
|
}
|
|
1946
1946
|
_disownContent() {
|
|
1947
|
-
return
|
|
1947
|
+
return _chunkOP6MHN5Dcjs.utils.disown(this.content);
|
|
1948
1948
|
}
|
|
1949
1949
|
/**
|
|
1950
1950
|
* Some Cap'n Proto data structure. Capability pointers embedded in this structure index into
|
|
@@ -1952,35 +1952,35 @@ var Payload = (_class15 = class _Payload extends _chunkRKF2BUL7cjs.Struct {
|
|
|
1952
1952
|
*
|
|
1953
1953
|
*/
|
|
1954
1954
|
get content() {
|
|
1955
|
-
return
|
|
1955
|
+
return _chunkOP6MHN5Dcjs.utils.getPointer(0, this);
|
|
1956
1956
|
}
|
|
1957
1957
|
_hasContent() {
|
|
1958
|
-
return !
|
|
1958
|
+
return !_chunkOP6MHN5Dcjs.utils.isNull(_chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
1959
1959
|
}
|
|
1960
1960
|
set content(value) {
|
|
1961
|
-
|
|
1961
|
+
_chunkOP6MHN5Dcjs.utils.copyFrom(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
1962
1962
|
}
|
|
1963
1963
|
_adoptCapTable(value) {
|
|
1964
|
-
|
|
1964
|
+
_chunkOP6MHN5Dcjs.utils.adopt(value, _chunkOP6MHN5Dcjs.utils.getPointer(1, this));
|
|
1965
1965
|
}
|
|
1966
1966
|
_disownCapTable() {
|
|
1967
|
-
return
|
|
1967
|
+
return _chunkOP6MHN5Dcjs.utils.disown(this.capTable);
|
|
1968
1968
|
}
|
|
1969
1969
|
/**
|
|
1970
1970
|
* Descriptors corresponding to the cap pointers in `content`.
|
|
1971
1971
|
*
|
|
1972
1972
|
*/
|
|
1973
1973
|
get capTable() {
|
|
1974
|
-
return
|
|
1974
|
+
return _chunkOP6MHN5Dcjs.utils.getList(1, _Payload._CapTable, this);
|
|
1975
1975
|
}
|
|
1976
1976
|
_hasCapTable() {
|
|
1977
|
-
return !
|
|
1977
|
+
return !_chunkOP6MHN5Dcjs.utils.isNull(_chunkOP6MHN5Dcjs.utils.getPointer(1, this));
|
|
1978
1978
|
}
|
|
1979
1979
|
_initCapTable(length) {
|
|
1980
|
-
return
|
|
1980
|
+
return _chunkOP6MHN5Dcjs.utils.initList(1, _Payload._CapTable, length, this);
|
|
1981
1981
|
}
|
|
1982
1982
|
set capTable(value) {
|
|
1983
|
-
|
|
1983
|
+
_chunkOP6MHN5Dcjs.utils.copyFrom(value, _chunkOP6MHN5Dcjs.utils.getPointer(1, this));
|
|
1984
1984
|
}
|
|
1985
1985
|
toString() {
|
|
1986
1986
|
return "Payload_" + super.toString();
|
|
@@ -2035,7 +2035,7 @@ var CapDescriptor_Which = {
|
|
|
2035
2035
|
*/
|
|
2036
2036
|
THIRD_PARTY_HOSTED: 5
|
|
2037
2037
|
};
|
|
2038
|
-
var CapDescriptor = (_class16 = class _CapDescriptor extends
|
|
2038
|
+
var CapDescriptor = (_class16 = class _CapDescriptor extends _chunkOP6MHN5Dcjs.Struct {
|
|
2039
2039
|
static {
|
|
2040
2040
|
_chunkUSNT2KNTcjs.__name.call(void 0, this, "CapDescriptor");
|
|
2041
2041
|
}
|
|
@@ -2048,14 +2048,14 @@ var CapDescriptor = (_class16 = class _CapDescriptor extends _chunkRKF2BUL7cjs.S
|
|
|
2048
2048
|
static __initStatic53() {this._capnp = {
|
|
2049
2049
|
displayName: "CapDescriptor",
|
|
2050
2050
|
id: "8523ddc40b86b8b0",
|
|
2051
|
-
size: new (0,
|
|
2052
|
-
defaultAttachedFd:
|
|
2051
|
+
size: new (0, _chunkOP6MHN5Dcjs.ObjectSize)(8, 1),
|
|
2052
|
+
defaultAttachedFd: _chunkOP6MHN5Dcjs.getUint8Mask.call(void 0, 255)
|
|
2053
2053
|
}}
|
|
2054
2054
|
get _isNone() {
|
|
2055
|
-
return
|
|
2055
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(0, this) === 0;
|
|
2056
2056
|
}
|
|
2057
2057
|
set none(_) {
|
|
2058
|
-
|
|
2058
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 0, this);
|
|
2059
2059
|
}
|
|
2060
2060
|
/**
|
|
2061
2061
|
* The ID of a capability in the sender's export table (receiver's import table). It may be a
|
|
@@ -2063,15 +2063,15 @@ var CapDescriptor = (_class16 = class _CapDescriptor extends _chunkRKF2BUL7cjs.S
|
|
|
2063
2063
|
*
|
|
2064
2064
|
*/
|
|
2065
2065
|
get senderHosted() {
|
|
2066
|
-
|
|
2067
|
-
return
|
|
2066
|
+
_chunkOP6MHN5Dcjs.utils.testWhich("senderHosted", _chunkOP6MHN5Dcjs.utils.getUint16(0, this), 1, this);
|
|
2067
|
+
return _chunkOP6MHN5Dcjs.utils.getUint32(4, this);
|
|
2068
2068
|
}
|
|
2069
2069
|
get _isSenderHosted() {
|
|
2070
|
-
return
|
|
2070
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(0, this) === 1;
|
|
2071
2071
|
}
|
|
2072
2072
|
set senderHosted(value) {
|
|
2073
|
-
|
|
2074
|
-
|
|
2073
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 1, this);
|
|
2074
|
+
_chunkOP6MHN5Dcjs.utils.setUint32(4, value, this);
|
|
2075
2075
|
}
|
|
2076
2076
|
/**
|
|
2077
2077
|
* A promise that the sender will resolve later. The sender will send exactly one Resolve
|
|
@@ -2082,37 +2082,37 @@ var CapDescriptor = (_class16 = class _CapDescriptor extends _chunkRKF2BUL7cjs.S
|
|
|
2082
2082
|
*
|
|
2083
2083
|
*/
|
|
2084
2084
|
get senderPromise() {
|
|
2085
|
-
|
|
2086
|
-
return
|
|
2085
|
+
_chunkOP6MHN5Dcjs.utils.testWhich("senderPromise", _chunkOP6MHN5Dcjs.utils.getUint16(0, this), 2, this);
|
|
2086
|
+
return _chunkOP6MHN5Dcjs.utils.getUint32(4, this);
|
|
2087
2087
|
}
|
|
2088
2088
|
get _isSenderPromise() {
|
|
2089
|
-
return
|
|
2089
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(0, this) === 2;
|
|
2090
2090
|
}
|
|
2091
2091
|
set senderPromise(value) {
|
|
2092
|
-
|
|
2093
|
-
|
|
2092
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 2, this);
|
|
2093
|
+
_chunkOP6MHN5Dcjs.utils.setUint32(4, value, this);
|
|
2094
2094
|
}
|
|
2095
2095
|
/**
|
|
2096
2096
|
* A capability (or promise) previously exported by the receiver (imported by the sender).
|
|
2097
2097
|
*
|
|
2098
2098
|
*/
|
|
2099
2099
|
get receiverHosted() {
|
|
2100
|
-
|
|
2101
|
-
return
|
|
2100
|
+
_chunkOP6MHN5Dcjs.utils.testWhich("receiverHosted", _chunkOP6MHN5Dcjs.utils.getUint16(0, this), 3, this);
|
|
2101
|
+
return _chunkOP6MHN5Dcjs.utils.getUint32(4, this);
|
|
2102
2102
|
}
|
|
2103
2103
|
get _isReceiverHosted() {
|
|
2104
|
-
return
|
|
2104
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(0, this) === 3;
|
|
2105
2105
|
}
|
|
2106
2106
|
set receiverHosted(value) {
|
|
2107
|
-
|
|
2108
|
-
|
|
2107
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 3, this);
|
|
2108
|
+
_chunkOP6MHN5Dcjs.utils.setUint32(4, value, this);
|
|
2109
2109
|
}
|
|
2110
2110
|
_adoptReceiverAnswer(value) {
|
|
2111
|
-
|
|
2112
|
-
|
|
2111
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 4, this);
|
|
2112
|
+
_chunkOP6MHN5Dcjs.utils.adopt(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
2113
2113
|
}
|
|
2114
2114
|
_disownReceiverAnswer() {
|
|
2115
|
-
return
|
|
2115
|
+
return _chunkOP6MHN5Dcjs.utils.disown(this.receiverAnswer);
|
|
2116
2116
|
}
|
|
2117
2117
|
/**
|
|
2118
2118
|
* A capability expected to be returned in the results of a currently-outstanding call posed
|
|
@@ -2120,29 +2120,29 @@ var CapDescriptor = (_class16 = class _CapDescriptor extends _chunkRKF2BUL7cjs.S
|
|
|
2120
2120
|
*
|
|
2121
2121
|
*/
|
|
2122
2122
|
get receiverAnswer() {
|
|
2123
|
-
|
|
2124
|
-
return
|
|
2123
|
+
_chunkOP6MHN5Dcjs.utils.testWhich("receiverAnswer", _chunkOP6MHN5Dcjs.utils.getUint16(0, this), 4, this);
|
|
2124
|
+
return _chunkOP6MHN5Dcjs.utils.getStruct(0, PromisedAnswer, this);
|
|
2125
2125
|
}
|
|
2126
2126
|
_hasReceiverAnswer() {
|
|
2127
|
-
return !
|
|
2127
|
+
return !_chunkOP6MHN5Dcjs.utils.isNull(_chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
2128
2128
|
}
|
|
2129
2129
|
_initReceiverAnswer() {
|
|
2130
|
-
|
|
2131
|
-
return
|
|
2130
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 4, this);
|
|
2131
|
+
return _chunkOP6MHN5Dcjs.utils.initStructAt(0, PromisedAnswer, this);
|
|
2132
2132
|
}
|
|
2133
2133
|
get _isReceiverAnswer() {
|
|
2134
|
-
return
|
|
2134
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(0, this) === 4;
|
|
2135
2135
|
}
|
|
2136
2136
|
set receiverAnswer(value) {
|
|
2137
|
-
|
|
2138
|
-
|
|
2137
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 4, this);
|
|
2138
|
+
_chunkOP6MHN5Dcjs.utils.copyFrom(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
2139
2139
|
}
|
|
2140
2140
|
_adoptThirdPartyHosted(value) {
|
|
2141
|
-
|
|
2142
|
-
|
|
2141
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 5, this);
|
|
2142
|
+
_chunkOP6MHN5Dcjs.utils.adopt(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
2143
2143
|
}
|
|
2144
2144
|
_disownThirdPartyHosted() {
|
|
2145
|
-
return
|
|
2145
|
+
return _chunkOP6MHN5Dcjs.utils.disown(this.thirdPartyHosted);
|
|
2146
2146
|
}
|
|
2147
2147
|
/**
|
|
2148
2148
|
* **(level 3)**
|
|
@@ -2155,22 +2155,22 @@ var CapDescriptor = (_class16 = class _CapDescriptor extends _chunkRKF2BUL7cjs.S
|
|
|
2155
2155
|
*
|
|
2156
2156
|
*/
|
|
2157
2157
|
get thirdPartyHosted() {
|
|
2158
|
-
|
|
2159
|
-
return
|
|
2158
|
+
_chunkOP6MHN5Dcjs.utils.testWhich("thirdPartyHosted", _chunkOP6MHN5Dcjs.utils.getUint16(0, this), 5, this);
|
|
2159
|
+
return _chunkOP6MHN5Dcjs.utils.getStruct(0, ThirdPartyCapDescriptor, this);
|
|
2160
2160
|
}
|
|
2161
2161
|
_hasThirdPartyHosted() {
|
|
2162
|
-
return !
|
|
2162
|
+
return !_chunkOP6MHN5Dcjs.utils.isNull(_chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
2163
2163
|
}
|
|
2164
2164
|
_initThirdPartyHosted() {
|
|
2165
|
-
|
|
2166
|
-
return
|
|
2165
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 5, this);
|
|
2166
|
+
return _chunkOP6MHN5Dcjs.utils.initStructAt(0, ThirdPartyCapDescriptor, this);
|
|
2167
2167
|
}
|
|
2168
2168
|
get _isThirdPartyHosted() {
|
|
2169
|
-
return
|
|
2169
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(0, this) === 5;
|
|
2170
2170
|
}
|
|
2171
2171
|
set thirdPartyHosted(value) {
|
|
2172
|
-
|
|
2173
|
-
|
|
2172
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 5, this);
|
|
2173
|
+
_chunkOP6MHN5Dcjs.utils.copyFrom(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
2174
2174
|
}
|
|
2175
2175
|
/**
|
|
2176
2176
|
* If the RPC message in which this CapDescriptor was delivered also had file descriptors
|
|
@@ -2231,16 +2231,16 @@ var CapDescriptor = (_class16 = class _CapDescriptor extends _chunkRKF2BUL7cjs.S
|
|
|
2231
2231
|
*
|
|
2232
2232
|
*/
|
|
2233
2233
|
get attachedFd() {
|
|
2234
|
-
return
|
|
2234
|
+
return _chunkOP6MHN5Dcjs.utils.getUint8(2, this, _CapDescriptor._capnp.defaultAttachedFd);
|
|
2235
2235
|
}
|
|
2236
2236
|
set attachedFd(value) {
|
|
2237
|
-
|
|
2237
|
+
_chunkOP6MHN5Dcjs.utils.setUint8(2, value, this, _CapDescriptor._capnp.defaultAttachedFd);
|
|
2238
2238
|
}
|
|
2239
2239
|
toString() {
|
|
2240
2240
|
return "CapDescriptor_" + super.toString();
|
|
2241
2241
|
}
|
|
2242
2242
|
which() {
|
|
2243
|
-
return
|
|
2243
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(0, this);
|
|
2244
2244
|
}
|
|
2245
2245
|
}, _class16.__initStatic47(), _class16.__initStatic48(), _class16.__initStatic49(), _class16.__initStatic50(), _class16.__initStatic51(), _class16.__initStatic52(), _class16.__initStatic53(), _class16);
|
|
2246
2246
|
var PromisedAnswer_Op_Which = {
|
|
@@ -2257,7 +2257,7 @@ var PromisedAnswer_Op_Which = {
|
|
|
2257
2257
|
*/
|
|
2258
2258
|
GET_POINTER_FIELD: 1
|
|
2259
2259
|
};
|
|
2260
|
-
var PromisedAnswer_Op = (_class17 = class extends
|
|
2260
|
+
var PromisedAnswer_Op = (_class17 = class extends _chunkOP6MHN5Dcjs.Struct {
|
|
2261
2261
|
static {
|
|
2262
2262
|
_chunkUSNT2KNTcjs.__name.call(void 0, this, "PromisedAnswer_Op");
|
|
2263
2263
|
}
|
|
@@ -2266,13 +2266,13 @@ var PromisedAnswer_Op = (_class17 = class extends _chunkRKF2BUL7cjs.Struct {
|
|
|
2266
2266
|
static __initStatic56() {this._capnp = {
|
|
2267
2267
|
displayName: "Op",
|
|
2268
2268
|
id: "f316944415569081",
|
|
2269
|
-
size: new (0,
|
|
2269
|
+
size: new (0, _chunkOP6MHN5Dcjs.ObjectSize)(8, 0)
|
|
2270
2270
|
}}
|
|
2271
2271
|
get _isNoop() {
|
|
2272
|
-
return
|
|
2272
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(0, this) === 0;
|
|
2273
2273
|
}
|
|
2274
2274
|
set noop(_) {
|
|
2275
|
-
|
|
2275
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 0, this);
|
|
2276
2276
|
}
|
|
2277
2277
|
/**
|
|
2278
2278
|
* Get a pointer field within a struct. The number is an index into the pointer section, NOT
|
|
@@ -2280,24 +2280,24 @@ var PromisedAnswer_Op = (_class17 = class extends _chunkRKF2BUL7cjs.Struct {
|
|
|
2280
2280
|
*
|
|
2281
2281
|
*/
|
|
2282
2282
|
get getPointerField() {
|
|
2283
|
-
|
|
2284
|
-
return
|
|
2283
|
+
_chunkOP6MHN5Dcjs.utils.testWhich("getPointerField", _chunkOP6MHN5Dcjs.utils.getUint16(0, this), 1, this);
|
|
2284
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(2, this);
|
|
2285
2285
|
}
|
|
2286
2286
|
get _isGetPointerField() {
|
|
2287
|
-
return
|
|
2287
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(0, this) === 1;
|
|
2288
2288
|
}
|
|
2289
2289
|
set getPointerField(value) {
|
|
2290
|
-
|
|
2291
|
-
|
|
2290
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(0, 1, this);
|
|
2291
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(2, value, this);
|
|
2292
2292
|
}
|
|
2293
2293
|
toString() {
|
|
2294
2294
|
return "PromisedAnswer_Op_" + super.toString();
|
|
2295
2295
|
}
|
|
2296
2296
|
which() {
|
|
2297
|
-
return
|
|
2297
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(0, this);
|
|
2298
2298
|
}
|
|
2299
2299
|
}, _class17.__initStatic54(), _class17.__initStatic55(), _class17.__initStatic56(), _class17);
|
|
2300
|
-
var PromisedAnswer = (_class18 = class _PromisedAnswer extends
|
|
2300
|
+
var PromisedAnswer = (_class18 = class _PromisedAnswer extends _chunkOP6MHN5Dcjs.Struct {
|
|
2301
2301
|
static {
|
|
2302
2302
|
_chunkUSNT2KNTcjs.__name.call(void 0, this, "PromisedAnswer");
|
|
2303
2303
|
}
|
|
@@ -2305,7 +2305,7 @@ var PromisedAnswer = (_class18 = class _PromisedAnswer extends _chunkRKF2BUL7cjs
|
|
|
2305
2305
|
static __initStatic58() {this._capnp = {
|
|
2306
2306
|
displayName: "PromisedAnswer",
|
|
2307
2307
|
id: "d800b1d6cd6f1ca0",
|
|
2308
|
-
size: new (0,
|
|
2308
|
+
size: new (0, _chunkOP6MHN5Dcjs.ObjectSize)(8, 1)
|
|
2309
2309
|
}}
|
|
2310
2310
|
|
|
2311
2311
|
/**
|
|
@@ -2314,16 +2314,16 @@ var PromisedAnswer = (_class18 = class _PromisedAnswer extends _chunkRKF2BUL7cjs
|
|
|
2314
2314
|
*
|
|
2315
2315
|
*/
|
|
2316
2316
|
get questionId() {
|
|
2317
|
-
return
|
|
2317
|
+
return _chunkOP6MHN5Dcjs.utils.getUint32(0, this);
|
|
2318
2318
|
}
|
|
2319
2319
|
set questionId(value) {
|
|
2320
|
-
|
|
2320
|
+
_chunkOP6MHN5Dcjs.utils.setUint32(0, value, this);
|
|
2321
2321
|
}
|
|
2322
2322
|
_adoptTransform(value) {
|
|
2323
|
-
|
|
2323
|
+
_chunkOP6MHN5Dcjs.utils.adopt(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
2324
2324
|
}
|
|
2325
2325
|
_disownTransform() {
|
|
2326
|
-
return
|
|
2326
|
+
return _chunkOP6MHN5Dcjs.utils.disown(this.transform);
|
|
2327
2327
|
}
|
|
2328
2328
|
/**
|
|
2329
2329
|
* Operations / transformations to apply to the result in order to get the capability actually
|
|
@@ -2332,48 +2332,48 @@ var PromisedAnswer = (_class18 = class _PromisedAnswer extends _chunkRKF2BUL7cjs
|
|
|
2332
2332
|
*
|
|
2333
2333
|
*/
|
|
2334
2334
|
get transform() {
|
|
2335
|
-
return
|
|
2335
|
+
return _chunkOP6MHN5Dcjs.utils.getList(0, _PromisedAnswer._Transform, this);
|
|
2336
2336
|
}
|
|
2337
2337
|
_hasTransform() {
|
|
2338
|
-
return !
|
|
2338
|
+
return !_chunkOP6MHN5Dcjs.utils.isNull(_chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
2339
2339
|
}
|
|
2340
2340
|
_initTransform(length) {
|
|
2341
|
-
return
|
|
2341
|
+
return _chunkOP6MHN5Dcjs.utils.initList(0, _PromisedAnswer._Transform, length, this);
|
|
2342
2342
|
}
|
|
2343
2343
|
set transform(value) {
|
|
2344
|
-
|
|
2344
|
+
_chunkOP6MHN5Dcjs.utils.copyFrom(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
2345
2345
|
}
|
|
2346
2346
|
toString() {
|
|
2347
2347
|
return "PromisedAnswer_" + super.toString();
|
|
2348
2348
|
}
|
|
2349
2349
|
}, _class18.__initStatic57(), _class18.__initStatic58(), _class18);
|
|
2350
|
-
var ThirdPartyCapDescriptor = (_class19 = class extends
|
|
2350
|
+
var ThirdPartyCapDescriptor = (_class19 = class extends _chunkOP6MHN5Dcjs.Struct {
|
|
2351
2351
|
static {
|
|
2352
2352
|
_chunkUSNT2KNTcjs.__name.call(void 0, this, "ThirdPartyCapDescriptor");
|
|
2353
2353
|
}
|
|
2354
2354
|
static __initStatic59() {this._capnp = {
|
|
2355
2355
|
displayName: "ThirdPartyCapDescriptor",
|
|
2356
2356
|
id: "d37007fde1f0027d",
|
|
2357
|
-
size: new (0,
|
|
2357
|
+
size: new (0, _chunkOP6MHN5Dcjs.ObjectSize)(8, 1)
|
|
2358
2358
|
}}
|
|
2359
2359
|
_adoptId(value) {
|
|
2360
|
-
|
|
2360
|
+
_chunkOP6MHN5Dcjs.utils.adopt(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
2361
2361
|
}
|
|
2362
2362
|
_disownId() {
|
|
2363
|
-
return
|
|
2363
|
+
return _chunkOP6MHN5Dcjs.utils.disown(this.id);
|
|
2364
2364
|
}
|
|
2365
2365
|
/**
|
|
2366
2366
|
* Identifies the third-party host and the specific capability to accept from it.
|
|
2367
2367
|
*
|
|
2368
2368
|
*/
|
|
2369
2369
|
get id() {
|
|
2370
|
-
return
|
|
2370
|
+
return _chunkOP6MHN5Dcjs.utils.getPointer(0, this);
|
|
2371
2371
|
}
|
|
2372
2372
|
_hasId() {
|
|
2373
|
-
return !
|
|
2373
|
+
return !_chunkOP6MHN5Dcjs.utils.isNull(_chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
2374
2374
|
}
|
|
2375
2375
|
set id(value) {
|
|
2376
|
-
|
|
2376
|
+
_chunkOP6MHN5Dcjs.utils.copyFrom(value, _chunkOP6MHN5Dcjs.utils.getPointer(0, this));
|
|
2377
2377
|
}
|
|
2378
2378
|
/**
|
|
2379
2379
|
* A proxy for the third-party object exported by the sender. In CapTP terminology this is called
|
|
@@ -2393,10 +2393,10 @@ var ThirdPartyCapDescriptor = (_class19 = class extends _chunkRKF2BUL7cjs.Struct
|
|
|
2393
2393
|
*
|
|
2394
2394
|
*/
|
|
2395
2395
|
get vineId() {
|
|
2396
|
-
return
|
|
2396
|
+
return _chunkOP6MHN5Dcjs.utils.getUint32(0, this);
|
|
2397
2397
|
}
|
|
2398
2398
|
set vineId(value) {
|
|
2399
|
-
|
|
2399
|
+
_chunkOP6MHN5Dcjs.utils.setUint32(0, value, this);
|
|
2400
2400
|
}
|
|
2401
2401
|
toString() {
|
|
2402
2402
|
return "ThirdPartyCapDescriptor_" + super.toString();
|
|
@@ -2460,7 +2460,7 @@ var Exception_Type = {
|
|
|
2460
2460
|
*/
|
|
2461
2461
|
UNIMPLEMENTED: 3
|
|
2462
2462
|
};
|
|
2463
|
-
var Exception = (_class20 = class extends
|
|
2463
|
+
var Exception = (_class20 = class extends _chunkOP6MHN5Dcjs.Struct {
|
|
2464
2464
|
static {
|
|
2465
2465
|
_chunkUSNT2KNTcjs.__name.call(void 0, this, "Exception");
|
|
2466
2466
|
}
|
|
@@ -2468,17 +2468,17 @@ var Exception = (_class20 = class extends _chunkRKF2BUL7cjs.Struct {
|
|
|
2468
2468
|
static __initStatic61() {this._capnp = {
|
|
2469
2469
|
displayName: "Exception",
|
|
2470
2470
|
id: "d625b7063acf691a",
|
|
2471
|
-
size: new (0,
|
|
2471
|
+
size: new (0, _chunkOP6MHN5Dcjs.ObjectSize)(8, 2)
|
|
2472
2472
|
}}
|
|
2473
2473
|
/**
|
|
2474
2474
|
* Human-readable failure description.
|
|
2475
2475
|
*
|
|
2476
2476
|
*/
|
|
2477
2477
|
get reason() {
|
|
2478
|
-
return
|
|
2478
|
+
return _chunkOP6MHN5Dcjs.utils.getText(0, this);
|
|
2479
2479
|
}
|
|
2480
2480
|
set reason(value) {
|
|
2481
|
-
|
|
2481
|
+
_chunkOP6MHN5Dcjs.utils.setText(0, value, this);
|
|
2482
2482
|
}
|
|
2483
2483
|
/**
|
|
2484
2484
|
* The type of the error. The purpose of this enum is not to describe the error itself, but
|
|
@@ -2486,30 +2486,30 @@ var Exception = (_class20 = class extends _chunkRKF2BUL7cjs.Struct {
|
|
|
2486
2486
|
*
|
|
2487
2487
|
*/
|
|
2488
2488
|
get type() {
|
|
2489
|
-
return
|
|
2489
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(4, this);
|
|
2490
2490
|
}
|
|
2491
2491
|
set type(value) {
|
|
2492
|
-
|
|
2492
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(4, value, this);
|
|
2493
2493
|
}
|
|
2494
2494
|
/**
|
|
2495
2495
|
* OBSOLETE. Ignore.
|
|
2496
2496
|
*
|
|
2497
2497
|
*/
|
|
2498
2498
|
get obsoleteIsCallersFault() {
|
|
2499
|
-
return
|
|
2499
|
+
return _chunkOP6MHN5Dcjs.utils.getBit(0, this);
|
|
2500
2500
|
}
|
|
2501
2501
|
set obsoleteIsCallersFault(value) {
|
|
2502
|
-
|
|
2502
|
+
_chunkOP6MHN5Dcjs.utils.setBit(0, value, this);
|
|
2503
2503
|
}
|
|
2504
2504
|
/**
|
|
2505
2505
|
* OBSOLETE. See `type` instead.
|
|
2506
2506
|
*
|
|
2507
2507
|
*/
|
|
2508
2508
|
get obsoleteDurability() {
|
|
2509
|
-
return
|
|
2509
|
+
return _chunkOP6MHN5Dcjs.utils.getUint16(2, this);
|
|
2510
2510
|
}
|
|
2511
2511
|
set obsoleteDurability(value) {
|
|
2512
|
-
|
|
2512
|
+
_chunkOP6MHN5Dcjs.utils.setUint16(2, value, this);
|
|
2513
2513
|
}
|
|
2514
2514
|
/**
|
|
2515
2515
|
* Stack trace text from the remote server. The format is not specified. By default,
|
|
@@ -2518,17 +2518,17 @@ var Exception = (_class20 = class extends _chunkRKF2BUL7cjs.Struct {
|
|
|
2518
2518
|
*
|
|
2519
2519
|
*/
|
|
2520
2520
|
get trace() {
|
|
2521
|
-
return
|
|
2521
|
+
return _chunkOP6MHN5Dcjs.utils.getText(1, this);
|
|
2522
2522
|
}
|
|
2523
2523
|
set trace(value) {
|
|
2524
|
-
|
|
2524
|
+
_chunkOP6MHN5Dcjs.utils.setText(1, value, this);
|
|
2525
2525
|
}
|
|
2526
2526
|
toString() {
|
|
2527
2527
|
return "Exception_" + super.toString();
|
|
2528
2528
|
}
|
|
2529
2529
|
}, _class20.__initStatic60(), _class20.__initStatic61(), _class20);
|
|
2530
|
-
Payload._CapTable =
|
|
2531
|
-
PromisedAnswer._Transform =
|
|
2530
|
+
Payload._CapTable = _chunkOP6MHN5Dcjs.CompositeList.call(void 0, CapDescriptor);
|
|
2531
|
+
PromisedAnswer._Transform = _chunkOP6MHN5Dcjs.CompositeList.call(void 0, PromisedAnswer_Op);
|
|
2532
2532
|
|
|
2533
2533
|
|
|
2534
2534
|
|