javonet-ruby-sdk 2.5.13 → 2.5.14

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 (205) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/javonet-ruby-sdk/Binaries/Clr/JavonetClrRuntime.dll +0 -0
  4. data/lib/javonet-ruby-sdk/Binaries/Jvm/JavonetJvmRuntime.jar +0 -0
  5. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetActivationService.so +0 -0
  6. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetCppRuntimeNative.so +0 -0
  7. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetGoRuntimeNative.so +0 -0
  8. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetJvmRuntimeNative.so +0 -0
  9. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetNetcoreRuntimeNative.so +0 -0
  10. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetPythonRuntimeNative.so +0 -0
  11. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetRuby278RuntimeNative.so +0 -0
  12. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetRubyRuntimeNative.so +0 -0
  13. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetTcpClient.so +0 -0
  14. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetTcpTlsClient.so +0 -0
  15. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libUtils.so +0 -0
  16. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/version.txt +1 -1
  17. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/NativeUtilsUnitTests.xml +30 -30
  18. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetActivationService.so +0 -0
  19. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetCppRuntimeNative.so +0 -0
  20. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetGoRuntimeNative.so +0 -0
  21. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetJvmRuntimeNative.so +0 -0
  22. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetNetcoreRuntimeNative.so +0 -0
  23. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetNodejs1816RuntimeNative.so +0 -0
  24. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetNodejsRuntimeNative.so +0 -0
  25. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetPerlRuntimeNative.so +0 -0
  26. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetPythonRuntimeNative.so +0 -0
  27. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetRuby278RuntimeNative.so +0 -0
  28. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetRubyRuntimeNative.so +0 -0
  29. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetTcpClient.so +0 -0
  30. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetTcpTlsClient.so +0 -0
  31. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libUtils.so +0 -0
  32. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/openssl3/libJavonetActivationService.so +0 -0
  33. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/openssl3/libJavonetTcpTlsClient.so +0 -0
  34. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/openssl3/libUtils.so +0 -0
  35. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/version.txt +1 -1
  36. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetActivationService.dylib +0 -0
  37. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetCppRuntimeNative.dylib +0 -0
  38. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetGoRuntimeNative.dylib +0 -0
  39. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetJvmRuntimeNative.dylib +0 -0
  40. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetNetcoreRuntimeNative.dylib +0 -0
  41. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetNodejs1816RuntimeNative.dylib +0 -0
  42. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetNodejsRuntimeNative.dylib +0 -0
  43. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetPerlRuntimeNative.dylib +0 -0
  44. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetPythonRuntimeNative.dylib +0 -0
  45. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetRuby278RuntimeNative.dylib +0 -0
  46. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetRubyRuntimeNative.dylib +0 -0
  47. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetTcpClient.dylib +0 -0
  48. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetTcpTlsClient.dylib +0 -0
  49. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libUtils.dylib +0 -0
  50. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/version.txt +1 -1
  51. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetActivationService.dll +0 -0
  52. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetCppRuntimeNative.dll +0 -0
  53. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetGoRuntimeNative.dll +0 -0
  54. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetJvmRuntimeNative.dll +0 -0
  55. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetNetcoreRuntimeNative.dll +0 -0
  56. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetPythonRuntimeNative.dll +0 -0
  57. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetRuby278RuntimeNative.dll +0 -0
  58. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetRubyRuntimeNative.dll +0 -0
  59. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetTcpClient.dll +0 -0
  60. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetTcpTlsClient.dll +0 -0
  61. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/Utils.dll +0 -0
  62. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/version.txt +0 -0
  63. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetActivationService.dll +0 -0
  64. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetClrRuntimeNative.dll +0 -0
  65. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetCppRuntimeNative.dll +0 -0
  66. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetGoRuntimeNative.dll +0 -0
  67. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetJvmRuntimeNative.dll +0 -0
  68. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetNetcoreRuntimeNative.dll +0 -0
  69. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetNodejs1816RuntimeNative.dll +0 -0
  70. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetNodejsRuntimeNative.dll +0 -0
  71. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetPerlRuntimeNative.dll +0 -0
  72. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetPythonRuntimeNative.dll +0 -0
  73. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetRuby278RuntimeNative.dll +0 -0
  74. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetRubyRuntimeNative.dll +0 -0
  75. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetTcpClient.dll +0 -0
  76. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetTcpTlsClient.dll +0 -0
  77. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/Utils.dll +0 -0
  78. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/version.txt +1 -1
  79. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetActivationService.dll +0 -0
  80. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetClrRuntimeNative.dll +0 -0
  81. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetCppRuntimeNative.dll +0 -0
  82. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetGoRuntimeNative.dll +0 -0
  83. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetJvmRuntimeNative.dll +0 -0
  84. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetNetcoreRuntimeNative.dll +0 -0
  85. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetPythonRuntimeNative.dll +0 -0
  86. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetTcpClient.dll +0 -0
  87. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetTcpTlsClient.dll +0 -0
  88. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/Utils.dll +0 -0
  89. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/version.txt +1 -1
  90. data/lib/javonet-ruby-sdk/Binaries/Netcore/Javonet.Netcore.Core.dll +0 -0
  91. data/lib/javonet-ruby-sdk/Binaries/Netcore/Javonet.Netcore.Utils.dll +0 -0
  92. data/lib/javonet-ruby-sdk/Binaries/Nodejs/lib/core/interpreter/Interpreter.js +4 -0
  93. data/lib/javonet-ruby-sdk/Binaries/Nodejs/lib/core/protocol/CommandDeserializer.js +30 -14
  94. data/lib/javonet-ruby-sdk/Binaries/Nodejs/lib/core/protocol/CommandSerializer.js +38 -25
  95. data/lib/javonet-ruby-sdk/Binaries/Nodejs/lib/core/protocol/TypeSerializer.js +1 -1
  96. data/lib/javonet-ruby-sdk/Binaries/Nodejs/lib/core/webSocketClient/WebSocketClient.js +51 -46
  97. data/lib/javonet-ruby-sdk/Binaries/Nodejs/lib/sdk/InvocationContext.js +3 -5
  98. data/lib/javonet-ruby-sdk/Binaries/Nodejs/lib/sdk/RuntimeContext.js +2 -4
  99. data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/Path/Tiny.pm +74 -15
  100. 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
  101. 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
  102. 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
  103. 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
  104. data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Moose/Moose.so +0 -0
  105. 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
  106. 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
  107. 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
  108. data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Want/Want.so +0 -0
  109. 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
  110. data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/perllocal.pod +83 -83
  111. data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Data/UUID/UUID.xs.dll +0 -0
  112. data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/PPI/XS/XS.xs.dll +0 -0
  113. 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
  114. data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Want/Want.xs.dll +0 -0
  115. data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/autobox/autobox.xs.dll +0 -0
  116. data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/perllocal.pod +25 -25
  117. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/__pycache__/__init__.cpython-312.pyc +0 -0
  118. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/delegateCache/__pycache__/DelegatesCache.cpython-312.pyc +0 -0
  119. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/delegateCache/__pycache__/__init__.cpython-312.pyc +0 -0
  120. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/generator/__pycache__/__init__.cpython-312.pyc +0 -0
  121. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/generator/internal/__pycache__/PythonStringBuilder.cpython-312.pyc +0 -0
  122. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/generator/internal/__pycache__/__init__.cpython-312.pyc +0 -0
  123. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/AbstractCommandHandler.cpython-312.pyc +0 -0
  124. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/AbstractHandler.cpython-312.pyc +0 -0
  125. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArrayGetItemHandler.cpython-312.pyc +0 -0
  126. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArrayGetRankHandler.cpython-312.pyc +0 -0
  127. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArrayGetSizeHandler.cpython-312.pyc +0 -0
  128. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArrayHandler.cpython-312.pyc +0 -0
  129. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArraySetItemHandler.cpython-312.pyc +0 -0
  130. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/CastingHandler.cpython-312.pyc +0 -0
  131. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/CreateClassInstanceHandler.cpython-312.pyc +0 -0
  132. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/DestructReferenceHandler.cpython-312.pyc +0 -0
  133. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/EnableNamespaceHandler.cpython-312.pyc +0 -0
  134. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/EnableTypeHandler.cpython-312.pyc +0 -0
  135. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetEnumItemHandler.cpython-312.pyc +0 -0
  136. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetEnumNameHandler.cpython-312.pyc +0 -0
  137. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetEnumValueHandler.cpython-312.pyc +0 -0
  138. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetInstanceFieldHandler.cpython-312.pyc +0 -0
  139. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetInstanceMethodAsDelegateHandler.cpython-312.pyc +0 -0
  140. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetStaticFieldHandler.cpython-312.pyc +0 -0
  141. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetStaticMethodAsDelegateHandler.cpython-312.pyc +0 -0
  142. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetTypeHandler.cpython-312.pyc +0 -0
  143. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/Handler.cpython-312.pyc +0 -0
  144. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/HandlerDictionary.cpython-312.pyc +0 -0
  145. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/InvokeDelegateHandler.cpython-312.pyc +0 -0
  146. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/InvokeGlobalFunctionHandler.cpython-312.pyc +0 -0
  147. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/InvokeInstanceMethodHandler.cpython-312.pyc +0 -0
  148. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/InvokeStaticMethodHandler.cpython-312.pyc +0 -0
  149. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/LoadLibraryHandler.cpython-312.pyc +0 -0
  150. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/PassDelegateHandler.cpython-312.pyc +0 -0
  151. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ResolveInstanceHandler.cpython-312.pyc +0 -0
  152. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/SetInstanceFieldHandler.cpython-312.pyc +0 -0
  153. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/SetStaticFieldHandler.cpython-312.pyc +0 -0
  154. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ValueHandler.cpython-312.pyc +0 -0
  155. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/__init__.cpython-312.pyc +0 -0
  156. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/interpreter/Interpreter.py +1 -2
  157. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/interpreter/__pycache__/Interpreter.cpython-312.pyc +0 -0
  158. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/interpreter/__pycache__/__init__.cpython-312.pyc +0 -0
  159. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/namespaceCache/__pycache__/NamespaceCache.cpython-312.pyc +0 -0
  160. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/namespaceCache/__pycache__/__init__.cpython-312.pyc +0 -0
  161. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/CommandDeserializer.py +24 -10
  162. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/CommandSerializer.py +18 -17
  163. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/__pycache__/CommandDeserializer.cpython-312.pyc +0 -0
  164. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/__pycache__/CommandSerializer.cpython-312.pyc +0 -0
  165. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/__pycache__/TypeDeserializer.cpython-312.pyc +0 -0
  166. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/__pycache__/TypeSerializer.cpython-312.pyc +0 -0
  167. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/__pycache__/__init__.cpython-312.pyc +0 -0
  168. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/receiver/Receiver.py +1 -0
  169. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/receiver/__pycache__/Receiver.cpython-312.pyc +0 -0
  170. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/receiver/__pycache__/__init__.cpython-312.pyc +0 -0
  171. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/referenceCache/__pycache__/ReferencesCache.cpython-312.pyc +0 -0
  172. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/referenceCache/__pycache__/__init__.cpython-312.pyc +0 -0
  173. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/typeCache/__pycache__/TypeCache.cpython-312.pyc +0 -0
  174. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/typeCache/__pycache__/__init__.cpython-312.pyc +0 -0
  175. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/Command.py +1 -1
  176. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/Command.cpython-312.pyc +0 -0
  177. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/CommandType.cpython-312.pyc +0 -0
  178. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/ConnectionType.cpython-312.pyc +0 -0
  179. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/ExceptionType.cpython-312.pyc +0 -0
  180. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/RuntimeLogger.cpython-312.pyc +0 -0
  181. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/RuntimeName.cpython-312.pyc +0 -0
  182. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/StringEncodingMode.cpython-312.pyc +0 -0
  183. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/Type.cpython-312.pyc +0 -0
  184. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/UtilsConst.cpython-312.pyc +0 -0
  185. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/__init__.cpython-312.pyc +0 -0
  186. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/connectionData/__pycache__/IConnectionData.cpython-312.pyc +0 -0
  187. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/connectionData/__pycache__/InMemoryConnectionData.cpython-312.pyc +0 -0
  188. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/connectionData/__pycache__/__init__.cpython-312.pyc +0 -0
  189. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/exception/ExceptionThrower.py +43 -39
  190. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/exception/__pycache__/ExceptionSerializer.cpython-312.pyc +0 -0
  191. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/exception/__pycache__/__init__.cpython-312.pyc +0 -0
  192. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/messageHelper/__pycache__/MessageHelper.cpython-312.pyc +0 -0
  193. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/messageHelper/__pycache__/__init__.cpython-312.pyc +0 -0
  194. data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/protocol/command_deserializer.rb +40 -33
  195. data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/protocol/command_serializer.rb +12 -19
  196. data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/protocol/command_deserializer.rb +40 -33
  197. data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/protocol/command_serializer.rb +12 -19
  198. data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/protocol/command_deserializer.rb +40 -33
  199. data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/protocol/command_serializer.rb +12 -19
  200. data/lib/javonet-ruby-sdk/Binaries/version.txt +1 -1
  201. data/lib/javonet-ruby-sdk/core/protocol/command_deserializer.rb +40 -33
  202. data/lib/javonet-ruby-sdk/core/protocol/command_serializer.rb +12 -19
  203. data/lib/javonet-ruby-sdk/sdk/invocation_context.rb +2 -4
  204. data/lib/javonet-ruby-sdk/sdk/runtime_context.rb +2 -5
  205. metadata +2 -2
