javonet-ruby-sdk 2.5.6 → 2.5.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (219) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/javonet-ruby-sdk/Binaries/Clr/Javonet.Clr.Utils.dll +0 -0
  4. data/lib/javonet-ruby-sdk/Binaries/Clr/JavonetClrRuntime.dll +0 -0
  5. data/lib/javonet-ruby-sdk/Binaries/Jvm/JavonetJvmRuntime.jar +0 -0
  6. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetActivationService.so +0 -0
  7. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetCppRuntimeNative.so +0 -0
  8. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetGoRuntimeNative.so +0 -0
  9. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetJvmRuntimeNative.so +0 -0
  10. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetNetcoreRuntimeNative.so +0 -0
  11. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetPythonRuntimeNative.so +0 -0
  12. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetRuby278RuntimeNative.so +0 -0
  13. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetRubyRuntimeNative.so +0 -0
  14. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetTcpClient.so +0 -0
  15. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetTcpTlsClient.so +0 -0
  16. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libUtils.so +0 -0
  17. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/version.txt +1 -1
  18. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/NativeUtilsUnitTests.xml +29 -18
  19. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetActivationService.so +0 -0
  20. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetCppRuntimeNative.so +0 -0
  21. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetGoRuntimeNative.so +0 -0
  22. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetJvmRuntimeNative.so +0 -0
  23. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetNetcoreRuntimeNative.so +0 -0
  24. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetNodejs1816RuntimeNative.so +0 -0
  25. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetNodejsRuntimeNative.so +0 -0
  26. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetPerlRuntimeNative.so +0 -0
  27. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetPythonRuntimeNative.so +0 -0
  28. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetRuby278RuntimeNative.so +0 -0
  29. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetRubyRuntimeNative.so +0 -0
  30. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetTcpClient.so +0 -0
  31. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetTcpTlsClient.so +0 -0
  32. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libUtils.so +0 -0
  33. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/openssl3/libJavonetActivationService.so +0 -0
  34. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/openssl3/libJavonetTcpTlsClient.so +0 -0
  35. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/openssl3/libUtils.so +0 -0
  36. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/version.txt +1 -1
  37. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetActivationService.dylib +0 -0
  38. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetCppRuntimeNative.dylib +0 -0
  39. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetGoRuntimeNative.dylib +0 -0
  40. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetJvmRuntimeNative.dylib +0 -0
  41. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetNetcoreRuntimeNative.dylib +0 -0
  42. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetNodejs1816RuntimeNative.dylib +0 -0
  43. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetNodejsRuntimeNative.dylib +0 -0
  44. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetPerlRuntimeNative.dylib +0 -0
  45. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetPythonRuntimeNative.dylib +0 -0
  46. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetRuby278RuntimeNative.dylib +0 -0
  47. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetRubyRuntimeNative.dylib +0 -0
  48. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetTcpClient.dylib +0 -0
  49. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetTcpTlsClient.dylib +0 -0
  50. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libUtils.dylib +0 -0
  51. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/version.txt +1 -1
  52. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetActivationService.dll +0 -0
  53. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetCppRuntimeNative.dll +0 -0
  54. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetGoRuntimeNative.dll +0 -0
  55. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetJvmRuntimeNative.dll +0 -0
  56. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetNetcoreRuntimeNative.dll +0 -0
  57. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetPythonRuntimeNative.dll +0 -0
  58. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetRuby278RuntimeNative.dll +0 -0
  59. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetRubyRuntimeNative.dll +0 -0
  60. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetTcpClient.dll +0 -0
  61. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetTcpTlsClient.dll +0 -0
  62. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/Utils.dll +0 -0
  63. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/version.txt +0 -0
  64. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetActivationService.dll +0 -0
  65. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetClrRuntimeNative.dll +0 -0
  66. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetCppRuntimeNative.dll +0 -0
  67. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetGoRuntimeNative.dll +0 -0
  68. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetJvmRuntimeNative.dll +0 -0
  69. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetNetcoreRuntimeNative.dll +0 -0
  70. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetNodejs1816RuntimeNative.dll +0 -0
  71. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetNodejsRuntimeNative.dll +0 -0
  72. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetPerlRuntimeNative.dll +0 -0
  73. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetPerlRuntimeNativeAuxiliary.dll +0 -0
  74. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetPythonRuntimeNative.dll +0 -0
  75. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetRuby278RuntimeNative.dll +0 -0
  76. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetRubyRuntimeNative.dll +0 -0
  77. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetTcpClient.dll +0 -0
  78. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetTcpTlsClient.dll +0 -0
  79. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/Utils.dll +0 -0
  80. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/version.txt +1 -1
  81. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetActivationService.dll +0 -0
  82. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetClrRuntimeNative.dll +0 -0
  83. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetCppRuntimeNative.dll +0 -0
  84. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetGoRuntimeNative.dll +0 -0
  85. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetJvmRuntimeNative.dll +0 -0
  86. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetNetcoreRuntimeNative.dll +0 -0
  87. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetPythonRuntimeNative.dll +0 -0
  88. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetTcpClient.dll +0 -0
  89. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetTcpTlsClient.dll +0 -0
  90. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/Utils.dll +0 -0
  91. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/version.txt +1 -1
  92. data/lib/javonet-ruby-sdk/Binaries/Netcore/Javonet.Netcore.Core.dll +0 -0
  93. data/lib/javonet-ruby-sdk/Binaries/Netcore/Javonet.Netcore.Utils.dll +0 -0
  94. data/lib/javonet-ruby-sdk/Binaries/Nodejs/core/handler/GetTypeHandler.js +17 -2
  95. data/lib/javonet-ruby-sdk/Binaries/Nodejs/core/handler/LoadLibraryHandler.js +6 -0
  96. data/lib/javonet-ruby-sdk/Binaries/Nodejs/core/interpreter/Interpreter.js +4 -0
  97. data/lib/javonet-ruby-sdk/Binaries/Nodejs/core/webSocketClient/WebSocketClient.js +8 -7
  98. data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Class/Load/XS/XS.so +0 -0
  99. data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Data/UUID/UUID.so +0 -0
  100. data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/FFI/Platypus/Platypus.so +0 -0
  101. data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/List/Util/Util.so +0 -0
  102. data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Moose/Moose.so +0 -0
  103. data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/PPI/XS/XS.so +0 -0
  104. data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Package/Stash/XS/XS.so +0 -0
  105. data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Params/Util/Util.so +0 -0
  106. data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Want/Want.so +0 -0
  107. data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/FFI-Platypus/lib/libplfill.so +0 -0
  108. data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/perllocal.pod +89 -89
  109. data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Core/Receiver/Receiver.pm +5 -6
  110. data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Javonet.pm +10 -0
  111. data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Sdk/Core/RuntimeLogger.pm +2 -2
  112. data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Data/UUID/UUID.xs.dll +0 -0
  113. data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/PPI/XS/XS.xs.dll +0 -0
  114. data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Scalar/Util/Numeric/Numeric.xs.dll +0 -0
  115. data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Want/Want.xs.dll +0 -0
  116. data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/autobox/autobox.xs.dll +0 -0
  117. data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/perllocal.pod +20 -20
  118. data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Core/Receiver/Receiver.pm +5 -6
  119. data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Javonet.pm +10 -0
  120. data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Core/RuntimeLogger.pm +2 -2
  121. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/__pycache__/__init__.cpython-312.pyc +0 -0
  122. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/delegateCache/__pycache__/DelegatesCache.cpython-312.pyc +0 -0
  123. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/delegateCache/__pycache__/__init__.cpython-312.pyc +0 -0
  124. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/generator/__pycache__/__init__.cpython-312.pyc +0 -0
  125. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/generator/internal/__pycache__/PythonStringBuilder.cpython-312.pyc +0 -0
  126. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/generator/internal/__pycache__/__init__.cpython-312.pyc +0 -0
  127. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/GetInstanceFieldHandler.py +1 -1
  128. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/GetTypeHandler.py +7 -4
  129. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/AbstractCommandHandler.cpython-312.pyc +0 -0
  130. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/AbstractHandler.cpython-312.pyc +0 -0
  131. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArrayGetItemHandler.cpython-312.pyc +0 -0
  132. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArrayGetRankHandler.cpython-312.pyc +0 -0
  133. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArrayGetSizeHandler.cpython-312.pyc +0 -0
  134. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArrayHandler.cpython-312.pyc +0 -0
  135. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArraySetItemHandler.cpython-312.pyc +0 -0
  136. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/CastingHandler.cpython-312.pyc +0 -0
  137. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/CreateClassInstanceHandler.cpython-312.pyc +0 -0
  138. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/DestructReferenceHandler.cpython-312.pyc +0 -0
  139. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/EnableNamespaceHandler.cpython-312.pyc +0 -0
  140. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/EnableTypeHandler.cpython-312.pyc +0 -0
  141. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetEnumItemHandler.cpython-312.pyc +0 -0
  142. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetEnumNameHandler.cpython-312.pyc +0 -0
  143. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetEnumValueHandler.cpython-312.pyc +0 -0
  144. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetInstanceFieldHandler.cpython-312.pyc +0 -0
  145. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetInstanceMethodAsDelegateHandler.cpython-312.pyc +0 -0
  146. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetStaticFieldHandler.cpython-312.pyc +0 -0
  147. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetStaticMethodAsDelegateHandler.cpython-312.pyc +0 -0
  148. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetTypeHandler.cpython-312.pyc +0 -0
  149. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/Handler.cpython-312.pyc +0 -0
  150. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/HandlerDictionary.cpython-312.pyc +0 -0
  151. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/InvokeDelegateHandler.cpython-312.pyc +0 -0
  152. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/InvokeInstanceMethodHandler.cpython-312.pyc +0 -0
  153. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/InvokeStaticMethodHandler.cpython-312.pyc +0 -0
  154. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/LoadLibraryHandler.cpython-312.pyc +0 -0
  155. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/PassDelegateHandler.cpython-312.pyc +0 -0
  156. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ResolveInstanceHandler.cpython-312.pyc +0 -0
  157. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/SetInstanceFieldHandler.cpython-312.pyc +0 -0
  158. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/SetStaticFieldHandler.cpython-312.pyc +0 -0
  159. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ValueHandler.cpython-312.pyc +0 -0
  160. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/__init__.cpython-312.pyc +0 -0
  161. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/interpreter/__pycache__/Interpreter.cpython-312.pyc +0 -0
  162. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/interpreter/__pycache__/__init__.cpython-312.pyc +0 -0
  163. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/namespaceCache/__pycache__/NamespaceCache.cpython-312.pyc +0 -0
  164. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/namespaceCache/__pycache__/__init__.cpython-312.pyc +0 -0
  165. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/__pycache__/CommandDeserializer.cpython-312.pyc +0 -0
  166. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/__pycache__/CommandSerializer.cpython-312.pyc +0 -0
  167. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/__pycache__/TypeDeserializer.cpython-312.pyc +0 -0
  168. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/__pycache__/TypeSerializer.cpython-312.pyc +0 -0
  169. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/__pycache__/__init__.cpython-312.pyc +0 -0
  170. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/receiver/Receiver.py +3 -4
  171. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/receiver/__pycache__/Receiver.cpython-312.pyc +0 -0
  172. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/receiver/__pycache__/__init__.cpython-312.pyc +0 -0
  173. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/referenceCache/__pycache__/ReferencesCache.cpython-312.pyc +0 -0
  174. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/referenceCache/__pycache__/__init__.cpython-312.pyc +0 -0
  175. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/typeCache/__pycache__/TypeCache.cpython-312.pyc +0 -0
  176. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/typeCache/__pycache__/__init__.cpython-312.pyc +0 -0
  177. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/webSocketClient/WebSocketClient.py +15 -14
  178. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/RuntimeLogger.py +1 -1
  179. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/Command.cpython-312.pyc +0 -0
  180. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/CommandType.cpython-312.pyc +0 -0
  181. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/ConnectionType.cpython-312.pyc +0 -0
  182. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/ExceptionType.cpython-312.pyc +0 -0
  183. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/RuntimeLogger.cpython-312.pyc +0 -0
  184. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/RuntimeName.cpython-312.pyc +0 -0
  185. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/StringEncodingMode.cpython-312.pyc +0 -0
  186. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/Type.cpython-312.pyc +0 -0
  187. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/__init__.cpython-312.pyc +0 -0
  188. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/connectionData/__pycache__/IConnectionData.cpython-312.pyc +0 -0
  189. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/connectionData/__pycache__/InMemoryConnectionData.cpython-312.pyc +0 -0
  190. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/connectionData/__pycache__/__init__.cpython-312.pyc +0 -0
  191. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/exception/__pycache__/ExceptionSerializer.cpython-312.pyc +0 -0
  192. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/exception/__pycache__/__init__.cpython-312.pyc +0 -0
  193. data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/get_instance_field_handler.rb +3 -3
  194. data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/get_static_field_handler.rb +2 -2
  195. data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/get_type_handler.rb +29 -18
  196. data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/load_library_handler.rb +8 -0
  197. data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/set_instance_field_handler.rb +7 -3
  198. data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/set_static_field_handler.rb +2 -2
  199. data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/get_instance_field_handler.rb +3 -3
  200. data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/get_static_field_handler.rb +2 -2
  201. data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/get_type_handler.rb +29 -18
  202. data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/load_library_handler.rb +8 -0
  203. data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/set_instance_field_handler.rb +7 -3
  204. data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/set_static_field_handler.rb +2 -2
  205. data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/get_instance_field_handler.rb +3 -3
  206. data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/get_static_field_handler.rb +2 -2
  207. data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/get_type_handler.rb +29 -18
  208. data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/load_library_handler.rb +8 -0
  209. data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/set_instance_field_handler.rb +7 -3
  210. data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/set_static_field_handler.rb +2 -2
  211. data/lib/javonet-ruby-sdk/Binaries/version.txt +1 -1
  212. data/lib/javonet-ruby-sdk/core/handler/get_instance_field_handler.rb +3 -3
  213. data/lib/javonet-ruby-sdk/core/handler/get_static_field_handler.rb +2 -2
  214. data/lib/javonet-ruby-sdk/core/handler/get_type_handler.rb +29 -18
  215. data/lib/javonet-ruby-sdk/core/handler/load_library_handler.rb +8 -0
  216. data/lib/javonet-ruby-sdk/core/handler/set_instance_field_handler.rb +7 -3
  217. data/lib/javonet-ruby-sdk/core/handler/set_static_field_handler.rb +2 -2
  218. data/lib/javonet-ruby-sdk/sdk/javonet.rb +11 -1
  219. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5afe4003d89c20ee5bf052ea5e18fd53464eef6ae417c798421a9d614b1b5425
