@nsshunt/stsappframework 3.1.213 → 3.1.215

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.
Files changed (379) hide show
  1. package/dist/commonTypes.js.map +1 -1
  2. package/dist/index.js +1 -7
  3. package/dist/index.js.map +1 -1
  4. package/dist/masterprocessbase.js +33 -46
  5. package/dist/masterprocessbase.js.map +1 -1
  6. package/dist/processbase.js +29 -0
  7. package/dist/processbase.js.map +1 -1
  8. package/dist/serverprocessbase.js +51 -66
  9. package/dist/serverprocessbase.js.map +1 -1
  10. package/dist/stscontrollerbase.js.map +1 -1
  11. package/dist/{server.js → stsexpressserver.js} +1 -1
  12. package/dist/stsexpressserver.js.map +1 -0
  13. package/dist/stslatencycontroller.js.map +1 -1
  14. package/dist/stslatencyroute.js.map +1 -1
  15. package/dist/stsrouterbase.js.map +1 -1
  16. package/dist/vitesttesting/appSingleWSS.js +2 -1
  17. package/dist/vitesttesting/appSingleWSS.js.map +1 -1
  18. package/dist/workerprocessbase.js.map +1 -1
  19. package/package.json +5 -6
  20. package/src/commonTypes.ts +2 -0
  21. package/src/index.ts +1 -7
  22. package/src/masterprocessbase.ts +42 -55
  23. package/src/processbase.ts +32 -1
  24. package/src/serverprocessbase.ts +55 -72
  25. package/src/{socketIoServerHelper.ts → socketIoServerHelper.ts_bak} +1 -2
  26. package/src/stscontrollerbase.ts +1 -2
  27. package/src/{server.ts → stsexpressserver.ts} +1 -2
  28. package/src/stslatencycontroller.ts +1 -2
  29. package/src/stslatencyroute.ts +1 -2
  30. package/src/stsrouterbase.ts +1 -2
  31. package/src/vitesttesting/appSingleWSS.ts +2 -1
  32. package/src/workerprocessbase.ts +1 -2
  33. package/types/commonTypes.d.ts +0 -15
  34. package/types/commonTypes.d.ts.map +1 -1
  35. package/types/index.d.ts +0 -7
  36. package/types/index.d.ts.map +1 -1
  37. package/types/masterprocessbase.d.ts.map +1 -1
  38. package/types/processbase.d.ts +3 -0
  39. package/types/processbase.d.ts.map +1 -1
  40. package/types/serverprocessbase.d.ts +3 -1
  41. package/types/serverprocessbase.d.ts.map +1 -1
  42. package/types/stscontrollerbase.d.ts.map +1 -1
  43. package/types/{server.d.ts → stsexpressserver.d.ts} +1 -1
  44. package/types/stsexpressserver.d.ts.map +1 -0
  45. package/types/stslatencycontroller.d.ts.map +1 -1
  46. package/types/stslatencyroute.d.ts.map +1 -1
  47. package/types/stsrouterbase.d.ts.map +1 -1
  48. package/types/vitesttesting/appSingleWSS.d.ts.map +1 -1
  49. package/types/workerprocessbase.d.ts.map +1 -1
  50. package/dist/authDefs.js +0 -33
  51. package/dist/authDefs.js.map +0 -1
  52. package/dist/gRPC/ststest/protos/auth_sample.js +0 -3
  53. package/dist/gRPC/ststest/protos/auth_sample.js.map +0 -1
  54. package/dist/gRPC/ststest/protos/echo.js +0 -3
  55. package/dist/gRPC/ststest/protos/echo.js.map +0 -1
  56. package/dist/gRPC/ststest/protos/grpc/examples/echo/Echo.js +0 -4
  57. package/dist/gRPC/ststest/protos/grpc/examples/echo/Echo.js.map +0 -1
  58. package/dist/gRPC/ststest/protos/grpc/examples/echo/EchoRequest.js +0 -4
  59. package/dist/gRPC/ststest/protos/grpc/examples/echo/EchoRequest.js.map +0 -1
  60. package/dist/gRPC/ststest/protos/grpc/examples/echo/EchoResponse.js +0 -4
  61. package/dist/gRPC/ststest/protos/grpc/examples/echo/EchoResponse.js.map +0 -1
  62. package/dist/gRPC/ststest/protos/grpc/testing/Request.js +0 -4
  63. package/dist/gRPC/ststest/protos/grpc/testing/Request.js.map +0 -1
  64. package/dist/gRPC/ststest/protos/grpc/testing/Response.js +0 -4
  65. package/dist/gRPC/ststest/protos/grpc/testing/Response.js.map +0 -1
  66. package/dist/gRPC/ststest/protos/grpc/testing/TestService.js +0 -4
  67. package/dist/gRPC/ststest/protos/grpc/testing/TestService.js.map +0 -1
  68. package/dist/gRPC/ststest/protos/hellostreamingworld/HelloReply.js +0 -4
  69. package/dist/gRPC/ststest/protos/hellostreamingworld/HelloReply.js.map +0 -1
  70. package/dist/gRPC/ststest/protos/hellostreamingworld/HelloRequest.js +0 -4
  71. package/dist/gRPC/ststest/protos/hellostreamingworld/HelloRequest.js.map +0 -1
  72. package/dist/gRPC/ststest/protos/hellostreamingworld/MultiGreeter.js +0 -4
  73. package/dist/gRPC/ststest/protos/hellostreamingworld/MultiGreeter.js.map +0 -1
  74. package/dist/gRPC/ststest/protos/hellostreamingworld.js +0 -3
  75. package/dist/gRPC/ststest/protos/hellostreamingworld.js.map +0 -1
  76. package/dist/gRPC/ststest/protos/helloworld/Greeter.js +0 -4
  77. package/dist/gRPC/ststest/protos/helloworld/Greeter.js.map +0 -1
  78. package/dist/gRPC/ststest/protos/helloworld/HelloReply.js +0 -4
  79. package/dist/gRPC/ststest/protos/helloworld/HelloReply.js.map +0 -1
  80. package/dist/gRPC/ststest/protos/helloworld/HelloRequest.js +0 -4
  81. package/dist/gRPC/ststest/protos/helloworld/HelloRequest.js.map +0 -1
  82. package/dist/gRPC/ststest/protos/helloworld.js +0 -3
  83. package/dist/gRPC/ststest/protos/helloworld.js.map +0 -1
  84. package/dist/gRPC/ststest/protos/keyvaluestore/KeyValueStore.js +0 -4
  85. package/dist/gRPC/ststest/protos/keyvaluestore/KeyValueStore.js.map +0 -1
  86. package/dist/gRPC/ststest/protos/keyvaluestore/Request.js +0 -4
  87. package/dist/gRPC/ststest/protos/keyvaluestore/Request.js.map +0 -1
  88. package/dist/gRPC/ststest/protos/keyvaluestore/Response.js +0 -4
  89. package/dist/gRPC/ststest/protos/keyvaluestore/Response.js.map +0 -1
  90. package/dist/gRPC/ststest/protos/keyvaluestore.js +0 -3
  91. package/dist/gRPC/ststest/protos/keyvaluestore.js.map +0 -1
  92. package/dist/gRPC/ststest/protos/route_guide.js +0 -3
  93. package/dist/gRPC/ststest/protos/route_guide.js.map +0 -1
  94. package/dist/gRPC/ststest/protos/routeguide/Feature.js +0 -4
  95. package/dist/gRPC/ststest/protos/routeguide/Feature.js.map +0 -1
  96. package/dist/gRPC/ststest/protos/routeguide/Point.js +0 -4
  97. package/dist/gRPC/ststest/protos/routeguide/Point.js.map +0 -1
  98. package/dist/gRPC/ststest/protos/routeguide/Rectangle.js +0 -4
  99. package/dist/gRPC/ststest/protos/routeguide/Rectangle.js.map +0 -1
  100. package/dist/gRPC/ststest/protos/routeguide/RouteGuide.js +0 -4
  101. package/dist/gRPC/ststest/protos/routeguide/RouteGuide.js.map +0 -1
  102. package/dist/gRPC/ststest/protos/routeguide/RouteNote.js +0 -4
  103. package/dist/gRPC/ststest/protos/routeguide/RouteNote.js.map +0 -1
  104. package/dist/gRPC/ststest/protos/routeguide/RouteSummary.js +0 -4
  105. package/dist/gRPC/ststest/protos/routeguide/RouteSummary.js.map +0 -1
  106. package/dist/gRPC/ststest/src/commonTypes.js +0 -3
  107. package/dist/gRPC/ststest/src/commonTypes.js.map +0 -1
  108. package/dist/gRPC/ststest/src/greeter_client.js +0 -67
  109. package/dist/gRPC/ststest/src/greeter_client.js.map +0 -1
  110. package/dist/gRPC/ststest/src/greeter_server.js +0 -78
  111. package/dist/gRPC/ststest/src/greeter_server.js.map +0 -1
  112. package/dist/gRPC/ststest/src/route_guide_client.js +0 -258
  113. package/dist/gRPC/ststest/src/route_guide_client.js.map +0 -1
  114. package/dist/gRPC/ststest/src/route_guide_server.js +0 -237
  115. package/dist/gRPC/ststest/src/route_guide_server.js.map +0 -1
  116. package/dist/gRPC/ststest/src/route_guide_server2.js +0 -205
  117. package/dist/gRPC/ststest/src/route_guide_server2.js.map +0 -1
  118. package/dist/influxdb/influxDBManager.js +0 -304
  119. package/dist/influxdb/influxDBManager.js.map +0 -1
  120. package/dist/influxdb/influxDBManagerAgent.js +0 -14
  121. package/dist/influxdb/influxDBManagerAgent.js.map +0 -1
  122. package/dist/influxdb/influxDBManagerBase.js +0 -100
  123. package/dist/influxdb/influxDBManagerBase.js.map +0 -1
  124. package/dist/influxdb/influxDBManagerLambda.js +0 -17
  125. package/dist/influxdb/influxDBManagerLambda.js.map +0 -1
  126. package/dist/influxdb/influxDBManagerService.js +0 -14
  127. package/dist/influxdb/influxDBManagerService.js.map +0 -1
  128. package/dist/publishInstrumentsWebWorker.js +0 -159
  129. package/dist/publishInstrumentsWebWorker.js.map +0 -1
  130. package/dist/server.js.map +0 -1
  131. package/dist/socketIoServerHelper.js +0 -125
  132. package/dist/socketIoServerHelper.js.map +0 -1
  133. package/dist/tcpclient/app.js +0 -23
  134. package/dist/tcpclient/app.js.map +0 -1
  135. package/dist/tcpclient/app2.js +0 -57
  136. package/dist/tcpclient/app2.js.map +0 -1
  137. package/dist/tcpserver/app.js +0 -16
  138. package/dist/tcpserver/app.js.map +0 -1
  139. package/dist/tcpserver/appConfig.js +0 -83
  140. package/dist/tcpserver/appConfig.js.map +0 -1
  141. package/dist/tcpserver/appmaster.js +0 -446
  142. package/dist/tcpserver/appmaster.js.map +0 -1
  143. package/dist/testertesting/app.js +0 -284
  144. package/dist/testertesting/app.js.map +0 -1
  145. package/dist/testertesting/commonTypes.js +0 -47
  146. package/dist/testertesting/commonTypes.js.map +0 -1
  147. package/dist/testertesting/telemetryProcessor.js +0 -111
  148. package/dist/testertesting/telemetryProcessor.js.map +0 -1
  149. package/dist/testertesting/testCase01.js +0 -169
  150. package/dist/testertesting/testCase01.js.map +0 -1
  151. package/dist/testertesting/workerInstance.js +0 -263
  152. package/dist/testertesting/workerInstance.js.map +0 -1
  153. package/dist/testertesting/workerManager.js +0 -450
  154. package/dist/testertesting/workerManager.js.map +0 -1
  155. package/dist/testertesting/workerWorkerTestRunner01.js +0 -35
  156. package/dist/testertesting/workerWorkerTestRunner01.js.map +0 -1
  157. package/dist/testing/app.js +0 -18
  158. package/dist/testing/app.js.map +0 -1
  159. package/dist/testing/appConfig.js +0 -93
  160. package/dist/testing/appConfig.js.map +0 -1
  161. package/dist/testing/appTinyEmitter.js +0 -37
  162. package/dist/testing/appTinyEmitter.js.map +0 -1
  163. package/dist/testing/appWorkerWSS.js +0 -151
  164. package/dist/testing/appWorkerWSS.js.map +0 -1
  165. package/dist/testing/appredistest.js +0 -239
  166. package/dist/testing/appredistest.js.map +0 -1
  167. package/dist/testing/appsolo.js +0 -67
  168. package/dist/testing/appsolo.js.map +0 -1
  169. package/dist/testing/promiseTesting.js +0 -77
  170. package/dist/testing/promiseTesting.js.map +0 -1
  171. package/dist/testing/server.js +0 -15
  172. package/dist/testing/server.js.map +0 -1
  173. package/dist/testing/wsevents.js +0 -3
  174. package/dist/testing/wsevents.js.map +0 -1
  175. package/dist/webworkertesting/app.js +0 -44
  176. package/dist/webworkertesting/app.js.map +0 -1
  177. package/dist/webworkertesting/worker.js +0 -21
  178. package/dist/webworkertesting/worker.js.map +0 -1
  179. package/src/authDefs.ts +0 -37
  180. package/src/gRPC/ststest/protos/BUILD +0 -82
  181. package/src/gRPC/ststest/protos/README.md +0 -8
  182. package/src/gRPC/ststest/protos/auth_sample.proto +0 -42
  183. package/src/gRPC/ststest/protos/auth_sample.ts +0 -20
  184. package/src/gRPC/ststest/protos/echo.proto +0 -45
  185. package/src/gRPC/ststest/protos/echo.ts +0 -22
  186. package/src/gRPC/ststest/protos/grpc/examples/echo/Echo.ts +0 -55
  187. package/src/gRPC/ststest/protos/grpc/examples/echo/EchoRequest.ts +0 -10
  188. package/src/gRPC/ststest/protos/grpc/examples/echo/EchoResponse.ts +0 -10
  189. package/src/gRPC/ststest/protos/grpc/testing/Request.ts +0 -12
  190. package/src/gRPC/ststest/protos/grpc/testing/Response.ts +0 -12
  191. package/src/gRPC/ststest/protos/grpc/testing/TestService.ts +0 -27
  192. package/src/gRPC/ststest/protos/hellostreamingworld/HelloReply.ts +0 -10
  193. package/src/gRPC/ststest/protos/hellostreamingworld/HelloRequest.ts +0 -12
  194. package/src/gRPC/ststest/protos/hellostreamingworld/MultiGreeter.ts +0 -23
  195. package/src/gRPC/ststest/protos/hellostreamingworld.proto +0 -39
  196. package/src/gRPC/ststest/protos/hellostreamingworld.ts +0 -18
  197. package/src/gRPC/ststest/protos/helloworld/Greeter.ts +0 -35
  198. package/src/gRPC/ststest/protos/helloworld/HelloReply.ts +0 -10
  199. package/src/gRPC/ststest/protos/helloworld/HelloRequest.ts +0 -10
  200. package/src/gRPC/ststest/protos/helloworld.proto +0 -40
  201. package/src/gRPC/ststest/protos/helloworld.ts +0 -18
  202. package/src/gRPC/ststest/protos/keyvaluestore/KeyValueStore.ts +0 -23
  203. package/src/gRPC/ststest/protos/keyvaluestore/Request.ts +0 -10
  204. package/src/gRPC/ststest/protos/keyvaluestore/Response.ts +0 -10
  205. package/src/gRPC/ststest/protos/keyvaluestore.proto +0 -33
  206. package/src/gRPC/ststest/protos/keyvaluestore.ts +0 -18
  207. package/src/gRPC/ststest/protos/route_guide.proto +0 -111
  208. package/src/gRPC/ststest/protos/route_guide.ts +0 -21
  209. package/src/gRPC/ststest/protos/routeguide/Feature.ts +0 -13
  210. package/src/gRPC/ststest/protos/routeguide/Point.ts +0 -12
  211. package/src/gRPC/ststest/protos/routeguide/Rectangle.ts +0 -13
  212. package/src/gRPC/ststest/protos/routeguide/RouteGuide.ts +0 -58
  213. package/src/gRPC/ststest/protos/routeguide/RouteNote.ts +0 -13
  214. package/src/gRPC/ststest/protos/routeguide/RouteSummary.ts +0 -16
  215. package/src/gRPC/ststest/src/commonTypes.ts +0 -27
  216. package/src/gRPC/ststest/src/greeter_client.ts +0 -52
  217. package/src/gRPC/ststest/src/greeter_server.ts +0 -62
  218. package/src/gRPC/ststest/src/route_guide_client.ts +0 -266
  219. package/src/gRPC/ststest/src/route_guide_server.ts +0 -234
  220. package/src/gRPC/ststest/src/route_guide_server2.ts +0 -211
  221. package/src/influxdb/influxDBManager.ts +0 -334
  222. package/src/influxdb/influxDBManagerAgent.ts +0 -14
  223. package/src/influxdb/influxDBManagerBase.ts +0 -108
  224. package/src/influxdb/influxDBManagerLambda.ts +0 -17
  225. package/src/influxdb/influxDBManagerService.ts +0 -14
  226. package/src/publishInstrumentsWebWorker.ts +0 -157
  227. package/src/tcpclient/app.ts +0 -21
  228. package/src/tcpclient/app2.ts +0 -58
  229. package/src/tcpserver/app.ts +0 -11
  230. package/src/tcpserver/appConfig.ts +0 -99
  231. package/src/tcpserver/appmaster.ts +0 -503
  232. package/src/testertesting/app.ts +0 -349
  233. package/src/testertesting/commonTypes.ts +0 -236
  234. package/src/testertesting/telemetryProcessor.ts +0 -125
  235. package/src/testertesting/testCase01.ts +0 -207
  236. package/src/testertesting/workerInstance.ts +0 -297
  237. package/src/testertesting/workerManager.ts +0 -511
  238. package/src/testertesting/workerWorkerTestRunner01.ts +0 -34
  239. package/src/testing/app.ts +0 -14
  240. package/src/testing/appConfig.ts +0 -110
  241. package/src/testing/appTinyEmitter.ts +0 -57
  242. package/src/testing/appWorkerWSS.ts +0 -174
  243. package/src/testing/appredistest.ts +0 -304
  244. package/src/testing/appsolo.ts +0 -96
  245. package/src/testing/docker-compose.yml +0 -20
  246. package/src/testing/promiseTesting.ts +0 -86
  247. package/src/testing/server.ts +0 -17
  248. package/src/testing/wsevents.ts +0 -33
  249. package/src/webworkertesting/app.ts +0 -56
  250. package/src/webworkertesting/worker.ts +0 -24
  251. package/types/authDefs.d.ts +0 -29
  252. package/types/authDefs.d.ts.map +0 -1
  253. package/types/gRPC/ststest/protos/auth_sample.d.ts +0 -19
  254. package/types/gRPC/ststest/protos/auth_sample.d.ts.map +0 -1
  255. package/types/gRPC/ststest/protos/echo.d.ts +0 -21
  256. package/types/gRPC/ststest/protos/echo.d.ts.map +0 -1
  257. package/types/gRPC/ststest/protos/grpc/examples/echo/Echo.d.ts +0 -43
  258. package/types/gRPC/ststest/protos/grpc/examples/echo/Echo.d.ts.map +0 -1
  259. package/types/gRPC/ststest/protos/grpc/examples/echo/EchoRequest.d.ts +0 -7
  260. package/types/gRPC/ststest/protos/grpc/examples/echo/EchoRequest.d.ts.map +0 -1
  261. package/types/gRPC/ststest/protos/grpc/examples/echo/EchoResponse.d.ts +0 -7
  262. package/types/gRPC/ststest/protos/grpc/examples/echo/EchoResponse.d.ts.map +0 -1
  263. package/types/gRPC/ststest/protos/grpc/testing/Request.d.ts +0 -9
  264. package/types/gRPC/ststest/protos/grpc/testing/Request.d.ts.map +0 -1
  265. package/types/gRPC/ststest/protos/grpc/testing/Response.d.ts +0 -9
  266. package/types/gRPC/ststest/protos/grpc/testing/Response.d.ts.map +0 -1
  267. package/types/gRPC/ststest/protos/grpc/testing/TestService.d.ts +0 -21
  268. package/types/gRPC/ststest/protos/grpc/testing/TestService.d.ts.map +0 -1
  269. package/types/gRPC/ststest/protos/hellostreamingworld/HelloReply.d.ts +0 -7
  270. package/types/gRPC/ststest/protos/hellostreamingworld/HelloReply.d.ts.map +0 -1
  271. package/types/gRPC/ststest/protos/hellostreamingworld/HelloRequest.d.ts +0 -9
  272. package/types/gRPC/ststest/protos/hellostreamingworld/HelloRequest.d.ts.map +0 -1
  273. package/types/gRPC/ststest/protos/hellostreamingworld/MultiGreeter.d.ts +0 -17
  274. package/types/gRPC/ststest/protos/hellostreamingworld/MultiGreeter.d.ts.map +0 -1
  275. package/types/gRPC/ststest/protos/hellostreamingworld.d.ts +0 -17
  276. package/types/gRPC/ststest/protos/hellostreamingworld.d.ts.map +0 -1
  277. package/types/gRPC/ststest/protos/helloworld/Greeter.d.ts +0 -27
  278. package/types/gRPC/ststest/protos/helloworld/Greeter.d.ts.map +0 -1
  279. package/types/gRPC/ststest/protos/helloworld/HelloReply.d.ts +0 -7
  280. package/types/gRPC/ststest/protos/helloworld/HelloReply.d.ts.map +0 -1
  281. package/types/gRPC/ststest/protos/helloworld/HelloRequest.d.ts +0 -7
  282. package/types/gRPC/ststest/protos/helloworld/HelloRequest.d.ts.map +0 -1
  283. package/types/gRPC/ststest/protos/helloworld.d.ts +0 -17
  284. package/types/gRPC/ststest/protos/helloworld.d.ts.map +0 -1
  285. package/types/gRPC/ststest/protos/keyvaluestore/KeyValueStore.d.ts +0 -17
  286. package/types/gRPC/ststest/protos/keyvaluestore/KeyValueStore.d.ts.map +0 -1
  287. package/types/gRPC/ststest/protos/keyvaluestore/Request.d.ts +0 -7
  288. package/types/gRPC/ststest/protos/keyvaluestore/Request.d.ts.map +0 -1
  289. package/types/gRPC/ststest/protos/keyvaluestore/Response.d.ts +0 -7
  290. package/types/gRPC/ststest/protos/keyvaluestore/Response.d.ts.map +0 -1
  291. package/types/gRPC/ststest/protos/keyvaluestore.d.ts +0 -17
  292. package/types/gRPC/ststest/protos/keyvaluestore.d.ts.map +0 -1
  293. package/types/gRPC/ststest/protos/route_guide.d.ts +0 -20
  294. package/types/gRPC/ststest/protos/route_guide.d.ts.map +0 -1
  295. package/types/gRPC/ststest/protos/routeguide/Feature.d.ts +0 -10
  296. package/types/gRPC/ststest/protos/routeguide/Feature.d.ts.map +0 -1
  297. package/types/gRPC/ststest/protos/routeguide/Point.d.ts +0 -9
  298. package/types/gRPC/ststest/protos/routeguide/Point.d.ts.map +0 -1
  299. package/types/gRPC/ststest/protos/routeguide/Rectangle.d.ts +0 -10
  300. package/types/gRPC/ststest/protos/routeguide/Rectangle.d.ts.map +0 -1
  301. package/types/gRPC/ststest/protos/routeguide/RouteGuide.d.ts +0 -46
  302. package/types/gRPC/ststest/protos/routeguide/RouteGuide.d.ts.map +0 -1
  303. package/types/gRPC/ststest/protos/routeguide/RouteNote.d.ts +0 -10
  304. package/types/gRPC/ststest/protos/routeguide/RouteNote.d.ts.map +0 -1
  305. package/types/gRPC/ststest/protos/routeguide/RouteSummary.d.ts +0 -13
  306. package/types/gRPC/ststest/protos/routeguide/RouteSummary.d.ts.map +0 -1
  307. package/types/gRPC/ststest/src/commonTypes.d.ts +0 -23
  308. package/types/gRPC/ststest/src/commonTypes.d.ts.map +0 -1
  309. package/types/gRPC/ststest/src/greeter_client.d.ts +0 -3
  310. package/types/gRPC/ststest/src/greeter_client.d.ts.map +0 -1
  311. package/types/gRPC/ststest/src/greeter_server.d.ts +0 -3
  312. package/types/gRPC/ststest/src/greeter_server.d.ts.map +0 -1
  313. package/types/gRPC/ststest/src/route_guide_client.d.ts +0 -3
  314. package/types/gRPC/ststest/src/route_guide_client.d.ts.map +0 -1
  315. package/types/gRPC/ststest/src/route_guide_server.d.ts +0 -3
  316. package/types/gRPC/ststest/src/route_guide_server.d.ts.map +0 -1
  317. package/types/gRPC/ststest/src/route_guide_server2.d.ts +0 -3
  318. package/types/gRPC/ststest/src/route_guide_server2.d.ts.map +0 -1
  319. package/types/influxdb/influxDBManager.d.ts +0 -21
  320. package/types/influxdb/influxDBManager.d.ts.map +0 -1
  321. package/types/influxdb/influxDBManagerAgent.d.ts +0 -8
  322. package/types/influxdb/influxDBManagerAgent.d.ts.map +0 -1
  323. package/types/influxdb/influxDBManagerBase.d.ts +0 -14
  324. package/types/influxdb/influxDBManagerBase.d.ts.map +0 -1
  325. package/types/influxdb/influxDBManagerLambda.d.ts +0 -11
  326. package/types/influxdb/influxDBManagerLambda.d.ts.map +0 -1
  327. package/types/influxdb/influxDBManagerService.d.ts +0 -8
  328. package/types/influxdb/influxDBManagerService.d.ts.map +0 -1
  329. package/types/publishInstrumentsWebWorker.d.ts +0 -1
  330. package/types/publishInstrumentsWebWorker.d.ts.map +0 -1
  331. package/types/server.d.ts.map +0 -1
  332. package/types/socketIoServerHelper.d.ts +0 -20
  333. package/types/socketIoServerHelper.d.ts.map +0 -1
  334. package/types/tcpclient/app.d.ts +0 -2
  335. package/types/tcpclient/app.d.ts.map +0 -1
  336. package/types/tcpclient/app2.d.ts +0 -2
  337. package/types/tcpclient/app2.d.ts.map +0 -1
  338. package/types/tcpserver/app.d.ts +0 -2
  339. package/types/tcpserver/app.d.ts.map +0 -1
  340. package/types/tcpserver/appConfig.d.ts +0 -3
  341. package/types/tcpserver/appConfig.d.ts.map +0 -1
  342. package/types/tcpserver/appmaster.d.ts +0 -24
  343. package/types/tcpserver/appmaster.d.ts.map +0 -1
  344. package/types/testertesting/app.d.ts +0 -2
  345. package/types/testertesting/app.d.ts.map +0 -1
  346. package/types/testertesting/commonTypes.d.ts +0 -215
  347. package/types/testertesting/commonTypes.d.ts.map +0 -1
  348. package/types/testertesting/telemetryProcessor.d.ts +0 -6
  349. package/types/testertesting/telemetryProcessor.d.ts.map +0 -1
  350. package/types/testertesting/testCase01.d.ts +0 -20
  351. package/types/testertesting/testCase01.d.ts.map +0 -1
  352. package/types/testertesting/workerInstance.d.ts +0 -23
  353. package/types/testertesting/workerInstance.d.ts.map +0 -1
  354. package/types/testertesting/workerManager.d.ts +0 -16
  355. package/types/testertesting/workerManager.d.ts.map +0 -1
  356. package/types/testertesting/workerWorkerTestRunner01.d.ts +0 -7
  357. package/types/testertesting/workerWorkerTestRunner01.d.ts.map +0 -1
  358. package/types/testing/app.d.ts +0 -2
  359. package/types/testing/app.d.ts.map +0 -1
  360. package/types/testing/appConfig.d.ts +0 -3
  361. package/types/testing/appConfig.d.ts.map +0 -1
  362. package/types/testing/appTinyEmitter.d.ts +0 -2
  363. package/types/testing/appTinyEmitter.d.ts.map +0 -1
  364. package/types/testing/appWorkerWSS.d.ts +0 -26
  365. package/types/testing/appWorkerWSS.d.ts.map +0 -1
  366. package/types/testing/appredistest.d.ts +0 -4
  367. package/types/testing/appredistest.d.ts.map +0 -1
  368. package/types/testing/appsolo.d.ts +0 -3
  369. package/types/testing/appsolo.d.ts.map +0 -1
  370. package/types/testing/promiseTesting.d.ts +0 -4
  371. package/types/testing/promiseTesting.d.ts.map +0 -1
  372. package/types/testing/server.d.ts +0 -6
  373. package/types/testing/server.d.ts.map +0 -1
  374. package/types/testing/wsevents.d.ts +0 -18
  375. package/types/testing/wsevents.d.ts.map +0 -1
  376. package/types/webworkertesting/app.d.ts +0 -2
  377. package/types/webworkertesting/app.d.ts.map +0 -1
  378. package/types/webworkertesting/worker.d.ts +0 -2
  379. package/types/webworkertesting/worker.d.ts.map +0 -1