@@ -1,4 +1,4 @@
1
- =head2 Wed Mar 12 20:11:54 2025: C<Module> L<Test::Fatal|Test::Fatal>
1
+ =head2 Mon Mar 24 05:37:41 2025: C<Module> L<Attribute::Util|Attribute::Util>
2
2
 
3
3
  =over 4
4
4
 
@@ -12,7 +12,7 @@ C<LINKTYPE: dynamic>
12
12
 
13
13
  =item *
14
14
 
15
- C<VERSION: 0.017>
15
+ C<VERSION: 1.07>
16
16
 
17
17
  =item *
18
18
 
@@ -20,7 +20,7 @@ C<EXE_FILES: >
20
20
 
21
21
  =back
22
22
 
23
- =head2 Wed Mar 12 20:12:18 2025: C<Module> L<autobox|autobox>
23
+ =head2 Mon Mar 24 05:37:45 2025: C<Module> L<Test::Fatal|Test::Fatal>
24
24
 
25
25
  =over 4
26
26
 
@@ -34,7 +34,7 @@ C<LINKTYPE: dynamic>
34
34
 
35
35
  =item *
36
36
 
37
- C<VERSION: v3.0.2>
37
+ C<VERSION: 0.017>
38
38
 
39
39
  =item *
40
40
 