4
- data.tar.gz: 6a67f9d6ac21aa5139f79fdbf79cba2a6b6ac227f2a873f65a55042f7564831a
3
+ metadata.gz: ea4938843f282972e6da61fe13e6bae1c23472bf880a037369cfcf21d2a738a0
4
+ data.tar.gz: 3ae22b71abf2e198dcf739297beea6ac9535ea407b55d5acd2e343ee961dbd8c
5
5
  SHA512:
6
- metadata.gz: 81271ad7d4a6fa31398cb05af1b7de95142055f3df0bd8172e54bffb05fe79061e3dc659e3a4a33db5190c3bb92a17752557aecc0c198a0bf291ee5fd6435b1a
7
- data.tar.gz: ec65a2f6467f94bb4d891751d1724a53fc738bd4d8e2e5bcb81d3382134b4a35572a53b0197260c12dcd84f23ca94b03c021957052202eb3831dcab97caef4e9
6
+ metadata.gz: e7b135944a4d11e887f7822a8a871f6a9dc0b9f615b7f9b218603f4ca6eec789e334a8780f0e2503a440aaecbc62e4fbf7ef3cecad435506faac28d121c9f622
7
+ data.tar.gz: 5c82556cff95c769e63083dc4011f12adc402b8d07a5b1193699e3dc61e1bfcec96e831cacc4534586f5a549e17016552c657fea221521c491130c2149ba1e5d
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.5.6
1
+ 2.5.8
@@ -1 +1 @@
1
- 2.5.6
1
+ 2.5.8
@@ -1,21 +1,32 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuites tests="16" failures="0" disabled="0" errors="0" time="3.745" timestamp="2024-11-12T14:49:27.054" name="AllTests">
3
- <testsuite name="Unit" tests="16" failures="0" disabled="0" skipped="0" errors="0" time="3.745" timestamp="2024-11-12T14:49:27.054">
4
- <testcase name="Activation_Activate_correct_credentials" file="/home/vsts/work/1/s/src/native/UnitTests/ActivationTests.cpp" line="8" status="run" result="completed" time="1.931" timestamp="2024-11-12T14:49:27.054" classname="Unit" />
5
- <testcase name="Activation_Activate_javonet_lic_exists" file="/home/vsts/work/1/s/src/native/UnitTests/ActivationTests.cpp" line="15" status="run" result="completed" time="0.037" timestamp="2024-11-12T14:49:28.986" classname="Unit" />
6
- <testcase name="Activation_Activate_incorrect_license_key" file="/home/vsts/work/1/s/src/native/UnitTests/ActivationTests.cpp" line="21" status="run" result="completed" time="0.672" timestamp="2024-11-12T14:49:29.024" classname="Unit" />
7
- <testcase name="ConfigFileReader_ExisitingFile" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="8" status="run" result="completed" time="0." timestamp="2024-11-12T14:49:29.697" classname="Unit" />
8
- <testcase name="SetConfigSource_MissingFile" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="13" status="run" result="completed" time="0.531" timestamp="2024-11-12T14:49:29.697" classname="Unit" />
9
- <testcase name="ConfigFileReader_GetLicenseKey" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="33" status="run" result="completed" time="0." timestamp="2024-11-12T14:49:30.228" classname="Unit" />
10
- <testcase name="ConfigFileReader_GetRuntimeName_Jvm" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="39" status="run" result="completed" time="0." timestamp="2024-11-12T14:49:30.229" classname="Unit" />
11
- <testcase name="ConfigFileReader_GetRuntimeName_Netcore" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="45" status="run" result="completed" time="0." timestamp="2024-11-12T14:49:30.229" classname="Unit" />
12
- <testcase name="ConfigFileReader_GetRuntimeType_MissingType" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="51" status="run" result="completed" time="0.534" timestamp="2024-11-12T14:49:30.230" classname="Unit" />
13
- <testcase name="ConfigFileReader_GetChannelType_Jvm" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="69" status="run" result="completed" time="0." timestamp="2024-11-12T14:49:30.764" classname="Unit" />
14
- <testcase name="ConfigFileReader_GetChannelType_Netcore" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="75" status="run" result="completed" time="0." timestamp="2024-11-12T14:49:30.765" classname="Unit" />
15
- <testcase name="ConfigFileReader_GetChannelHost_Jvm" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="81" status="run" result="completed" time="0." timestamp="2024-11-12T14:49:30.766" classname="Unit" />
16
- <testcase name="ConfigFileReader_GetChannelHost_Netcore" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="88" status="run" result="completed" time="0." timestamp="2024-11-12T14:49:30.766" classname="Unit" />
17
- <testcase name="ConfigFileReader_GetChannelPort_Jvm" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="95" status="run" result="completed" time="0." timestamp="2024-11-12T14:49:30.767" classname="Unit" />
18
- <testcase name="ConfigFileReader_GetChannelPort_Netcore" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="102" status="run" result="completed" time="0." timestamp="2024-11-12T14:49:30.768" classname="Unit" />
19
- <testcase name="AppInsightLogger" file="/home/vsts/work/1/s/src/native/UnitTests/LoggingTests.cpp" line="4" status="run" result="completed" time="0.03" timestamp="2024-11-12T14:49:30.769" classname="Unit" />
2
+ <testsuites tests="27" failures="0" disabled="0" errors="0" time="2.489" timestamp="2024-11-29T06:47:18.592" name="AllTests">
3
+ <testsuite name="Unit" tests="27" failures="0" disabled="0" skipped="0" errors="0" time="2.489" timestamp="2024-11-29T06:47:18.592">
4
+ <testcase name="Activation_Activate_correct_credentials" file="/home/vsts/work/1/s/src/native/UnitTests/ActivationTests.cpp" line="8" status="run" result="completed" time="2.187" timestamp="2024-11-29T06:47:18.592" classname="Unit" />
5
+ <testcase name="Activation_Activate_javonet_lic_exists" file="/home/vsts/work/1/s/src/native/UnitTests/ActivationTests.cpp" line="15" status="run" result="completed" time="0.031" timestamp="2024-11-29T06:47:20.779" classname="Unit" />
6
+ <testcase name="Activation_Activate_incorrect_license_key" file="/home/vsts/work/1/s/src/native/UnitTests/ActivationTests.cpp" line="21" status="run" result="completed" time="0.068" timestamp="2024-11-29T06:47:20.811" classname="Unit" />
7
+ <testcase name="ConfigFileReader_ExisitingFile" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="10" status="run" result="completed" time="0." timestamp="2024-11-29T06:47:20.880" classname="Unit" />
8
+ <testcase name="SetConfigPath_MissingFile" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="15" status="run" result="completed" time="0.081" timestamp="2024-11-29T06:47:20.880" classname="Unit" />
9
+ <testcase name="ConfigFileReader_GetLicenseKey" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="35" status="run" result="completed" time="0." timestamp="2024-11-29T06:47:20.961" classname="Unit" />
10
+ <testcase name="ConfigFileReadet_GetLoggingLevel" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="41" status="run" result="completed" time="0." timestamp="2024-11-29T06:47:20.962" classname="Unit" />
11
+ <testcase name="ConfigFileReader_GetProxyHost" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="47" status="run" result="completed" time="0." timestamp="2024-11-29T06:47:20.962" classname="Unit" />
12
+ <testcase name="ConfigFileReader_GetProxyPort" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="53" status="run" result="completed" time="0." timestamp="2024-11-29T06:47:20.963" classname="Unit" />
13
+ <testcase name="ConfigFileReader_GetProxyUsername" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="59" status="run" result="completed" time="0." timestamp="2024-11-29T06:47:20.963" classname="Unit" />
14
+ <testcase name="ConfigFileReader_GetProxyPassword" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="65" status="run" result="completed" time="0." timestamp="2024-11-29T06:47:20.964" classname="Unit" />
15
+ <testcase name="ConfigFileReader_GetProxyDomain" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="71" status="run" result="completed" time="0." timestamp="2024-11-29T06:47:20.964" classname="Unit" />
16
+ <testcase name="ConfigFileReader_GetProxyHost_NoProxy" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="77" status="run" result="completed" time="0." timestamp="2024-11-29T06:47:20.964" classname="Unit" />
17
+ <testcase name="ConfigFileReader_GetProxyPort_NoProxy" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="83" status="run" result="completed" time="0." timestamp="2024-11-29T06:47:20.964" classname="Unit" />
18
+ <testcase name="ConfigFileReader_GetProxyUserName_NoProxy" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="89" status="run" result="completed" time="0." timestamp="2024-11-29T06:47:20.964" classname="Unit" />
19
+ <testcase name="ConfigFileReader_GetProxyPassword_NoProxy" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="95" status="run" result="completed" time="0." timestamp="2024-11-29T06:47:20.965" classname="Unit" />
20
+ <testcase name="ConfigFileReader_GetProxyDomain_NoProxy" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="101" status="run" result="completed" time="0." timestamp="2024-11-29T06:47:20.965" classname="Unit" />
21
+ <testcase name="ConfigFileReader_GetRuntimeName_Jvm" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="107" status="run" result="completed" time="0.001" timestamp="2024-11-29T06:47:20.965" classname="Unit" />
22
+ <testcase name="ConfigFileReader_GetRuntimeName_Netcore" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="113" status="run" result="completed" time="0." timestamp="2024-11-29T06:47:20.966" classname="Unit" />
23
+ <testcase name="ConfigFileReader_GetRuntimeType_MissingType" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="119" status="run" result="completed" time="0.08" timestamp="2024-11-29T06:47:20.967" classname="Unit" />
24
+ <testcase name="ConfigFileReader_GetChannelType_Jvm" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="137" status="run" result="completed" time="0.001" timestamp="2024-11-29T06:47:21.047" classname="Unit" />
25
+ <testcase name="ConfigFileReader_GetChannelType_Netcore" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="143" status="run" result="completed" time="0." timestamp="2024-11-29T06:47:21.048" classname="Unit" />
26
+ <testcase name="ConfigFileReader_GetChannelHost_Jvm" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="149" status="run" result="completed" time="0." timestamp="2024-11-29T06:47:21.049" classname="Unit" />
27
+ <testcase name="ConfigFileReader_GetChannelHost_Netcore" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="156" status="run" result="completed" time="0." timestamp="2024-11-29T06:47:21.050" classname="Unit" />
28
+ <testcase name="ConfigFileReader_GetChannelPort_Jvm" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="163" status="run" result="completed" time="0." timestamp="2024-11-29T06:47:21.051" classname="Unit" />
29
+ <testcase name="ConfigFileReader_GetChannelPort_Netcore" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="170" status="run" result="completed" time="0." timestamp="2024-11-29T06:47:21.051" classname="Unit" />
30
+ <testcase name="AppInsightLogger" file="/home/vsts/work/1/s/src/native/UnitTests/LoggingTests.cpp" line="4" status="run" result="completed" time="0.029" timestamp="2024-11-29T06:47:21.052" classname="Unit" />
20
31
  </testsuite>