@@ -1,40 +0,0 @@
1
- // Copyright 2015 gRPC authors.
2
- //
3
- // Licensed under the Apache License, Version 2.0 (the "License");
4
- // you may not use this file except in compliance with the License.
5
- // You may obtain a copy of the License at
6
- //
7
- // http://www.apache.org/licenses/LICENSE-2.0
8
- //
9
- // Unless required by applicable law or agreed to in writing, software
10
- // distributed under the License is distributed on an "AS IS" BASIS,
11
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- // See the License for the specific language governing permissions and
13
- // limitations under the License.
14
-
15
- syntax = "proto3";
16
-
17
- option java_multiple_files = true;
18
- option java_package = "io.grpc.examples.helloworld";
19
- option java_outer_classname = "HelloWorldProto";
20
- option objc_class_prefix = "HLW";
21
-
22
- package helloworld;
23
-
24
- // The greeting service definition.
25
- service Greeter {
26
- // Sends a greeting
27
- rpc SayHello (HelloRequest) returns (HelloReply) {}
28
-
29
- rpc SayHelloStreamReply (HelloRequest) returns (stream HelloReply) {}
30
- }
31
-
32
- // The request message containing the user's name.
33
- message HelloRequest {
34
- string name = 1;
35
- }
36
-
37
- // The response message containing the greetings
38
- message HelloReply {
39
- string message = 1;
40
- }
@@ -1,18 +0,0 @@
1
- /* eslint @typescript-eslint/no-explicit-any: 0 */ // --> OFF
2
- import type * as grpc from '@grpc/grpc-js';
3
- import type { MessageTypeDefinition } from '@grpc/proto-loader';
4
-
5
- import type { GreeterClient as _helloworld_GreeterClient, GreeterDefinition as _helloworld_GreeterDefinition } from './helloworld/Greeter';
6
-
7
- type SubtypeConstructor<Constructor extends new (...args: any) => any, Subtype> = {
8
- new(...args: ConstructorParameters<Constructor>): Subtype;
9
- };
10
-
11
- export interface ProtoGrpcType {
12
- helloworld: {
13
- Greeter: SubtypeConstructor<typeof grpc.Client, _helloworld_GreeterClient> & { service: _helloworld_GreeterDefinition }
14
- HelloReply: MessageTypeDefinition
15
- HelloRequest: MessageTypeDefinition
16
- }
17
- }
18
-
@@ -1,23 +0,0 @@
1
- // Original file: protos/keyvaluestore.proto
2
-
3
- import type * as grpc from '@grpc/grpc-js'
4
- import type { MethodDefinition } from '@grpc/proto-loader'
5
- import type { Request as _keyvaluestore_Request, Request__Output as _keyvaluestore_Request__Output } from '../keyvaluestore/Request';
6
- import type { Response as _keyvaluestore_Response, Response__Output as _keyvaluestore_Response__Output } from '../keyvaluestore/Response';
7
-
8
- export interface KeyValueStoreClient extends grpc.Client {
9
- GetValues(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream<_keyvaluestore_Request, _keyvaluestore_Response__Output>;
10
- GetValues(options?: grpc.CallOptions): grpc.ClientDuplexStream<_keyvaluestore_Request, _keyvaluestore_Response__Output>;
11
- getValues(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream<_keyvaluestore_Request, _keyvaluestore_Response__Output>;
12
- getValues(options?: grpc.CallOptions): grpc.ClientDuplexStream<_keyvaluestore_Request, _keyvaluestore_Response__Output>;
13
-
14
- }
15
-
16
- export interface KeyValueStoreHandlers extends grpc.UntypedServiceImplementation {
17
- GetValues: grpc.handleBidiStreamingCall<_keyvaluestore_Request__Output, _keyvaluestore_Response>;
18
-
19
- }
20
-
21
- export interface KeyValueStoreDefinition extends grpc.ServiceDefinition {
22
- GetValues: MethodDefinition<_keyvaluestore_Request, _keyvaluestore_Response, _keyvaluestore_Request__Output, _keyvaluestore_Response__Output>
23
- }
@@ -1,10 +0,0 @@
1
- // Original file: protos/keyvaluestore.proto
2
-
3
-
4
- export interface Request {
5
- 'key'?: (string);
6
- }
7
-
8
- export interface Request__Output {
9
- 'key': (string);
10
- }
@@ -1,10 +0,0 @@
1
- // Original file: protos/keyvaluestore.proto
2
-
3
-
4
- export interface Response {
5
- 'value'?: (string);
6
- }
7
-
8
- export interface Response__Output {
9
- 'value': (string);
10
- }
@@ -1,33 +0,0 @@
1
- // Copyright 2018 gRPC authors.
2
- //
3
- // Licensed under the Apache License, Version 2.0 (the "License");
4
- // you may not use this file except in compliance with the License.
5
- // You may obtain a copy of the License at
6
- //
7
- // http://www.apache.org/licenses/LICENSE-2.0
8
- //
9
- // Unless required by applicable law or agreed to in writing, software
10
- // distributed under the License is distributed on an "AS IS" BASIS,
11
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- // See the License for the specific language governing permissions and
13
- // limitations under the License.
14
-
15
- syntax = "proto3";
16
-
17
- package keyvaluestore;
18
-
19
- // A simple key-value storage service
20
- service KeyValueStore {
21
- // Provides a value for each key request
22
- rpc GetValues (stream Request) returns (stream Response) {}
23
- }
24
-
25
- // The request message containing the key
26
- message Request {
27
- string key = 1;
28
- }
29
-
30
- // The response message containing the value associated with the key
31
- message Response {
32
- string value = 1;
33
- }
@@ -1,18 +0,0 @@
1
- /* eslint @typescript-eslint/no-explicit-any: 0 */ // --> OFF
2
- import type * as grpc from '@grpc/grpc-js';
3
- import type { MessageTypeDefinition } from '@grpc/proto-loader';
4
-
5
- import type { KeyValueStoreClient as _keyvaluestore_KeyValueStoreClient, KeyValueStoreDefinition as _keyvaluestore_KeyValueStoreDefinition } from './keyvaluestore/KeyValueStore';
6
-
7
- type SubtypeConstructor<Constructor extends new (...args: any) => any, Subtype> = {
8
- new(...args: ConstructorParameters<Constructor>): Subtype;
9
- };
10
-
11
- export interface ProtoGrpcType {
12
- keyvaluestore: {
13
- KeyValueStore: SubtypeConstructor<typeof grpc.Client, _keyvaluestore_KeyValueStoreClient> & { service: _keyvaluestore_KeyValueStoreDefinition }
14
- Request: MessageTypeDefinition
15
- Response: MessageTypeDefinition
16
- }
17
- }
18
-
@@ -1,111 +0,0 @@
1
- // Copyright 2015 gRPC authors.
2
- //
3
- // Licensed under the Apache License, Version 2.0 (the "License");
4
- // you may not use this file except in compliance with the License.
5
- // You may obtain a copy of the License at
6
- //
7
- // http://www.apache.org/licenses/LICENSE-2.0
8
- //
9
- // Unless required by applicable law or agreed to in writing, software
10
- // distributed under the License is distributed on an "AS IS" BASIS,
11
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- // See the License for the specific language governing permissions and
13
- // limitations under the License.
14
-
15
- syntax = "proto3";
16
-
17
- option java_multiple_files = true;
18
- option java_package = "io.grpc.examples.routeguide";
19
- option java_outer_classname = "RouteGuideProto";
20
- option objc_class_prefix = "RTG";
21
-
22
- package routeguide;
23
-
24
- // Interface exported by the server.
25
- service RouteGuide {
26
- // A simple RPC.
27
- //
28
- // Obtains the feature at a given position.
29
- //
30
- // A feature with an empty name is returned if there's no feature at the given
31
- // position.
32
- rpc GetFeature(Point) returns (Feature) {}
33
-
34
- // A server-to-client streaming RPC.
35
- //
36
- // Obtains the Features available within the given Rectangle. Results are
37
- // streamed rather than returned at once (e.g. in a response message with a
38
- // repeated field), as the rectangle may cover a large area and contain a
39
- // huge number of features.
40
- rpc ListFeatures(Rectangle) returns (stream Feature) {}
41
-
42
- // A client-to-server streaming RPC.
43
- //
44
- // Accepts a stream of Points on a route being traversed, returning a
45
- // RouteSummary when traversal is completed.
46
- rpc RecordRoute(stream Point) returns (RouteSummary) {}
47
-
48
- // A Bidirectional streaming RPC.
49
- //
50
- // Accepts a stream of RouteNotes sent while a route is being traversed,
51
- // while receiving other RouteNotes (e.g. from other users).
52
- rpc RouteChat(stream RouteNote) returns (stream RouteNote) {}
53
- }
54
-
55
- // Points are represented as latitude-longitude pairs in the E7 representation
56
- // (degrees multiplied by 10**7 and rounded to the nearest integer).
57
- // Latitudes should be in the range +/- 90 degrees and longitude should be in
58
- // the range +/- 180 degrees (inclusive).
59
- message Point {
60
- int32 latitude = 1;
61
- int32 longitude = 2;
62
- }
63
-
64
- // A latitude-longitude rectangle, represented as two diagonally opposite
65
- // points "lo" and "hi".
66
- message Rectangle {
67
- // One corner of the rectangle.
68
- Point lo = 1;
69
-
70
- // The other corner of the rectangle.
71
- Point hi = 2;
72
- }
73
-
74
- // A feature names something at a given point.
75
- //
76
- // If a feature could not be named, the name is empty.
77
- message Feature {
78
- // The name of the feature.
79
- string name = 1;
80
-
81
- // The point where the feature is detected.
82
- Point location = 2;
83
- }
84
-
85
- // A RouteNote is a message sent while at a given point.
86
- message RouteNote {
87
- // The location from which the message is sent.
88
- Point location = 1;
89
-
90
- // The message to be sent.
91
- string message = 2;
92
- }
93
-
94
- // A RouteSummary is received in response to a RecordRoute rpc.
95
- //
96
- // It contains the number of individual points received, the number of
97
- // detected features, and the total distance covered as the cumulative sum of
98
- // the distance between each point.
99
- message RouteSummary {
100
- // The number of points received.
101
- int32 point_count = 1;
102
-
103
- // The number of known features passed while traversing the route.
104
- int32 feature_count = 2;
105
-
106
- // The distance covered in metres.
107
- int32 distance = 3;
108
-
109
- // The duration of the traversal in seconds.
110
- int32 elapsed_time = 4;
111
- }
@@ -1,21 +0,0 @@
1
- /* eslint @typescript-eslint/no-explicit-any: 0 */ // --> OFF
2
- import type * as grpc from '@grpc/grpc-js';
3
- import type { MessageTypeDefinition } from '@grpc/proto-loader';
4
-
5
- import type { RouteGuideClient as _routeguide_RouteGuideClient, RouteGuideDefinition as _routeguide_RouteGuideDefinition } from './routeguide/RouteGuide';
6
-
7
- type SubtypeConstructor<Constructor extends new (...args: any) => any, Subtype> = {
8
- new(...args: ConstructorParameters<Constructor>): Subtype;
9
- };
10
-
11
- export interface ProtoGrpcType {
12
- routeguide: {
13
- Feature: MessageTypeDefinition
14
- Point: MessageTypeDefinition
15
- Rectangle: MessageTypeDefinition
16
- RouteGuide: SubtypeConstructor<typeof grpc.Client, _routeguide_RouteGuideClient> & { service: _routeguide_RouteGuideDefinition }
17
- RouteNote: MessageTypeDefinition
18
- RouteSummary: MessageTypeDefinition
19
- }
20
- }
21
-
@@ -1,13 +0,0 @@
1
- // Original file: protos/route_guide.proto
2
-
3
- import type { Point as _routeguide_Point, Point__Output as _routeguide_Point__Output } from '../routeguide/Point';
4
-
5
- export interface Feature {
6
- 'name'?: (string);
7
- 'location'?: (_routeguide_Point | null);
8
- }
9
-
10
- export interface Feature__Output {
11
- 'name': (string);
12
- 'location': (_routeguide_Point__Output | null);
13
- }
@@ -1,12 +0,0 @@
1
- // Original file: protos/route_guide.proto
2
-
3
-
4
- export interface Point {
5
- 'latitude'?: (number);
6
- 'longitude'?: (number);
7
- }
8
-
9
- export interface Point__Output {
10
- 'latitude': (number);
11
- 'longitude': (number);
12
- }
@@ -1,13 +0,0 @@
1
- // Original file: protos/route_guide.proto
2
-
3
- import type { Point as _routeguide_Point, Point__Output as _routeguide_Point__Output } from '../routeguide/Point';
4
-
5
- export interface Rectangle {
6
- 'lo'?: (_routeguide_Point | null);
7
- 'hi'?: (_routeguide_Point | null);
8
- }
9
-
10
- export interface Rectangle__Output {
11
- 'lo': (_routeguide_Point__Output | null);
12
- 'hi': (_routeguide_Point__Output | null);
13
- }
@@ -1,58 +0,0 @@
1
- // Original file: protos/route_guide.proto
2
-
3
- import type * as grpc from '@grpc/grpc-js'
4
- import type { MethodDefinition } from '@grpc/proto-loader'
5
- import type { Feature as _routeguide_Feature, Feature__Output as _routeguide_Feature__Output } from '../routeguide/Feature';
6
- import type { Point as _routeguide_Point, Point__Output as _routeguide_Point__Output } from '../routeguide/Point';
7
- import type { Rectangle as _routeguide_Rectangle, Rectangle__Output as _routeguide_Rectangle__Output } from '../routeguide/Rectangle';
8
- import type { RouteNote as _routeguide_RouteNote, RouteNote__Output as _routeguide_RouteNote__Output } from '../routeguide/RouteNote';
9
- import type { RouteSummary as _routeguide_RouteSummary, RouteSummary__Output as _routeguide_RouteSummary__Output } from '../routeguide/RouteSummary';
10
-
11
- export interface RouteGuideClient extends grpc.Client {
12
- GetFeature(argument: _routeguide_Point, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_routeguide_Feature__Output>): grpc.ClientUnaryCall;
13
- GetFeature(argument: _routeguide_Point, metadata: grpc.Metadata, callback: grpc.requestCallback<_routeguide_Feature__Output>): grpc.ClientUnaryCall;
14
- GetFeature(argument: _routeguide_Point, options: grpc.CallOptions, callback: grpc.requestCallback<_routeguide_Feature__Output>): grpc.ClientUnaryCall;
15
- GetFeature(argument: _routeguide_Point, callback: grpc.requestCallback<_routeguide_Feature__Output>): grpc.ClientUnaryCall;
16
- getFeature(argument: _routeguide_Point, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_routeguide_Feature__Output>): grpc.ClientUnaryCall;
17
- getFeature(argument: _routeguide_Point, metadata: grpc.Metadata, callback: grpc.requestCallback<_routeguide_Feature__Output>): grpc.ClientUnaryCall;
18
- getFeature(argument: _routeguide_Point, options: grpc.CallOptions, callback: grpc.requestCallback<_routeguide_Feature__Output>): grpc.ClientUnaryCall;
19
- getFeature(argument: _routeguide_Point, callback: grpc.requestCallback<_routeguide_Feature__Output>): grpc.ClientUnaryCall;
20
-
21
- ListFeatures(argument: _routeguide_Rectangle, metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientReadableStream<_routeguide_Feature__Output>;
22
- ListFeatures(argument: _routeguide_Rectangle, options?: grpc.CallOptions): grpc.ClientReadableStream<_routeguide_Feature__Output>;
23
- listFeatures(argument: _routeguide_Rectangle, metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientReadableStream<_routeguide_Feature__Output>;
24
- listFeatures(argument: _routeguide_Rectangle, options?: grpc.CallOptions): grpc.ClientReadableStream<_routeguide_Feature__Output>;
25
-
26
- RecordRoute(metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_routeguide_RouteSummary__Output>): grpc.ClientWritableStream<_routeguide_Point>;
27
- RecordRoute(metadata: grpc.Metadata, callback: grpc.requestCallback<_routeguide_RouteSummary__Output>): grpc.ClientWritableStream<_routeguide_Point>;
28
- RecordRoute(options: grpc.CallOptions, callback: grpc.requestCallback<_routeguide_RouteSummary__Output>): grpc.ClientWritableStream<_routeguide_Point>;
29
- RecordRoute(callback: grpc.requestCallback<_routeguide_RouteSummary__Output>): grpc.ClientWritableStream<_routeguide_Point>;
30
- recordRoute(metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_routeguide_RouteSummary__Output>): grpc.ClientWritableStream<_routeguide_Point>;
31
- recordRoute(metadata: grpc.Metadata, callback: grpc.requestCallback<_routeguide_RouteSummary__Output>): grpc.ClientWritableStream<_routeguide_Point>;
32
- recordRoute(options: grpc.CallOptions, callback: grpc.requestCallback<_routeguide_RouteSummary__Output>): grpc.ClientWritableStream<_routeguide_Point>;
33
- recordRoute(callback: grpc.requestCallback<_routeguide_RouteSummary__Output>): grpc.ClientWritableStream<_routeguide_Point>;
34
-
35
- RouteChat(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream<_routeguide_RouteNote, _routeguide_RouteNote__Output>;
36
- RouteChat(options?: grpc.CallOptions): grpc.ClientDuplexStream<_routeguide_RouteNote, _routeguide_RouteNote__Output>;
37
- routeChat(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream<_routeguide_RouteNote, _routeguide_RouteNote__Output>;
38
- routeChat(options?: grpc.CallOptions): grpc.ClientDuplexStream<_routeguide_RouteNote, _routeguide_RouteNote__Output>;
39
-
40
- }
41
-
42
- export interface RouteGuideHandlers extends grpc.UntypedServiceImplementation {
43
- GetFeature: grpc.handleUnaryCall<_routeguide_Point__Output, _routeguide_Feature>;
44
-
45
- ListFeatures: grpc.handleServerStreamingCall<_routeguide_Rectangle__Output, _routeguide_Feature>;
46
-
47
- RecordRoute: grpc.handleClientStreamingCall<_routeguide_Point__Output, _routeguide_RouteSummary>;
48
-
49
- RouteChat: grpc.handleBidiStreamingCall<_routeguide_RouteNote__Output, _routeguide_RouteNote>;
50
-
51
- }
52
-
53
- export interface RouteGuideDefinition extends grpc.ServiceDefinition {
54
- GetFeature: MethodDefinition<_routeguide_Point, _routeguide_Feature, _routeguide_Point__Output, _routeguide_Feature__Output>
55
- ListFeatures: MethodDefinition<_routeguide_Rectangle, _routeguide_Feature, _routeguide_Rectangle__Output, _routeguide_Feature__Output>
56
- RecordRoute: MethodDefinition<_routeguide_Point, _routeguide_RouteSummary, _routeguide_Point__Output, _routeguide_RouteSummary__Output>
57
- RouteChat: MethodDefinition<_routeguide_RouteNote, _routeguide_RouteNote, _routeguide_RouteNote__Output, _routeguide_RouteNote__Output>
58
- }
@@ -1,13 +0,0 @@
1
- // Original file: protos/route_guide.proto
2
-
3
- import type { Point as _routeguide_Point, Point__Output as _routeguide_Point__Output } from '../routeguide/Point';
4
-
5
- export interface RouteNote {
6
- 'location'?: (_routeguide_Point | null);
7
- 'message'?: (string);
8
- }
9
-
10
- export interface RouteNote__Output {
11
- 'location': (_routeguide_Point__Output | null);
12
- 'message': (string);
13
- }
@@ -1,16 +0,0 @@
1
- // Original file: protos/route_guide.proto
2
-
3
-
4
- export interface RouteSummary {
5
- 'pointCount'?: (number);
6
- 'featureCount'?: (number);
7
- 'distance'?: (number);
8
- 'elapsedTime'?: (number);
9
- }
10
-
11
- export interface RouteSummary__Output {
12
- 'pointCount': (number);
13
- 'featureCount': (number);
14
- 'distance': (number);
15
- 'elapsedTime': (number);
16
- }
@@ -1,27 +0,0 @@
1
- export interface IPoint {
2
- latitude: number
3
- longitude: number;
4
- }
5
-
6
- export interface IRectangle {
7
- lo: IPoint
8
- hi: IPoint
9
- }
10
-
11
- export interface IFeature {
12
- name: string
13
- location: IPoint;
14
- }
15
-
16
- export interface IRouteNote {
17
- // The location from which the message is sent.
18
- location: IPoint
19
- message: string
20
- }
21
-
22
- export interface IRouteSummary {
23
- point_count: number
24
- feature_count: number
25
- distance: number
26
- elapsed_time: number
27
- }
@@ -1,52 +0,0 @@
1
- /* eslint @typescript-eslint/no-explicit-any: 0 */ // --> OFF
2
-
3
- // Examples;
4
- // https://github.com/grpc/grpc-node/blob/master/examples/routeguide/dynamic_codegen/route_guide_server.js
5
-
6
- /*
7
- *
8
- * Copyright 2015 gRPC authors.
9
- *
10
- * Licensed under the Apache License, Version 2.0 (the "License");
11
- * you may not use this file except in compliance with the License.
12
- * You may obtain a copy of the License at
13
- *
14
- * http://www.apache.org/licenses/LICENSE-2.0
15
- *
16
- * Unless required by applicable law or agreed to in writing, software
17
- * distributed under the License is distributed on an "AS IS" BASIS,
18
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
- * See the License for the specific language governing permissions and
20
- * limitations under the License.
21
- *
22
- */
23
-
24
- const PROTO_PATH = __dirname + './../protos/helloworld.proto';
25
-
26
- import * as grpc from '@grpc/grpc-js';
27
- //var grpc = require('@grpc/grpc-js');
28
-
29
- import * as protoLoader from '@grpc/proto-loader';
30
- //var protoLoader = require('@grpc/proto-loader');
31
-
32
- const packageDefinition = protoLoader.loadSync(
33
- PROTO_PATH,
34
- {keepCase: true,
35
- longs: String,
36
- enums: String,
37
- defaults: true,
38
- oneofs: true
39
- });
40
- const hello_proto = grpc.loadPackageDefinition(packageDefinition).helloworld;
41
-
42
- function main() {
43
- const target = 'localhost:50051';
44
- const client = new (hello_proto as any).Greeter(target,
45
- grpc.credentials.createInsecure());
46
- const user = 'world';
47
- client.sayHello({name: user}, function(err: any, response: any) {
48
- console.log('Greeting:', response.message);
49
- });
50
- }
51
-
52
- main();
@@ -1,62 +0,0 @@
1
- /* eslint @typescript-eslint/no-explicit-any: 0 */ // --> OFF
2
-
3
- // Examples;
4
- // https://github.com/grpc/grpc-node/blob/master/examples/routeguide/dynamic_codegen/route_guide_server.js
5
-
6
- /*
7
- *
8
- * Copyright 2015 gRPC authors.
9
- *
10
- * Licensed under the Apache License, Version 2.0 (the "License");
11
- * you may not use this file except in compliance with the License.
12
- * You may obtain a copy of the License at
13
- *
14
- * http://www.apache.org/licenses/LICENSE-2.0
15
- *
16
- * Unless required by applicable law or agreed to in writing, software
17
- * distributed under the License is distributed on an "AS IS" BASIS,
18
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
- * See the License for the specific language governing permissions and
20
- * limitations under the License.
21
- *
22
- */
23
-
24
- const PROTO_PATH = __dirname + './../protos/helloworld.proto';
25
-
26
- import * as grpc from '@grpc/grpc-js';
27
- import * as protoLoader from '@grpc/proto-loader';
28
- //var grpc = require('@grpc/grpc-js');
29
- //var protoLoader = require('@grpc/proto-loader');
30
-
31
- const packageDefinition = protoLoader.loadSync(
32
- PROTO_PATH,
33
- {keepCase: true,
34
- longs: String,
35
- enums: String,
36
- defaults: true,
37
- oneofs: true
38
- });
39
- const hello_proto = grpc.loadPackageDefinition(packageDefinition).helloworld;
40
-
41
- /**
42
- * Implements the SayHello RPC method.
43
- */
44
- function sayHello(call: any, callback: any) {
45
- callback(null, {message: 'Hello ' + call.request.name});
46
- }
47
-
48
- /**
49
- * Starts an RPC server that receives requests for the Greeter service at the
50
- * sample server port
51
- */
52
- function main() {
53
- const server = new grpc.Server();
54
- server.addService((hello_proto as any).Greeter.service, {
55
- sayHello: sayHello
56
- });
57
- server.bindAsync('0.0.0.0:50051', grpc.ServerCredentials.createInsecure(), () => {
58
- server.start();
59
- });
60
- }
61
-
62
- main();