@@ -42,7 +42,7 @@ C<EXE_FILES: >
42
42
 
43
43
  =back
44
44
 
45
- =head2 Wed Mar 12 20:12:25 2025: C<Module> L<Safe::Isa|Safe::Isa>
45
+ =head2 Mon Mar 24 05:38:11 2025: C<Module> L<autobox|autobox>
46
46
 
47
47
  =over 4
48
48
 
@@ -56,7 +56,7 @@ C<LINKTYPE: dynamic>
56
56
 
57
57
  =item *
58
58
 
59
- C<VERSION: 1.000010>
59
+ C<VERSION: v3.0.2>
60
60
 
61
61
  =item *
62
62
 
@@ -64,7 +64,7 @@ C<EXE_FILES: >
64
64
 
65
65
  =back
66
66
 
67
- =head2 Wed Mar 12 20:12:35 2025: C<Module> L<YAML::PP|YAML::PP>
67
+ =head2 Mon Mar 24 05:38:14 2025: C<Module> L<Data::Cmp|Data::Cmp>
68
68
 
69
69
  =over 4
70
70
 
@@ -78,15 +78,15 @@ C<LINKTYPE: dynamic>
78
78
 
79
79
  =item *
80
80
 
81
- C<VERSION: v0.39.0>
81
+ C<VERSION: 0.010>
82
82
 