21
32
  </testsuites>
@@ -1 +1 @@
1
- 2.5.6
1
+ 2.5.8
@@ -1 +1 @@
1
- 2.5.6
1
+ 2.5.8
@@ -1 +1 @@
1
- '2.5.6'
1
+ '2.5.8'
@@ -1 +1 @@
1
- '2.5.6'
1
+ '2.5.8'
@@ -1,4 +1,5 @@
1
1
  const AbstractHandler = require("./AbstractHandler");
2
+ const LoadLibraryHandler = require("./LoadLibraryHandler");
2
3
  const NamespaceCache = require("../namespaceCache/NamespaceCache");
3
4
  const TypeCache = require("../typeCache/TypeCache");
4
5
 
@@ -21,7 +22,10 @@ class GetTypeHandler extends AbstractHandler {
21
22
  typeName = typeName.replace(".js", "")
22
23
  let typeToReturn = global[typeName]
23
24
  if (typeToReturn === undefined) {
24
- throw new Error(`Type ${typeName} not found`)
25
+ let message = `Type ${typeName} not found\n`
26
+ message += "Available types:\n"
27
+ message += this.getAvailableTypes().join("\n")
28
+ throw new Error(message)
25
29
  }
26
30
 
27
31
  if (
@@ -40,8 +44,19 @@ class GetTypeHandler extends AbstractHandler {
40
44
  } catch (error) {
41
45
  throw this.process_stack_trace(error, this.constructor.name)
42
46
  }
47
+ }
43
48
 
49
+ getAvailableTypes() {
50
+ let availableTypes = [];
51
+ LoadLibraryHandler.getLoadedLibraries().forEach((lib) => {
52
+ const moduleExports = require(lib);
53
+ availableTypes.push(moduleExports.name)
54
+ Object.keys(moduleExports).forEach((key) => {
55
+ availableTypes.push(key);
56
+ });
57
+ });
58
+ return availableTypes;
44
59
  }
45
60
  }
