protobufjs 5.0.1 → 5.0.2
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/.travis.yml +2 -1
- package/README.md +144 -22
- package/bin/pbjs +2 -2
- package/bower.json +2 -2
- package/cli/pbjs/targets/amd.js +1 -1
- package/cli/pbjs/targets/json.js +8 -0
- package/cli/pbjs/util.js +1 -1
- package/cli/pbjs.js +1 -1
- package/dist/protobuf-light.js +166 -128
- package/dist/protobuf-light.min.js +88 -81
- package/dist/protobuf-light.min.js.gz +0 -0
- package/dist/protobuf-light.min.map +4 -4
- package/dist/protobuf.js +171 -129
- package/dist/protobuf.min.js +106 -98
- package/dist/protobuf.min.js.gz +0 -0
- package/dist/protobuf.min.map +4 -4
- package/docs/ProtoBuf.Builder.Message.html +1408 -971
- package/docs/ProtoBuf.Builder.Service.html +266 -197
- package/docs/ProtoBuf.Builder.html +758 -542
- package/docs/ProtoBuf.DotProto.Parser.html +223 -161
- package/docs/ProtoBuf.DotProto.Tokenizer.html +344 -248
- package/docs/ProtoBuf.DotProto.html +20 -12
- package/docs/ProtoBuf.Element.html +554 -554
- package/docs/ProtoBuf.Map.html +158 -123
- package/docs/ProtoBuf.Reflect.Element.html +286 -143
- package/docs/ProtoBuf.Reflect.Enum.Value.html +329 -228
- package/docs/ProtoBuf.Reflect.Enum.html +757 -537
- package/docs/ProtoBuf.Reflect.Extension.html +73 -56
- package/docs/ProtoBuf.Reflect.Message.ExtensionField.html +1013 -740
- package/docs/ProtoBuf.Reflect.Message.Field.html +926 -649
- package/docs/ProtoBuf.Reflect.Message.OneOf.html +327 -245
- package/docs/ProtoBuf.Reflect.Message.html +915 -651
- package/docs/ProtoBuf.Reflect.Namespace.html +648 -447
- package/docs/ProtoBuf.Reflect.Service.Method.html +363 -251
- package/docs/ProtoBuf.Reflect.Service.RPCMethod.html +545 -397
- package/docs/ProtoBuf.Reflect.Service.html +721 -511
- package/docs/ProtoBuf.Reflect.T.html +268 -197
- package/docs/ProtoBuf.Reflect.html +20 -12
- package/docs/ProtoBuf.Util.html +169 -118
- package/docs/ProtoBuf.html +840 -628
- package/docs/ProtoBuf.js.html +177 -134
- package/docs/fonts/OpenSans-Bold-webfont.eot +0 -0
- package/docs/fonts/OpenSans-Bold-webfont.svg +1830 -0
- package/docs/fonts/OpenSans-Bold-webfont.woff +0 -0
- package/docs/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
- package/docs/fonts/OpenSans-BoldItalic-webfont.svg +1830 -0
- package/docs/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
- package/docs/fonts/OpenSans-Italic-webfont.eot +0 -0
- package/docs/fonts/OpenSans-Italic-webfont.svg +1830 -0
- package/docs/fonts/OpenSans-Italic-webfont.woff +0 -0
- package/docs/fonts/OpenSans-Light-webfont.eot +0 -0
- package/docs/fonts/OpenSans-Light-webfont.svg +1831 -0
- package/docs/fonts/OpenSans-Light-webfont.woff +0 -0
- package/docs/fonts/OpenSans-LightItalic-webfont.eot +0 -0
- package/docs/fonts/OpenSans-LightItalic-webfont.svg +1835 -0
- package/docs/fonts/OpenSans-LightItalic-webfont.woff +0 -0
- package/docs/fonts/OpenSans-Regular-webfont.eot +0 -0
- package/docs/fonts/OpenSans-Regular-webfont.svg +1831 -0
- package/docs/fonts/OpenSans-Regular-webfont.woff +0 -0
- package/docs/index.html +7 -5
- package/docs/styles/jsdoc-default.css +95 -75
- package/docs/styles/prettify-tomorrow.css +1 -1
- package/examples/protoify/json.js +123 -123
- package/examples/protoify/json.json +123 -123
- package/examples/websocket/server.js +4 -4
- package/externs/protobuf.js +1 -1
- package/jsdoc.json +1 -1
- package/package.json +2 -2
- package/scripts/build.js +53 -53
- package/src/ProtoBuf/Builder/Message.js +9 -5
- package/src/ProtoBuf/Builder.js +19 -2
- package/src/ProtoBuf/DotProto/Parser.js +5 -1
- package/src/ProtoBuf/Reflect/Element.js +13 -1
- package/src/ProtoBuf/Reflect/Message/Field.js +2 -2
- package/src/ProtoBuf/Reflect/Message.js +6 -1
- package/src/ProtoBuf/Util.js +116 -116
- package/src/bower.json +1 -1
- package/src/google/protobuf/descriptor.json +27 -1
- package/tests/bench.txt +373 -373
- package/tests/complex.json +8 -1
- package/tests/custom-options.json +169 -169
- package/tests/extend.json +71 -71
- package/tests/imports.json +83 -83
- package/tests/nodeunit-browser/nodeunit.css +70 -70
- package/tests/nodeunit-browser/nodeunit.js +2108 -2108
- package/tests/options.json +32 -32
- package/tests/proto2js/Bar.json +46 -46
- package/tests/suite.js +43 -1
- package/sandbox/gapi/googleapis/google/api/annotations.proto +0 -29
- package/sandbox/gapi/googleapis/google/api/http.proto +0 -245
- package/sandbox/gapi/googleapis/google/datastore/v1beta3/datastore.proto +0 -281
- package/sandbox/gapi/googleapis/google/datastore/v1beta3/entity.proto +0 -189
- package/sandbox/gapi/googleapis/google/datastore/v1beta3/query.proto +0 -281
- package/sandbox/gapi/googleapis/google/longrunning/operations.proto +0 -144
- package/sandbox/gapi/googleapis/google/protobuf/any.proto +0 -98
- package/sandbox/gapi/googleapis/google/protobuf/any_test.proto +0 -41
- package/sandbox/gapi/googleapis/google/protobuf/api.proto +0 -201
- package/sandbox/gapi/googleapis/google/protobuf/descriptor.proto +0 -773
- package/sandbox/gapi/googleapis/google/protobuf/duration.proto +0 -95
- package/sandbox/gapi/googleapis/google/protobuf/empty.proto +0 -50
- package/sandbox/gapi/googleapis/google/protobuf/field_mask.proto +0 -167
- package/sandbox/gapi/googleapis/google/protobuf/map_lite_unittest.proto +0 -130
- package/sandbox/gapi/googleapis/google/protobuf/map_proto2_unittest.proto +0 -60
- package/sandbox/gapi/googleapis/google/protobuf/map_unittest.proto +0 -129
- package/sandbox/gapi/googleapis/google/protobuf/map_unittest_proto3.proto +0 -120
- package/sandbox/gapi/googleapis/google/protobuf/source_context.proto +0 -47
- package/sandbox/gapi/googleapis/google/protobuf/struct.proto +0 -94
- package/sandbox/gapi/googleapis/google/protobuf/timestamp.proto +0 -107
- package/sandbox/gapi/googleapis/google/protobuf/type.proto +0 -176
- package/sandbox/gapi/googleapis/google/protobuf/unittest.proto +0 -878
- package/sandbox/gapi/googleapis/google/protobuf/unittest_arena.proto +0 -46
- package/sandbox/gapi/googleapis/google/protobuf/unittest_custom_options.proto +0 -394
- package/sandbox/gapi/googleapis/google/protobuf/unittest_drop_unknown_fields.proto +0 -58
- package/sandbox/gapi/googleapis/google/protobuf/unittest_embed_optimize_for.proto +0 -51
- package/sandbox/gapi/googleapis/google/protobuf/unittest_empty.proto +0 -38
- package/sandbox/gapi/googleapis/google/protobuf/unittest_enormous_descriptor.proto +0 -1048
- package/sandbox/gapi/googleapis/google/protobuf/unittest_import.proto +0 -66
- package/sandbox/gapi/googleapis/google/protobuf/unittest_import_lite.proto +0 -52
- package/sandbox/gapi/googleapis/google/protobuf/unittest_import_proto3.proto +0 -68
- package/sandbox/gapi/googleapis/google/protobuf/unittest_import_public.proto +0 -41
- package/sandbox/gapi/googleapis/google/protobuf/unittest_import_public_lite.proto +0 -43
- package/sandbox/gapi/googleapis/google/protobuf/unittest_import_public_proto3.proto +0 -42
- package/sandbox/gapi/googleapis/google/protobuf/unittest_lite.proto +0 -385
- package/sandbox/gapi/googleapis/google/protobuf/unittest_lite_imports_nonlite.proto +0 -44
- package/sandbox/gapi/googleapis/google/protobuf/unittest_mset.proto +0 -82
- package/sandbox/gapi/googleapis/google/protobuf/unittest_mset_wire_format.proto +0 -52
- package/sandbox/gapi/googleapis/google/protobuf/unittest_no_arena.proto +0 -202
- package/sandbox/gapi/googleapis/google/protobuf/unittest_no_arena_import.proto +0 -37
- package/sandbox/gapi/googleapis/google/protobuf/unittest_no_arena_lite.proto +0 -42
- package/sandbox/gapi/googleapis/google/protobuf/unittest_no_field_presence.proto +0 -138
- package/sandbox/gapi/googleapis/google/protobuf/unittest_no_generic_services.proto +0 -54
- package/sandbox/gapi/googleapis/google/protobuf/unittest_optimize_for.proto +0 -67
- package/sandbox/gapi/googleapis/google/protobuf/unittest_preserve_unknown_enum.proto +0 -71
- package/sandbox/gapi/googleapis/google/protobuf/unittest_preserve_unknown_enum2.proto +0 -50
- package/sandbox/gapi/googleapis/google/protobuf/unittest_proto3.proto +0 -388
- package/sandbox/gapi/googleapis/google/protobuf/unittest_proto3_arena.proto +0 -206
- package/sandbox/gapi/googleapis/google/protobuf/unittest_well_known_types.proto +0 -112
- package/sandbox/gapi/googleapis/google/protobuf/unknown_enum_test.proto +0 -62
- package/sandbox/gapi/googleapis/google/protobuf/wrappers.proto +0 -117
- package/sandbox/gapi/googleapis/google/rpc/code.proto +0 -190
- package/sandbox/gapi/googleapis/google/rpc/error_details.proto +0 -157
- package/sandbox/gapi/googleapis/google/rpc/status.proto +0 -90
- package/sandbox/gapi/googleapis/google/type/color.proto +0 -163
- package/sandbox/gapi/googleapis/google/type/date.proto +0 -43
- package/sandbox/gapi/googleapis/google/type/dayofweek.proto +0 -50
- package/sandbox/gapi/googleapis/google/type/latlng.proto +0 -36
- package/sandbox/gapi/googleapis/google/type/money.proto +0 -40
- package/sandbox/gapi/googleapis/google/type/timeofday.proto +0 -42
- package/sandbox/gapi/test.js +0 -17
- package/sandbox/gapi/test.proto +0 -12
- package/sandbox/issue146/MyOptions.proto +0 -28
- package/sandbox/issue146/Sample.proto +0 -21
- package/sandbox/issue146/main.js +0 -3
- package/sandbox/issue147/enum.proto +0 -8
- package/sandbox/issue147/main.js +0 -3
- package/sandbox/issue182/commands.proto +0 -10
- package/sandbox/issue182/execute.js +0 -22
- package/sandbox/issue182/session_commands.proto +0 -14
- package/sandbox/issue289/A.proto +0 -8
- package/sandbox/issue289/B.proto +0 -8
- package/sandbox/issue289/common.proto +0 -5
- package/sandbox/issue289/main.js +0 -7
- package/sandbox/issue300/IAuth.proto +0 -14
- package/sandbox/issue300/Request.proto +0 -14
- package/sandbox/issue300/main.js +0 -26
- package/sandbox/issue347/index.js +0 -27
- package/sandbox/issue355/main.proto +0 -15
- package/sandbox/issue42/innerextend.proto +0 -18
- package/sandbox/issue42/main.js +0 -8
- package/sandbox/issue42/outerextend.proto +0 -17
|
@@ -23,45 +23,51 @@
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
+
|
|
26
27
|
<section>
|
|
27
28
|
|
|
28
29
|
<header>
|
|
29
|
-
<h2>
|
|
30
|
-
<span class="ancestors"><a href="ProtoBuf.html">ProtoBuf</a><a href="ProtoBuf.Builder.html">.Builder</a>.</span>
|
|
31
|
-
|
|
32
|
-
Service
|
|
33
|
-
</h2>
|
|
34
30
|
|
|
35
|
-
<
|
|
31
|
+
<h2>
|
|
32
|
+
<span class="ancestors"><a href="ProtoBuf.html">ProtoBuf</a><a href="ProtoBuf.Builder.html">.Builder</a>.</span>
|
|
33
|
+
|
|
34
|
+
Service
|
|
35
|
+
</h2>
|
|
36
|
+
|
|
37
|
+
<div class="class-description"><p>Barebone of all runtime services.</p></div>
|
|
38
|
+
|
|
36
39
|
|
|
37
40
|
</header>
|
|
38
41
|
|
|
39
42
|
<article>
|
|
40
43
|
<div class="container-overview">
|
|
41
44
|
|
|
45
|
+
|
|
42
46
|
|
|
43
47
|
|
|
44
|
-
|
|
45
|
-
|
|
48
|
+
<h2>Constructor</h2>
|
|
49
|
+
|
|
50
|
+
|
|
46
51
|
<h4 class="name" id="Service"><span class="type-signature"></span>new Service<span class="signature">(rpcImpl<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
|
|
47
52
|
|
|
48
53
|
|
|
49
|
-
</dt>
|
|
50
|
-
<dd>
|
|
51
54
|
|
|
52
|
-
|
|
53
|
-
<div class="description">
|
|
54
|
-
<p>Constructs a new runtime Service.</p>
|
|
55
|
-
</div>
|
|
56
|
-
|
|
57
55
|
|
|
58
|
-
|
|
59
56
|
|
|
60
|
-
|
|
57
|
+
<div class="description">
|
|
58
|
+
<p>Constructs a new runtime Service.</p>
|
|
59
|
+
</div>
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
61
64
|
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
<h5>Parameters:</h5>
|
|
62
70
|
|
|
63
|
-
<h5>Parameters:</h5>
|
|
64
|
-
|
|
65
71
|
|
|
66
72
|
<table class="params">
|
|
67
73
|
<thead>
|
|
@@ -119,10 +125,20 @@
|
|
|
119
125
|
|
|
120
126
|
</tbody>
|
|
121
127
|
</table>
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
<dl class="details">
|
|
135
|
+
|
|
122
136
|
|
|
123
137
|
|
|
124
138
|
|
|
125
|
-
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
126
142
|
|
|
127
143
|
|
|
128
144
|
|
|
@@ -144,7 +160,7 @@
|
|
|
144
160
|
|
|
145
161
|
<dt class="tag-source">Source:</dt>
|
|
146
162
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
147
|
-
<a href="
|
|
163
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line4005">line 4005</a>
|
|
148
164
|
</li></ul></dd>
|
|
149
165
|
|
|
150
166
|
|
|
@@ -156,25 +172,26 @@
|
|
|
156
172
|
</dl>
|
|
157
173
|
|
|
158
174
|
|
|
159
|
-
|
|
160
175
|
|
|
161
|
-
|
|
162
176
|
|
|
163
|
-
|
|
164
177
|
|
|
165
|
-
|
|
166
178
|
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
<h5>Throws:</h5>
|
|
185
|
+
|
|
186
|
+
|
|
171
187
|
|
|
172
188
|
<dl>
|
|
173
189
|
<dt>
|
|
174
190
|
<div class="param-desc">
|
|
175
|
-
If the service cannot be created
|
|
191
|
+
<p>If the service cannot be created</p>
|
|
176
192
|
</div>
|
|
177
193
|
</dt>
|
|
194
|
+
<dd></dd>
|
|
178
195
|
<dt>
|
|
179
196
|
<dl>
|
|
180
197
|
<dt>
|
|
@@ -188,20 +205,18 @@
|
|
|
188
205
|
</dd>
|
|
189
206
|
</dl>
|
|
190
207
|
</dt>
|
|
208
|
+
<dd></dd>
|
|
191
209
|
</dl>
|
|
192
210
|
|
|
193
211
|
|
|
194
|
-
|
|
195
|
-
|
|
196
212
|
|
|
197
213
|
|
|
198
|
-
|
|
199
|
-
</dd>
|
|
200
214
|
|
|
201
|
-
|
|
202
|
-
|
|
215
|
+
|
|
216
|
+
|
|
203
217
|
|
|
204
218
|
|
|
219
|
+
</div>
|
|
205
220
|
|
|
206
221
|
|
|
207
222
|
|
|
@@ -216,34 +231,41 @@
|
|
|
216
231
|
|
|
217
232
|
<h3 class="subsection-title">Members</h3>
|
|
218
233
|
|
|
219
|
-
|
|
234
|
+
|
|
220
235
|
|
|
221
|
-
<
|
|
222
|
-
<h4 class="name" id="$options"><span class="type-signature">(static) </span>$options<span class="type-signature"> :Object.<string, *></span></h4>
|
|
236
|
+
<h4 class="name" id=".$options"><span class="type-signature">(static) </span>$options<span class="type-signature"> :Object.<string, *></span></h4>
|
|
223
237
|
|
|
224
|
-
|
|
225
|
-
</dt>
|
|
226
|
-
<dd>
|
|
227
|
-
|
|
228
|
-
<div class="description">
|
|
229
|
-
<p>Service options.</p>
|
|
230
|
-
</div>
|
|
231
|
-
|
|
232
238
|
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
<div class="description">
|
|
242
|
+
<p>Service options.</p>
|
|
243
|
+
</div>
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
<h5>Type:</h5>
|
|
248
|
+
<ul>
|
|
249
|
+
<li>
|
|
250
|
+
|
|
238
251
|
<span class="param-type">Object.<string, *></span>
|
|
239
252
|
|
|
240
253
|
|
|
241
|
-
|
|
242
|
-
|
|
254
|
+
</li>
|
|
255
|
+
</ul>
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
<dl class="details">
|
|
262
|
+
|
|
243
263
|
|
|
244
264
|
|
|
245
265
|
|
|
246
|
-
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
|
|
247
269
|
|
|
248
270
|
|
|
249
271
|
|
|
@@ -265,7 +287,7 @@
|
|
|
265
287
|
|
|
266
288
|
<dt class="tag-source">Source:</dt>
|
|
267
289
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
268
|
-
<a href="
|
|
290
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line4108">line 4108</a>
|
|
269
291
|
</li></ul></dd>
|
|
270
292
|
|
|
271
293
|
|
|
@@ -277,39 +299,45 @@
|
|
|
277
299
|
</dl>
|
|
278
300
|
|
|
279
301
|
|
|
280
|
-
|
|
281
302
|
|
|
282
|
-
|
|
283
|
-
|
|
303
|
+
|
|
304
|
+
|
|
284
305
|
|
|
285
306
|
|
|
286
307
|
|
|
287
|
-
<
|
|
288
|
-
<h4 class="name" id="$type"><span class="type-signature">(static, non-null) </span>$type<span class="type-signature"> :<a href="ProtoBuf.Reflect.Service.html">ProtoBuf.Reflect.Service</a></span></h4>
|
|
308
|
+
<h4 class="name" id=".$type"><span class="type-signature">(static, non-null) </span>$type<span class="type-signature"> :<a href="ProtoBuf.Reflect.Service.html">ProtoBuf.Reflect.Service</a></span></h4>
|
|
289
309
|
|
|
290
|
-
|
|
291
|
-
</dt>
|
|
292
|
-
<dd>
|
|
293
|
-
|
|
294
|
-
<div class="description">
|
|
295
|
-
<p>Reflection type.</p>
|
|
296
|
-
</div>
|
|
297
|
-
|
|
298
310
|
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
<div class="description">
|
|
314
|
+
<p>Reflection type.</p>
|
|
315
|
+
</div>
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
<h5>Type:</h5>
|
|
320
|
+
<ul>
|
|
321
|
+
<li>
|
|
322
|
+
|
|
304
323
|
<span class="param-type"><a href="ProtoBuf.Reflect.Service.html">ProtoBuf.Reflect.Service</a></span>
|
|
305
324
|
|
|
306
325
|
|
|
307
|
-
|
|
308
|
-
|
|
326
|
+
</li>
|
|
327
|
+
</ul>
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
<dl class="details">
|
|
334
|
+
|
|
309
335
|
|
|
310
336
|
|
|
311
337
|
|
|
312
|
-
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
|
|
313
341
|
|
|
314
342
|
|
|
315
343
|
|
|
@@ -331,7 +359,7 @@
|
|
|
331
359
|
|
|
332
360
|
<dt class="tag-source">Source:</dt>
|
|
333
361
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
334
|
-
<a href="
|
|
362
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line4124">line 4124</a>
|
|
335
363
|
</li></ul></dd>
|
|
336
364
|
|
|
337
365
|
|
|
@@ -343,39 +371,45 @@
|
|
|
343
371
|
</dl>
|
|
344
372
|
|
|
345
373
|
|
|
346
|
-
|
|
347
374
|
|
|
348
|
-
|
|
349
|
-
|
|
375
|
+
|
|
376
|
+
|
|
350
377
|
|
|
351
378
|
|
|
352
379
|
|
|
353
|
-
<
|
|
354
|
-
<h4 class="name" id="$options"><span class="type-signature"></span>$options<span class="type-signature"> :Object.<string, *></span></h4>
|
|
380
|
+
<h4 class="name" id="$options"><span class="type-signature"></span>$options<span class="type-signature"> :Object.<string, *></span></h4>
|
|
355
381
|
|
|
356
|
-
|
|
357
|
-
</dt>
|
|
358
|
-
<dd>
|
|
359
|
-
|
|
360
|
-
<div class="description">
|
|
361
|
-
<p>Service options.</p>
|
|
362
|
-
</div>
|
|
363
|
-
|
|
364
382
|
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
<div class="description">
|
|
386
|
+
<p>Service options.</p>
|
|
387
|
+
</div>
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
<h5>Type:</h5>
|
|
392
|
+
<ul>
|
|
393
|
+
<li>
|
|
394
|
+
|
|
370
395
|
<span class="param-type">Object.<string, *></span>
|
|
371
396
|
|
|
372
397
|
|
|
373
|
-
|
|
374
|
-
|
|
398
|
+
</li>
|
|
399
|
+
</ul>
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
<dl class="details">
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
|
|
375
409
|
|
|
376
410
|
|
|
377
411
|
|
|
378
|
-
|
|
412
|
+
|
|
379
413
|
|
|
380
414
|
|
|
381
415
|
|
|
@@ -397,7 +431,7 @@
|
|
|
397
431
|
|
|
398
432
|
<dt class="tag-source">Source:</dt>
|
|
399
433
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
400
|
-
<a href="
|
|
434
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line4116">line 4116</a>
|
|
401
435
|
</li></ul></dd>
|
|
402
436
|
|
|
403
437
|
|
|
@@ -409,39 +443,45 @@
|
|
|
409
443
|
</dl>
|
|
410
444
|
|
|
411
445
|
|
|
412
|
-
|
|
413
446
|
|
|
414
|
-
|
|
415
|
-
|
|
447
|
+
|
|
448
|
+
|
|
416
449
|
|
|
417
450
|
|
|
418
451
|
|
|
419
|
-
<
|
|
420
|
-
<h4 class="name" id="$type"><span class="type-signature">(non-null) </span>$type<span class="type-signature"> :<a href="ProtoBuf.Reflect.Service.html">ProtoBuf.Reflect.Service</a></span></h4>
|
|
452
|
+
<h4 class="name" id="$type"><span class="type-signature">(non-null) </span>$type<span class="type-signature"> :<a href="ProtoBuf.Reflect.Service.html">ProtoBuf.Reflect.Service</a></span></h4>
|
|
421
453
|
|
|
422
|
-
|
|
423
|
-
</dt>
|
|
424
|
-
<dd>
|
|
425
|
-
|
|
426
|
-
<div class="description">
|
|
427
|
-
<p>Reflection type.</p>
|
|
428
|
-
</div>
|
|
429
|
-
|
|
430
454
|
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
<div class="description">
|
|
458
|
+
<p>Reflection type.</p>
|
|
459
|
+
</div>
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
<h5>Type:</h5>
|
|
464
|
+
<ul>
|
|
465
|
+
<li>
|
|
466
|
+
|
|
436
467
|
<span class="param-type"><a href="ProtoBuf.Reflect.Service.html">ProtoBuf.Reflect.Service</a></span>
|
|
437
468
|
|
|
438
469
|
|
|
439
|
-
|
|
440
|
-
|
|
470
|
+
</li>
|
|
471
|
+
</ul>
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
<dl class="details">
|
|
478
|
+
|
|
441
479
|
|
|
442
480
|
|
|
443
481
|
|
|
444
|
-
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
|
|
445
485
|
|
|
446
486
|
|
|
447
487
|
|
|
@@ -463,7 +503,7 @@
|
|
|
463
503
|
|
|
464
504
|
<dt class="tag-source">Source:</dt>
|
|
465
505
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
466
|
-
<a href="
|
|
506
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line4132">line 4132</a>
|
|
467
507
|
</li></ul></dd>
|
|
468
508
|
|
|
469
509
|
|
|
@@ -475,39 +515,45 @@
|
|
|
475
515
|
</dl>
|
|
476
516
|
|
|
477
517
|
|
|
478
|
-
|
|
479
518
|
|
|
480
|
-
|
|
481
|
-
|
|
519
|
+
|
|
520
|
+
|
|
482
521
|
|
|
483
522
|
|
|
484
523
|
|
|
485
|
-
<
|
|
486
|
-
<h4 class="name" id="rpcImpl"><span class="type-signature">(non-null) </span>rpcImpl<span class="type-signature"> :function</span></h4>
|
|
524
|
+
<h4 class="name" id="rpcImpl"><span class="type-signature">(non-null) </span>rpcImpl<span class="type-signature"> :function</span></h4>
|
|
487
525
|
|
|
488
|
-
|
|
489
|
-
</dt>
|
|
490
|
-
<dd>
|
|
491
|
-
|
|
492
|
-
<div class="description">
|
|
493
|
-
<p>Service implementation.</p>
|
|
494
|
-
</div>
|
|
495
|
-
|
|
496
526
|
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
<div class="description">
|
|
530
|
+
<p>Service implementation.</p>
|
|
531
|
+
</div>
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
<h5>Type:</h5>
|
|
536
|
+
<ul>
|
|
537
|
+
<li>
|
|
538
|
+
|
|
502
539
|
<span class="param-type">function</span>
|
|
503
540
|
|
|
504
541
|
|
|
505
|
-
|
|
506
|
-
|
|
542
|
+
</li>
|
|
543
|
+
</ul>
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
<dl class="details">
|
|
550
|
+
|
|
507
551
|
|
|
508
552
|
|
|
509
553
|
|
|
510
|
-
|
|
554
|
+
|
|
555
|
+
|
|
556
|
+
|
|
511
557
|
|
|
512
558
|
|
|
513
559
|
|
|
@@ -529,7 +575,7 @@
|
|
|
529
575
|
|
|
530
576
|
<dt class="tag-source">Source:</dt>
|
|
531
577
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
532
|
-
<a href="
|
|
578
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line4016">line 4016</a>
|
|
533
579
|
</li></ul></dd>
|
|
534
580
|
|
|
535
581
|
|
|
@@ -541,39 +587,41 @@
|
|
|
541
587
|
</dl>
|
|
542
588
|
|
|
543
589
|
|
|
544
|
-
|
|
545
590
|
|
|
546
|
-
|
|
547
|
-
</dd>
|
|
548
591
|
|
|
549
|
-
|
|
592
|
+
|
|
593
|
+
|
|
594
|
+
|
|
550
595
|
|
|
551
596
|
|
|
552
597
|
|
|
553
598
|
<h3 class="subsection-title">Methods</h3>
|
|
554
599
|
|
|
555
|
-
|
|
600
|
+
|
|
556
601
|
|
|
557
|
-
<dt>
|
|
558
|
-
<h4 class="name" id="[Method]"><span class="type-signature">(abstract, static) </span>[Method]<span class="signature">(rpcImpl<span class="signature-attributes">non-null</span>, req, callback)</span><span class="type-signature"></span></h4>
|
|
559
602
|
|
|
560
603
|
|
|
561
|
-
</dt>
|
|
562
|
-
<dd>
|
|
563
604
|
|
|
564
|
-
|
|
565
|
-
<div class="description">
|
|
566
|
-
<p>Asynchronously performs an RPC call using the given RPC implementation.</p>
|
|
567
|
-
</div>
|
|
568
|
-
|
|
605
|
+
<h4 class="name" id=".%5BMethod%5D"><span class="type-signature">(abstract, static) </span>[Method]<span class="signature">(rpcImpl<span class="signature-attributes">non-null</span>, req, callback)</span><span class="type-signature"></span></h4>
|
|
569
606
|
|
|
570
607
|
|
|
571
608
|
|
|
572
|
-
|
|
573
609
|
|
|
610
|
+
|
|
611
|
+
<div class="description">
|
|
612
|
+
<p>Asynchronously performs an RPC call using the given RPC implementation.</p>
|
|
613
|
+
</div>
|
|
614
|
+
|
|
615
|
+
|
|
616
|
+
|
|
617
|
+
|
|
618
|
+
|
|
619
|
+
|
|
620
|
+
|
|
621
|
+
|
|
622
|
+
|
|
623
|
+
<h5>Parameters:</h5>
|
|
574
624
|
|
|
575
|
-
<h5>Parameters:</h5>
|
|
576
|
-
|
|
577
625
|
|
|
578
626
|
<table class="params">
|
|
579
627
|
<thead>
|
|
@@ -666,10 +714,20 @@
|
|
|
666
714
|
|
|
667
715
|
</tbody>
|
|
668
716
|
</table>
|
|
717
|
+
|
|
718
|
+
|
|
719
|
+
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
|
|
723
|
+
<dl class="details">
|
|
724
|
+
|
|
669
725
|
|
|
670
726
|
|
|
671
727
|
|
|
672
|
-
|
|
728
|
+
|
|
729
|
+
|
|
730
|
+
|
|
673
731
|
|
|
674
732
|
|
|
675
733
|
|
|
@@ -691,7 +749,7 @@
|
|
|
691
749
|
|
|
692
750
|
<dt class="tag-source">Source:</dt>
|
|
693
751
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
694
|
-
<a href="
|
|
752
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line4036">line 4036</a>
|
|
695
753
|
</li></ul></dd>
|
|
696
754
|
|
|
697
755
|
|
|
@@ -703,43 +761,45 @@
|
|
|
703
761
|
</dl>
|
|
704
762
|
|
|
705
763
|
|
|
706
|
-
|
|
707
764
|
|
|
708
|
-
|
|
709
765
|
|
|
710
|
-
|
|
711
766
|
|
|
712
|
-
|
|
713
767
|
|
|
714
|
-
|
|
715
768
|
|
|
716
|
-
|
|
717
769
|
|
|
718
|
-
|
|
719
|
-
|
|
770
|
+
|
|
771
|
+
|
|
772
|
+
|
|
773
|
+
|
|
774
|
+
|
|
775
|
+
|
|
776
|
+
|
|
720
777
|
|
|
721
778
|
|
|
722
779
|
|
|
723
|
-
<dt>
|
|
724
|
-
<h4 class="name" id="[Method]"><span class="type-signature">(abstract) </span>[Method]<span class="signature">(req, callback)</span><span class="type-signature"></span></h4>
|
|
725
780
|
|
|
726
781
|
|
|
727
|
-
</dt>
|
|
728
|
-
<dd>
|
|
729
782
|
|
|
730
|
-
|
|
731
|
-
<div class="description">
|
|
732
|
-
<p>Asynchronously performs an RPC call using the instance's RPC implementation.</p>
|
|
733
|
-
</div>
|
|
734
|
-
|
|
783
|
+
<h4 class="name" id="%5BMethod%5D"><span class="type-signature">(abstract) </span>[Method]<span class="signature">(req, callback)</span><span class="type-signature"></span></h4>
|
|
735
784
|
|
|
736
785
|
|
|
737
786
|
|
|
738
|
-
|
|
739
787
|
|
|
788
|
+
|
|
789
|
+
<div class="description">
|
|
790
|
+
<p>Asynchronously performs an RPC call using the instance's RPC implementation.</p>
|
|
791
|
+
</div>
|
|
792
|
+
|
|
793
|
+
|
|
794
|
+
|
|
795
|
+
|
|
796
|
+
|
|
797
|
+
|
|
798
|
+
|
|
799
|
+
|
|
800
|
+
|
|
801
|
+
<h5>Parameters:</h5>
|
|
740
802
|
|
|
741
|
-
<h5>Parameters:</h5>
|
|
742
|
-
|
|
743
803
|
|
|
744
804
|
<table class="params">
|
|
745
805
|
<thead>
|
|
@@ -809,10 +869,20 @@
|
|
|
809
869
|
|
|
810
870
|
</tbody>
|
|
811
871
|
</table>
|
|
872
|
+
|
|
873
|
+
|
|
874
|
+
|
|
875
|
+
|
|
876
|
+
|
|
877
|
+
|
|
878
|
+
<dl class="details">
|
|
879
|
+
|
|
812
880
|
|
|
813
881
|
|
|
814
882
|
|
|
815
|
-
|
|
883
|
+
|
|
884
|
+
|
|
885
|
+
|
|
816
886
|
|
|
817
887
|
|
|
818
888
|
|
|
@@ -834,7 +904,7 @@
|
|
|
834
904
|
|
|
835
905
|
<dt class="tag-source">Source:</dt>
|
|
836
906
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
837
|
-
<a href="
|
|
907
|
+
<a href="protobuf.js.html">protobuf.js</a>, <a href="protobuf.js.html#line4047">line 4047</a>
|
|
838
908
|
</li></ul></dd>
|
|
839
909
|
|
|
840
910
|
|
|
@@ -846,22 +916,21 @@
|
|
|
846
916
|
</dl>
|
|
847
917
|
|
|
848
918
|
|
|
849
|
-
|
|
850
919
|
|
|
851
|
-
|
|
852
920
|
|
|
853
|
-
|
|
854
921
|
|
|
855
|
-
|
|
856
922
|
|
|
857
|
-
|
|
858
923
|
|
|
859
|
-
|
|
860
924
|
|
|
861
|
-
|
|
862
|
-
</dd>
|
|
863
925
|
|
|
864
|
-
|
|
926
|
+
|
|
927
|
+
|
|
928
|
+
|
|
929
|
+
|
|
930
|
+
|
|
931
|
+
|
|
932
|
+
|
|
933
|
+
|
|
865
934
|
|
|
866
935
|
|
|
867
936
|
|
|
@@ -877,13 +946,13 @@
|
|
|
877
946
|
</div>
|
|
878
947
|
|
|
879
948
|
<nav>
|
|
880
|
-
<h2><a href="index.html">
|
|
949
|
+
<h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="ProtoBuf.Builder.html">Builder</a></li><li><a href="ProtoBuf.Builder.Message.html">Message</a></li><li><a href="ProtoBuf.Builder.Service.html">Service</a></li><li><a href="ProtoBuf.DotProto.Parser.html">Parser</a></li><li><a href="ProtoBuf.DotProto.Tokenizer.html">Tokenizer</a></li><li><a href="ProtoBuf.Map.html">Map</a></li><li><a href="ProtoBuf.Reflect.Element.html">Element</a></li><li><a href="ProtoBuf.Reflect.Enum.html">Enum</a></li><li><a href="ProtoBuf.Reflect.Enum.Value.html">Value</a></li><li><a href="ProtoBuf.Reflect.Extension.html">Extension</a></li><li><a href="ProtoBuf.Reflect.Message.html">Message</a></li><li><a href="ProtoBuf.Reflect.Message.ExtensionField.html">ExtensionField</a></li><li><a href="ProtoBuf.Reflect.Message.Field.html">Field</a></li><li><a href="ProtoBuf.Reflect.Message.OneOf.html">OneOf</a></li><li><a href="ProtoBuf.Reflect.Namespace.html">Namespace</a></li><li><a href="ProtoBuf.Reflect.Service.html">Service</a></li><li><a href="ProtoBuf.Reflect.Service.Method.html">Method</a></li><li><a href="ProtoBuf.Reflect.Service.RPCMethod.html">RPCMethod</a></li><li><a href="ProtoBuf.Reflect.T.html">T</a></li></ul><h3>Namespaces</h3><ul><li><a href="ProtoBuf.html">ProtoBuf</a></li><li><a href="ProtoBuf.DotProto.html">DotProto</a></li><li><a href="ProtoBuf.Reflect.html">Reflect</a></li><li><a href="ProtoBuf.Util.html">Util</a></li></ul>
|
|
881
950
|
</nav>
|
|
882
951
|
|
|
883
|
-
<br
|
|
952
|
+
<br class="clear">
|
|
884
953
|
|
|
885
954
|
<footer>
|
|
886
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.
|
|
955
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.3</a> on Fri Jan 27 2017 17:03:55 GMT+0100 (Mitteleuropäische Zeit)
|
|
887
956
|
</footer>
|
|
888
957
|
|
|
889
958
|
<script> prettyPrint(); </script>
|