83
83
  =item *
84
84
 
85
- C<EXE_FILES: bin/yamlpp-events bin/yamlpp-highlight bin/yamlpp-load bin/yamlpp-load-dump bin/yamlpp-parse-emit>
85
+ C<EXE_FILES: >
86
86
 
87
87
  =back
88
88
 
89
- =head2 Wed Mar 12 20:12:40 2025: C<Module> L<PPI|PPI>
89
+ =head2 Mon Mar 24 05:38:21 2025: C<Module> L<Data::UUID|Data::UUID>
90
90
 
91
91
  =over 4
92
92
 
@@ -100,7 +100,7 @@ C<LINKTYPE: dynamic>
100
100
 
101
101
  =item *
102
102
 
103
- C<VERSION: 1.281>
103
+ C<VERSION: 1.227>
104
104
 
105
105
  =item *
106
106
 
@@ -108,7 +108,7 @@ C<EXE_FILES: >
108
108
 
109
109
  =back
110
110
 
111
- =head2 Wed Mar 12 20:12:46 2025: C<Module> L<Want|Want>
111
+ =head2 Mon Mar 24 05:38:27 2025: C<Module> L<Want|Want>
112
112
 
113
113
  =over 4
114
114
 
@@ -130,7 +130,7 @@ C<EXE_FILES: >
130
130
 