46
61
 
47
- module.exports = new GetTypeHandler()
62
+ module.exports = new GetTypeHandler()
@@ -2,6 +2,7 @@ const AbstractHandler = require('./AbstractHandler')
2
2
 
3
3
  class LoadLibraryHandler extends AbstractHandler {
4
4
  requiredParametersCount = 1
5
+ static loadedLibraries = [];
5
6
 
6
7
  constructor() {
7
8
  super()
@@ -21,6 +22,7 @@ class LoadLibraryHandler extends AbstractHandler {
21
22
 
22
23
  try {
23
24
  moduleExports = require(lib)
25
+ LoadLibraryHandler.loadedLibraries.push(lib)
24
26
  } catch (error) {
25
27
  try {
26
28
  moduleExports = require(`${process.cwd()}/${lib}`)
@@ -36,6 +38,10 @@ class LoadLibraryHandler extends AbstractHandler {
36
38
  }
37
39
  return 0
38
40
  }
41
+
42
+ getLoadedLibraries() {
43
+ return LoadLibraryHandler.loadedLibraries
44
+ }
39
45
  }
40
46
 
41
47
  module.exports = new LoadLibraryHandler()
@@ -19,6 +19,10 @@ class Interpreter {
19
19
  const wsClient = new WebSocketClient(connectionData.hostname, null)
20
20
 
21
21
  const responseByteArray = await wsClient.send(messageByteArray)
22
+ if (!responseByteArray) {
23
+ // TODO: handle error exception log?
24
+ return []
25
+ }
22
26
  return new CommandDeserializer(responseByteArray).deserialize()
23
27
  }
24
28
  else {
@@ -42,19 +42,19 @@ class WebSocketClient {
42
42
  }
43
43
 
44
44
  /**
45
- * Sends data through websocket connection
45
+ * Sends messageArray through websocket connection
46
46
  * @async
47
- * @param {Buffer|ArrayBuffer|Buffer[]} data
47
+ * @param {Buffer|ArrayBuffer|Buffer[]} messageArray
48
48
  * @returns {Promise<Buffer|ArrayBuffer|Buffer[]>}
49
49
  */
50
- send(data) {
50
+ send(messageArray) {
51
51
  return new Promise((resolve, reject) => {
52
52
  try {
53
- if (this.isConnected) {
54
- this._sendMessage(data, resolve, reject);
53
+ if (this.isConnected) {
54
+ this._sendMessage(messageArray, resolve, reject);
55
55
  } else {
56
56
  this._connect().then(() => {
57
- this._sendMessage(data, resolve, reject);
57
+ this._sendMessage(messageArray, resolve, reject);
58
58
  });
59
59
  }
60
60
  } catch (error) {
@@ -81,6 +81,7 @@ class WebSocketClient {
81
81
  */
82
82
  _connect() {
83
83
  return new Promise((resolve, reject) => {
84
+ console.log('[WebSocketClient] init');
84
85
  this.instance = new WebSocket(this.url);
85
86
 
86
87
  this.instance.on(WebSocketStateEnum.OPEN, () => {
@@ -91,7 +92,7 @@ class WebSocketClient {
91
92
 
92
93
  this.instance.on(WebSocketStateEnum.ERROR, (error) => {
93
94
  console.log('[WebSocketClient] error', error);
94
- reject(error);
95
+ reject(null);
95
96
  });
96
97
 
97
98
  this.instance.on(WebSocketStateEnum.CLOSE, () => {