131
131
  =back
132
132
 
133
- =head2 Wed Mar 12 20:12:53 2025: C<Module> L<PPI::XS|PPI::XS>
133
+ =head2 Mon Mar 24 05:38:33 2025: C<Module> L<Safe::Isa|Safe::Isa>
134
134
 
135
135
  =over 4
136
136
 
@@ -144,7 +144,7 @@ C<LINKTYPE: dynamic>
144
144
 
145
145
  =item *
146
146
 
147
- C<VERSION: 0.910>
147
+ C<VERSION: 1.000010>
148
148
 
149
149
  =item *
150
150
 
@@ -152,7 +152,7 @@ C<EXE_FILES: >
152
152
 
153
153
  =back
154
154
 
155
- =head2 Wed Mar 12 20:12:56 2025: C<Module> L<Nice::Try|Nice::Try>
155
+ =head2 Mon Mar 24 05:38:42 2025: C<Module> L<YAML::PP|YAML::PP>
156
156
 
157
157
  =over 4
158
158
 
@@ -166,15 +166,15 @@ C<LINKTYPE: dynamic>
166
166
 
167
167
  =item *
168
168
 
169
- C<VERSION: v1.3.15>
169
+ C<VERSION: v0.39.0>
170
170
 
171
171
  =item *
172
172
 
173
- C<EXE_FILES: >
173
+ C<EXE_FILES: bin/yamlpp-events bin/yamlpp-highlight bin/yamlpp-load bin/yamlpp-load-dump bin/yamlpp-parse-emit>
174
174
 
175
175
  =back
176
176
 
177
- =head2 Wed Mar 12 20:13:04 2025: C<Module> L<Data::UUID|Data::UUID>
177
+ =head2 Mon Mar 24 05:38:46 2025: C<Module> L<PPI|PPI>
178
178
 
179
179
  =over 4
180
180
 
@@ -188,7 +188,7 @@ C<LINKTYPE: dynamic>
188
188
 
189
189
  =item *
190
190
 
191
- C<VERSION: 1.227>
191
+ C<VERSION: 1.281>
192
192
 
193
193
  =item *
194
194
 
@@ -196,7 +196,7 @@ C<EXE_FILES: >
196
196
 
197
197
  =back
198
198
 
199
- =head2 Wed Mar 12 20:13:10 2025: C<Module> L<Scalar::Util::Numeric|Scalar::Util::Numeric>
199
+ =head2 Mon Mar 24 05:38:50 2025: C<Module> L<PPI::XS|PPI::XS>
200
200
 
201
201
  =over 4
202
202
 
@@ -210,7 +210,7 @@ C<LINKTYPE: dynamic>
210
210
 
211
211
  =item *
212
212
 
213
- C<VERSION: 0.40>
213
+ C<VERSION: 0.910>
214
214
 
215
215
  =item *
216
216
 
@@ -218,7 +218,7 @@ C<EXE_FILES: >
218
218
 
219
219
  =back
220
220
 
221
- =head2 Wed Mar 12 20:13:14 2025: C<Module> L<Data::Cmp|Data::Cmp>
221
+ =head2 Mon Mar 24 05:38:53 2025: C<Module> L<Nice::Try|Nice::Try>
222
222
 
223
223
  =over 4
224
224
 
@@ -232,7 +232,7 @@ C<LINKTYPE: dynamic>
232
232
 
233
233
  =item *
234
234
 
235
- C<VERSION: 0.010>
235
+ C<VERSION: v1.3.15>
236
236
 
237
237
  =item *
238
238
 
@@ -240,7 +240,7 @@ C<EXE_FILES: >
240
240
 
241
241
  =back
242
242
 
243
- =head2 Wed Mar 12 20:13:18 2025: C<Module> L<Attribute::Util|Attribute::Util>
243
+ =head2 Mon Mar 24 05:38:58 2025: C<Module> L<Scalar::Util::Numeric|Scalar::Util::Numeric>
244
244
 
245
245
  =over 4
246
246
 
@@ -254,7 +254,7 @@ C<LINKTYPE: dynamic>
254
254
 
255
255
  =item *
256
256
 
257
- C<VERSION: 1.07>
257
+ C<VERSION: 0.40>
258
258
 
259
259
  =item *
260
260
 
@@ -11,7 +11,6 @@ handler = Handler()
11
11
 
12
12
 
13
13
  class Interpreter:
14
- # Debug mode flag similar to C# implementation
15
14
  debug_mode = os.environ.get("JAVONET_DEBUG") == "TRUE"
16
15
 
17
16
  def execute(self, command, connection_data: IConnectionData):
@@ -45,7 +44,7 @@ class Interpreter:
45
44
 
46
45
  if self.debug_mode:
47
46
  print("Received command: " + str(received_command))
48
- MessageHelper.send_message_to_app_insights_sync("ReceivedCommand", str(received_command))
47
+ MessageHelper.send_message_to_app_insights("ReceivedCommand", str(received_command))
49
48
 
50
49
  response = handler.handle_command(received_command)
51
50
 
@@ -56,16 +56,30 @@ class CommandDeserializer:
56
56
  runtime = self.buffer[p + 5]
57
57
  command_type = self.buffer[p + 6]
58
58
  self.position += 7
59
- return_command = Command(RuntimeName(runtime), CommandType(command_type), [])
60
- return self.read_command_recursively(number_of_elements_in_payload, return_command)
61
-
62
- def read_command_recursively(self, number_of_elements_in_payload_left, cmd):
63
- if number_of_elements_in_payload_left == 0:
64
- return cmd
65
- else:
66
- p = self.position
67
- cmd = cmd.add_arg_to_payload(self.read_object(self.buffer[p]))
68
- return self.read_command_recursively(number_of_elements_in_payload_left - 1, cmd)
59
+
60
+ payload = [
61
+ self.read_object(self.buffer[self.position])
62
+ for _ in range(number_of_elements_in_payload)
63
+ ]
64
+ return Command(RuntimeName(runtime), CommandType(command_type), payload)
65
+
66
+ # old implementation
67
+ # def read_command(self):
68
+ # p = self.position
69
+ # number_of_elements_in_payload = TypeDeserializer.deserialize_int(self.buffer[p + 1: p + 5])
70
+ # runtime = self.buffer[p + 5]
71
+ # command_type = self.buffer[p + 6]
72
+ # self.position += 7
73
+ # return_command = Command(RuntimeName(runtime), CommandType(command_type), [])
74
+ # return self.read_command_recursively(number_of_elements_in_payload, return_command)
75
+ #
76
+ # def read_command_recursively(self, number_of_elements_in_payload_left, cmd):
77
+ # if number_of_elements_in_payload_left == 0:
78
+ # return cmd
79
+ # else:
80
+ # p = self.position
81
+ # cmd = cmd.add_arg_to_payload(self.read_object(self.buffer[p]))
82
+ # return self.read_command_recursively(number_of_elements_in_payload_left - 1, cmd)
69
83
 
70
84
  def read_string(self):
71
85
  p = self.position
@@ -1,28 +1,29 @@
1
+ import io
1
2
  from javonet.core.protocol.TypeSerializer import TypeSerializer
2
3
  from javonet.utils.Command import Command
3
4
  from javonet.utils.RuntimeName import RuntimeName
4
5
  from javonet.utils.connectionData.IConnectionData import IConnectionData
5
6
 
6
-
7
7
  class CommandSerializer:
8
- buffer = []
9
-
10
8
  def serialize(self, root_command: Command, connection_data: IConnectionData, runtime_version=0):
11
- self.insert_into_buffer([root_command.runtime_name.value, runtime_version])
12
- self.insert_into_buffer(connection_data.serialize_connection_data())
13
- self.insert_into_buffer([RuntimeName.python.value, root_command.command_type.value])
14
- self.serialize_recursively(root_command)
15
- return self.buffer
9
+ ms = io.BytesIO()
10
+
11
+ ms.write(bytes([root_command.runtime_name.value, runtime_version]))
12
+
13
+ if connection_data is not None:
14
+ ms.write(bytes(connection_data.serialize_connection_data()))
15
+ else:
16
+ ms.write(bytes([0, 0, 0, 0, 0, 0, 0]))
16
17
 
17
- def serialize_recursively(self, command):
18
+ ms.write(bytes([RuntimeName.python.value, root_command.command_type.value]))
19
+
20
+ self.serialize_recursively(root_command, ms)
21
+ return ms.getvalue()
22
+
23
+ def serialize_recursively(self, command: Command, ms: io.BytesIO):
18
24
  for item in command.get_payload():
19
25
  if isinstance(item, Command):
20
- self.insert_into_buffer(TypeSerializer.serialize_command(item))
21
- self.serialize_recursively(item)
26
+ ms.write(bytes(TypeSerializer.serialize_command(item)))
27
+ self.serialize_recursively(item, ms)
22
28
  else:
23
- self.insert_into_buffer(TypeSerializer.serialize_primitive(item))
24
-
25
- return
26
-
27
- def insert_into_buffer(self, arguments):
28
- self.buffer = self.buffer + arguments
29
+ ms.write(bytes(TypeSerializer.serialize_primitive(item)))
@@ -22,6 +22,7 @@ class Receiver:
22
22
  exception_string = "".join(traceback.format_exception(exc_type, exc_value, exc_traceback))
23
23
  # Send to App Insights
24
24
  MessageHelper.send_message_to_app_insights_sync("ReceiverUnhandledException", exception_string)
25
+ print(exception_string)
25
26
  # Call the original handler
26
27
  self.original_excepthook(exc_type, exc_value, exc_traceback)
27
28
 
@@ -69,7 +69,7 @@ class Command:
69
69
  def __str__(self):
70
70
  try:
71
71
  result = "RuntimeName "
72
- result += str(self.runtime_name)
72
+ result += str(self.runtime_name).capitalize()
73
73
  result += " "
74
74
  result += "CommandType "
75
75
  result += str(self.command_type)
@@ -9,45 +9,49 @@ class ExceptionThrower:
9
9
 
10
10
  @staticmethod
11
11
  def throw_exception(command_exception: Command):
12
- stack_classes, stack_methods, stack_lines, stack_files = "", "", "", ""
13
- exception_message = "Python Exception with empty message"
14
- exception_name = "Python exception"
15
- javonet_stack_command = ""
16
- traceback_str = ""
17
-
18
- exception_payload_len = len(command_exception.payload)
19
- if exception_payload_len >=8:
20
- stack_classes, stack_methods, stack_lines, stack_files = ExceptionThrower.get_local_stack_trace(
21
- command_exception.get_payload()[4],
22
- command_exception.get_payload()[5],
23
- command_exception.get_payload()[6],
24
- command_exception.get_payload()[7])
25
-
26
- if exception_payload_len >= 4:
27
- exception_message = command_exception.get_payload()[3]
28
-
29
- if exception_payload_len >= 3:
30
- exception_name = command_exception.get_payload()[2]
31
-
32
- if exception_payload_len >= 2:
33
- javonet_stack_command = command_exception.get_payload()[1]
34
-
35
- if exception_payload_len >= 1:
36
- original_exception = ExceptionType.to_exception(command_exception.get_payload()[0])
37
-
38
-
39
- for i in range(len(stack_classes)):
40
- if i < len(stack_files) and stack_files[i]:
41
- traceback_str += "File \"{}\"".format(stack_files[i])
42
- if i < len(stack_lines) and stack_lines[i]:
43
- traceback_str += ", line {}".format(stack_lines[i])
44
- if i < len(stack_methods) and stack_methods[i]:
45
- traceback_str += ", in {}".format(stack_methods[i])
46
- traceback_str += "\n"
47
- if i < len(stack_classes) and stack_classes[i]:
48
- traceback_str += " {}\n".format(stack_classes[i])
49
-
50
- return ExceptionThrower.raise_exception(original_exception, exception_message, traceback_str)
12
+ try:
13
+ stack_classes, stack_methods, stack_lines, stack_files = "", "", "", ""
14
+ exception_message = "Python Exception with empty message"
15
+ exception_name = "Python exception"
16
+ javonet_stack_command = ""
17
+ traceback_str = ""
18
+ original_exception = ""
19
+
20
+ exception_payload_len = len(command_exception.payload)
21
+ if exception_payload_len >=8:
22
+ stack_classes, stack_methods, stack_lines, stack_files = ExceptionThrower.get_local_stack_trace(
23
+ command_exception.get_payload()[4],
24
+ command_exception.get_payload()[5],
25
+ command_exception.get_payload()[6],
26
+ command_exception.get_payload()[7])
27
+
28
+ if exception_payload_len >= 4:
29
+ exception_message = command_exception.get_payload()[3]
30
+
31
+ if exception_payload_len >= 3:
32
+ exception_name = command_exception.get_payload()[2]
33
+
34
+ if exception_payload_len >= 2:
35
+ javonet_stack_command = command_exception.get_payload()[1]
36
+
37
+ if exception_payload_len >= 1:
38
+ original_exception = ExceptionType.to_exception(command_exception.get_payload()[0])
39
+
40
+
41
+ for i in range(len(stack_classes)):
42
+ if i < len(stack_files) and stack_files[i]:
43
+ traceback_str += "File \"{}\"".format(stack_files[i])
44
+ if i < len(stack_lines) and stack_lines[i]:
45
+ traceback_str += ", line {}".format(stack_lines[i])
46
+ if i < len(stack_methods) and stack_methods[i]:
47
+ traceback_str += ", in {}".format(stack_methods[i])
48
+ traceback_str += "\n"
49
+ if i < len(stack_classes) and stack_classes[i]:
50
+ traceback_str += " {}\n".format(stack_classes[i])
51
+
52
+ return ExceptionThrower.raise_exception(original_exception, exception_message, traceback_str)
53
+ except Exception as e:
54
+ return JavonetException(str(e), "Error while processing exception: " + str(command_exception), "")
51
55
 
52
56
  @staticmethod
53
57
  def raise_exception(original_exception, exception_message, traceback_str):