javonet-ruby-sdk 2.4.5 → 2.4.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (447) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/javonet-ruby-sdk/Binaries/Clr/Windows/X64/Javonet.Clr.Utils.dll +0 -0
  4. data/lib/javonet-ruby-sdk/Binaries/Clr/Windows/X64/JavonetClrRuntime.dll +0 -0
  5. data/lib/javonet-ruby-sdk/Binaries/Jvm/Linux/X64/JavonetJvmRuntime.jar +0 -0
  6. data/lib/javonet-ruby-sdk/Binaries/Jvm/MacOs/X64/JavonetJvmRuntime.jar +0 -0
  7. data/lib/javonet-ruby-sdk/Binaries/Jvm/Windows/X64/JavonetJvmRuntime.jar +0 -0
  8. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetActivationService.so +0 -0
  9. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetCppRuntimeNative.so +0 -0
  10. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetGoRuntimeNative.so +0 -0
  11. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetJvmRuntimeNative.so +0 -0
  12. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetNetcoreRuntimeNative.so +0 -0
  13. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetNodejs1816RuntimeNative.so +0 -0
  14. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetNodejsRuntimeNative.so +0 -0
  15. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetPerlRuntimeNative.so +0 -0
  16. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetPythonRuntimeNative.so +0 -0
  17. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetRubyRuntimeNative.so +0 -0
  18. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetTcpClient.so +0 -0
  19. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetTcpTlsClient.so +0 -0
  20. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libUtils.so +0 -0
  21. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/openssl3/libJavonetActivationService.so +0 -0
  22. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/openssl3/libJavonetTcpTlsClient.so +0 -0
  23. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/openssl3/libUtils.so +0 -0
  24. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/version.txt +1 -1
  25. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetActivationService.dylib +0 -0
  26. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetCppRuntimeNative.dylib +0 -0
  27. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetGoRuntimeNative.dylib +0 -0
  28. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetJvmRuntimeNative.dylib +0 -0
  29. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetNetcoreRuntimeNative.dylib +0 -0
  30. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetNodejs1816RuntimeNative.dylib +0 -0
  31. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetNodejsRuntimeNative.dylib +0 -0
  32. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetPerlRuntimeNative.dylib +0 -0
  33. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetPythonRuntimeNative.dylib +0 -0
  34. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetRubyRuntimeNative.dylib +0 -0
  35. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetTcpClient.dylib +0 -0
  36. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetTcpTlsClient.dylib +0 -0
  37. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libUtils.dylib +0 -0
  38. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/version.txt +1 -1
  39. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetActivationService.dll +0 -0
  40. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetClrRuntimeNative.dll +0 -0
  41. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetCppRuntimeNative.dll +0 -0
  42. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetGoRuntimeNative.dll +0 -0
  43. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetJvmRuntimeNative.dll +0 -0
  44. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetNetcoreRuntimeNative.dll +0 -0
  45. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetNodejs1816RuntimeNative.dll +0 -0
  46. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetNodejsRuntimeNative.dll +0 -0
  47. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetPerlRuntimeNative.dll +0 -0
  48. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetPythonRuntimeNative.dll +0 -0
  49. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetRubyRuntimeNative.dll +0 -0
  50. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetTcpClient.dll +0 -0
  51. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetTcpTlsClient.dll +0 -0
  52. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/Utils.dll +0 -0
  53. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/version.txt +1 -1
  54. data/lib/javonet-ruby-sdk/Binaries/Netcore/Linux/X64/Javonet.Netcore.Core.dll +0 -0
  55. data/lib/javonet-ruby-sdk/Binaries/Netcore/Linux/X64/Javonet.Netcore.Utils.dll +0 -0
  56. data/lib/javonet-ruby-sdk/Binaries/Netcore/MacOs/X64/Javonet.Netcore.Core.dll +0 -0
  57. data/lib/javonet-ruby-sdk/Binaries/Netcore/MacOs/X64/Javonet.Netcore.Utils.dll +0 -0
  58. data/lib/javonet-ruby-sdk/Binaries/Netcore/Windows/X64/Javonet.Netcore.Core.dll +0 -0
  59. data/lib/javonet-ruby-sdk/Binaries/Netcore/Windows/X64/Javonet.Netcore.Utils.dll +0 -0
  60. data/lib/javonet-ruby-sdk/Binaries/Nodejs/Linux/X64/core/handler/DestructReferenceHandler.js +1 -1
  61. data/lib/javonet-ruby-sdk/Binaries/Nodejs/Linux/X64/core/handler/EnableNamespaceHandler.js +37 -0
  62. data/lib/javonet-ruby-sdk/Binaries/Nodejs/Linux/X64/core/handler/EnableTypeHandler.js +37 -0
  63. data/lib/javonet-ruby-sdk/Binaries/Nodejs/Linux/X64/core/handler/GetTypeHandler.js +21 -5
  64. data/lib/javonet-ruby-sdk/Binaries/Nodejs/Linux/X64/core/handler/Handler.js +10 -7
  65. data/lib/javonet-ruby-sdk/Binaries/Nodejs/Linux/X64/core/handler/LoadLibraryHandler.js +11 -2
  66. data/lib/javonet-ruby-sdk/Binaries/Nodejs/Linux/X64/core/handler/ResolveReferenceHandler.js +1 -1
  67. data/lib/javonet-ruby-sdk/Binaries/Nodejs/Linux/X64/core/namespaceCache/NamespaceCache.js +39 -0
  68. data/lib/javonet-ruby-sdk/Binaries/Nodejs/Linux/X64/core/protocol/TypeSerializer.js +1 -1
  69. data/lib/javonet-ruby-sdk/Binaries/Nodejs/Linux/X64/core/receiver/Receiver.js +7 -4
  70. data/lib/javonet-ruby-sdk/Binaries/Nodejs/Linux/X64/core/receiver/ReceiverNative.js +2 -0
  71. data/lib/javonet-ruby-sdk/Binaries/Nodejs/Linux/X64/core/typeCache/TypeCache.js +39 -0
  72. data/lib/javonet-ruby-sdk/Binaries/Nodejs/Linux/X64/utils/CommandType.js +3 -1
  73. data/lib/javonet-ruby-sdk/Binaries/Nodejs/Linux/X64/{core → utils}/exception/ExceptionSerializer.js +4 -4
  74. data/lib/javonet-ruby-sdk/Binaries/Nodejs/Linux/X64/{core → utils}/exception/ExceptionThrower.js +1 -1
  75. data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/DestructReferenceHandler.js +1 -1
  76. data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/EnableNamespaceHandler.js +37 -0
  77. data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/EnableTypeHandler.js +37 -0
  78. data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/GetTypeHandler.js +21 -5
  79. data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/Handler.js +10 -7
  80. data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/LoadLibraryHandler.js +11 -2
  81. data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/ResolveReferenceHandler.js +1 -1
  82. data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/namespaceCache/NamespaceCache.js +39 -0
  83. data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/protocol/TypeSerializer.js +1 -1
  84. data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/receiver/Receiver.js +7 -4
  85. data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/receiver/ReceiverNative.js +2 -0
  86. data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/typeCache/TypeCache.js +39 -0
  87. data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/utils/CommandType.js +3 -1
  88. data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/{core → utils}/exception/ExceptionSerializer.js +4 -4
  89. data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/{core → utils}/exception/ExceptionThrower.js +1 -1
  90. data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/DestructReferenceHandler.js +1 -1
  91. data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/EnableNamespaceHandler.js +37 -0
  92. data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/EnableTypeHandler.js +37 -0
  93. data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/GetTypeHandler.js +21 -5
  94. data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/Handler.js +10 -7
  95. data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/LoadLibraryHandler.js +11 -2
  96. data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/ResolveReferenceHandler.js +1 -1
  97. data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/namespaceCache/NamespaceCache.js +39 -0
  98. data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/protocol/TypeSerializer.js +1 -1
  99. data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/receiver/Receiver.js +7 -4
  100. data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/receiver/ReceiverNative.js +2 -0
  101. data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/typeCache/TypeCache.js +39 -0
  102. data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/utils/CommandType.js +3 -1
  103. data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/{core → utils}/exception/ExceptionSerializer.js +4 -4
  104. data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/{core → utils}/exception/ExceptionThrower.js +1 -1
  105. 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
  106. 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
  107. 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
  108. 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
  109. data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Moose/Moose.so +0 -0
  110. 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
  111. 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
  112. 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
  113. data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Want/Want.so +0 -0
  114. 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
  115. data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/perllocal.pod +92 -92
  116. data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Core/Exception/SdkExceptionHelper.pm +93 -0
  117. data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Javonet.pm +33 -10
  118. data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/perllocal.pod +94 -94
  119. data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Exception/SdkExceptionHelper.pm +93 -0
  120. data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Javonet.pm +33 -10
  121. data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Data/UUID/UUID.xs.dll +0 -0
  122. data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/PPI/XS/XS.xs.dll +0 -0
  123. 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
  124. data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Want/Want.xs.dll +0 -0
  125. data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/autobox/autobox.xs.dll +0 -0
  126. data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/perllocal.pod +18 -18
  127. data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Core/Exception/SdkExceptionHelper.pm +93 -0
  128. data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Javonet.pm +33 -10
  129. data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/handler/{CommandHandler/ArrayGetItemHandler.py → ArrayGetItemHandler.py} +1 -1
  130. data/lib/javonet-ruby-sdk/Binaries/Python/{MacOs/X64/javonet/core/handler/CommandHandler → Linux/X64/javonet/core/handler}/ArrayGetRankHandler.py +1 -1
  131. data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/handler/{CommandHandler/ArrayGetSizeHandler.py → ArrayGetSizeHandler.py} +1 -1
  132. data/lib/javonet-ruby-sdk/Binaries/Python/{MacOs/X64/javonet/core/handler/CommandHandler → Linux/X64/javonet/core/handler}/ArrayHandler.py +1 -1
  133. data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/handler/{CommandHandler/ArraySetItemHandler.py → ArraySetItemHandler.py} +1 -1
  134. data/lib/javonet-ruby-sdk/Binaries/Python/{MacOs/X64/javonet/core/handler/CommandHandler → Linux/X64/javonet/core/handler}/CastingHandler.py +1 -1
  135. data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/handler/{CommandHandler/CreateClassInstanceHandler.py → CreateClassInstanceHandler.py} +1 -1
  136. data/lib/javonet-ruby-sdk/Binaries/Python/{MacOs/X64/javonet/core/handler/CommandHandler → Linux/X64/javonet/core/handler}/DestructReferenceHandler.py +2 -2
  137. data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/handler/EnableNamespaceHandler.py +28 -0
  138. data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/handler/EnableTypeHandler.py +28 -0
  139. data/lib/javonet-ruby-sdk/Binaries/Python/{MacOs/X64/javonet/core/handler/CommandHandler → Linux/X64/javonet/core/handler}/GetEnumItemHandler.py +1 -1
  140. data/lib/javonet-ruby-sdk/Binaries/Python/{MacOs/X64/javonet/core/handler/CommandHandler → Linux/X64/javonet/core/handler}/GetEnumNameHandler.py +1 -1
  141. data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/handler/{CommandHandler/GetEnumValueHandler.py → GetEnumValueHandler.py} +1 -1
  142. data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/handler/{CommandHandler/GetInstanceFieldHandler.py → GetInstanceFieldHandler.py} +1 -1
  143. data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/handler/{CommandHandler/GetStaticFieldHandler.py → GetStaticFieldHandler.py} +1 -1
  144. data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/handler/GetTypeHandler.py +56 -0
  145. data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/handler/Handler.py +26 -24
  146. data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet/core/handler/CommandHandler → Linux/X64/javonet/core/handler}/InvokeInstanceMethodHandler.py +31 -31
  147. data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/handler/{CommandHandler/InvokeStaticMethodHandler.py → InvokeStaticMethodHandler.py} +1 -1
  148. data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/handler/{CommandHandler/LoadLibraryHandler.py → LoadLibraryHandler.py} +1 -1
  149. data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/handler/{CommandHandler/ResolveInstanceHandler.py → ResolveInstanceHandler.py} +2 -2
  150. data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/handler/{CommandHandler/SetInstanceFieldHandler.py → SetInstanceFieldHandler.py} +1 -1
  151. data/lib/javonet-ruby-sdk/Binaries/Python/{MacOs/X64/javonet/core/handler/CommandHandler → Linux/X64/javonet/core/handler}/SetStaticFieldHandler.py +1 -1
  152. data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/handler/{CommandHandler/ValueHandler.py → ValueHandler.py} +1 -1
  153. data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/namespaceCache/NamespaceCache.py +44 -0
  154. data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/protocol/CommandSerializer.py +0 -3
  155. data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/receiver/Receiver.py +4 -1
  156. data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/referenceCache/ReferencesCache.py +38 -0
  157. data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/typeCache/TypeCache.py +44 -0
  158. data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/utils/CommandType.py +2 -0
  159. data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/{CommandHandler/ArrayGetItemHandler.py → ArrayGetItemHandler.py} +1 -1
  160. data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet/core/handler/CommandHandler → MacOs/X64/javonet/core/handler}/ArrayGetRankHandler.py +1 -1
  161. data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/{CommandHandler/ArrayGetSizeHandler.py → ArrayGetSizeHandler.py} +1 -1
  162. data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet/core/handler/CommandHandler → MacOs/X64/javonet/core/handler}/ArrayHandler.py +1 -1
  163. data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/{CommandHandler/ArraySetItemHandler.py → ArraySetItemHandler.py} +1 -1
  164. data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet/core/handler/CommandHandler → MacOs/X64/javonet/core/handler}/CastingHandler.py +1 -1
  165. data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/{CommandHandler/CreateClassInstanceHandler.py → CreateClassInstanceHandler.py} +1 -1
  166. data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet/core/handler/CommandHandler → MacOs/X64/javonet/core/handler}/DestructReferenceHandler.py +2 -2
  167. data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/EnableNamespaceHandler.py +28 -0
  168. data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/EnableTypeHandler.py +28 -0
  169. data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet/core/handler/CommandHandler → MacOs/X64/javonet/core/handler}/GetEnumItemHandler.py +1 -1
  170. data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet/core/handler/CommandHandler → MacOs/X64/javonet/core/handler}/GetEnumNameHandler.py +1 -1
  171. data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/{CommandHandler/GetEnumValueHandler.py → GetEnumValueHandler.py} +1 -1
  172. data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/{CommandHandler/GetInstanceFieldHandler.py → GetInstanceFieldHandler.py} +1 -1
  173. data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/{CommandHandler/GetStaticFieldHandler.py → GetStaticFieldHandler.py} +1 -1
  174. data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/GetTypeHandler.py +56 -0
  175. data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/Handler.py +26 -24
  176. data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/{CommandHandler/InvokeInstanceMethodHandler.py → InvokeInstanceMethodHandler.py} +5 -5
  177. data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/{CommandHandler/InvokeStaticMethodHandler.py → InvokeStaticMethodHandler.py} +1 -1
  178. data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/{CommandHandler/LoadLibraryHandler.py → LoadLibraryHandler.py} +1 -1
  179. data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/{CommandHandler/ResolveInstanceHandler.py → ResolveInstanceHandler.py} +2 -2
  180. data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/{CommandHandler/SetInstanceFieldHandler.py → SetInstanceFieldHandler.py} +1 -1
  181. data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet/core/handler/CommandHandler → MacOs/X64/javonet/core/handler}/SetStaticFieldHandler.py +1 -1
  182. data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/{CommandHandler/ValueHandler.py → ValueHandler.py} +1 -1
  183. data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/namespaceCache/NamespaceCache.py +44 -0
  184. data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/namespaceCache/__init__.py +0 -0
  185. data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/protocol/CommandSerializer.py +0 -3
  186. data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/receiver/Receiver.py +4 -1
  187. data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/referenceCache/ReferencesCache.py +38 -0
  188. data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/referenceCache/__init__.py +0 -0
  189. data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/typeCache/TypeCache.py +44 -0
  190. data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/typeCache/__init__.py +0 -0
  191. data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/utils/CommandType.py +2 -0
  192. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/__pycache__/__init__.cpython-311.pyc +0 -0
  193. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/__pycache__/__init__.cpython-311.pyc +0 -0
  194. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/__pycache__/PythonStringBuilder.cpython-311.pyc +0 -0
  195. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/__pycache__/__init__.cpython-311.pyc +0 -0
  196. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/ArrayGetItemHandler.py → ArrayGetItemHandler.py} +1 -1
  197. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/ArrayGetRankHandler.py → ArrayGetRankHandler.py} +1 -1
  198. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/ArrayGetSizeHandler.py → ArrayGetSizeHandler.py} +1 -1
  199. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/ArrayHandler.py → ArrayHandler.py} +1 -1
  200. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/ArraySetItemHandler.py → ArraySetItemHandler.py} +1 -1
  201. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/CastingHandler.py → CastingHandler.py} +1 -1
  202. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/CreateClassInstanceHandler.py → CreateClassInstanceHandler.py} +1 -1
  203. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/DestructReferenceHandler.py → DestructReferenceHandler.py} +2 -2
  204. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/EnableNamespaceHandler.py +28 -0
  205. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/EnableTypeHandler.py +28 -0
  206. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/GetEnumItemHandler.py → GetEnumItemHandler.py} +1 -1
  207. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/GetEnumNameHandler.py → GetEnumNameHandler.py} +1 -1
  208. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/GetEnumValueHandler.py → GetEnumValueHandler.py} +1 -1
  209. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/GetInstanceFieldHandler.py → GetInstanceFieldHandler.py} +1 -1
  210. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/GetStaticFieldHandler.py → GetStaticFieldHandler.py} +1 -1
  211. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/GetTypeHandler.py +56 -0
  212. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/Handler.py +26 -24
  213. data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet/core/handler/CommandHandler → Windows/X64/javonet/core/handler}/InvokeInstanceMethodHandler.py +31 -31
  214. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/InvokeStaticMethodHandler.py → InvokeStaticMethodHandler.py} +1 -1
  215. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/LoadLibraryHandler.py → LoadLibraryHandler.py} +1 -1
  216. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/ResolveInstanceHandler.py → ResolveInstanceHandler.py} +2 -2
  217. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/SetInstanceFieldHandler.py → SetInstanceFieldHandler.py} +1 -1
  218. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/SetStaticFieldHandler.py → SetStaticFieldHandler.py} +1 -1
  219. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/ValueHandler.py → ValueHandler.py} +1 -1
  220. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/__pycache__ → __pycache__}/AbstractCommandHandler.cpython-311.pyc +0 -0
  221. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/AbstractHandler.cpython-311.pyc +0 -0
  222. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/__pycache__ → __pycache__}/ArrayGetItemHandler.cpython-311.pyc +0 -0
  223. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/__pycache__ → __pycache__}/ArrayGetRankHandler.cpython-311.pyc +0 -0
  224. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/__pycache__ → __pycache__}/ArrayGetSizeHandler.cpython-311.pyc +0 -0
  225. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/__pycache__ → __pycache__}/ArrayHandler.cpython-311.pyc +0 -0
  226. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/__pycache__ → __pycache__}/ArraySetItemHandler.cpython-311.pyc +0 -0
  227. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/CastingHandler.cpython-311.pyc +0 -0
  228. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/CreateClassInstanceHandler.cpython-311.pyc +0 -0
  229. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/DestructReferenceHandler.cpython-311.pyc +0 -0
  230. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/EnableNamespaceHandler.cpython-311.pyc +0 -0
  231. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/EnableTypeHandler.cpython-311.pyc +0 -0
  232. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/__pycache__ → __pycache__}/GetEnumItemHandler.cpython-311.pyc +0 -0
  233. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/__pycache__ → __pycache__}/GetEnumNameHandler.cpython-311.pyc +0 -0
  234. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/__pycache__ → __pycache__}/GetEnumValueHandler.cpython-311.pyc +0 -0
  235. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/__pycache__ → __pycache__}/GetInstanceFieldHandler.cpython-311.pyc +0 -0
  236. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/__pycache__ → __pycache__}/GetStaticFieldHandler.cpython-311.pyc +0 -0
  237. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/GetTypeHandler.cpython-311.pyc +0 -0
  238. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/Handler.cpython-311.pyc +0 -0
  239. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/HandlerDictionary.cpython-311.pyc +0 -0
  240. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/InvokeInstanceMethodHandler.cpython-311.pyc +0 -0
  241. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/__pycache__ → __pycache__}/InvokeStaticMethodHandler.cpython-311.pyc +0 -0
  242. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/__pycache__ → __pycache__}/LoadLibraryHandler.cpython-311.pyc +0 -0
  243. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/ResolveInstanceHandler.cpython-311.pyc +0 -0
  244. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/__pycache__ → __pycache__}/SetInstanceFieldHandler.cpython-311.pyc +0 -0
  245. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/__pycache__ → __pycache__}/SetStaticFieldHandler.cpython-311.pyc +0 -0
  246. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/ValueHandler.cpython-311.pyc +0 -0
  247. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/__init__.cpython-311.pyc +0 -0
  248. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/interpreter/__pycache__/Interpreter.cpython-311.pyc +0 -0
  249. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/interpreter/__pycache__/__init__.cpython-311.pyc +0 -0
  250. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/namespaceCache/NamespaceCache.py +44 -0
  251. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/namespaceCache/__init__.py +0 -0
  252. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/namespaceCache/__pycache__/NamespaceCache.cpython-311.pyc +0 -0
  253. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/namespaceCache/__pycache__/__init__.cpython-311.pyc +0 -0
  254. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/protocol/CommandSerializer.py +0 -3
  255. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/protocol/__pycache__/CommandDeserializer.cpython-311.pyc +0 -0
  256. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/protocol/__pycache__/CommandSerializer.cpython-311.pyc +0 -0
  257. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/protocol/__pycache__/TypeDeserializer.cpython-311.pyc +0 -0
  258. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/protocol/__pycache__/TypeSerializer.cpython-311.pyc +0 -0
  259. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/protocol/__pycache__/__init__.cpython-311.pyc +0 -0
  260. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/receiver/Receiver.py +4 -1
  261. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/receiver/__pycache__/Receiver.cpython-311.pyc +0 -0
  262. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/receiver/__pycache__/__init__.cpython-311.pyc +0 -0
  263. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/referenceCache/ReferencesCache.py +38 -0
  264. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/referenceCache/__init__.py +0 -0
  265. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/referenceCache/__pycache__/ReferencesCache.cpython-311.pyc +0 -0
  266. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/referenceCache/__pycache__/__init__.cpython-311.pyc +0 -0
  267. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/typeCache/TypeCache.py +44 -0
  268. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/typeCache/__init__.py +0 -0
  269. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/typeCache/__pycache__/TypeCache.cpython-311.pyc +0 -0
  270. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/typeCache/__pycache__/__init__.cpython-311.pyc +0 -0
  271. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/CommandType.py +2 -0
  272. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/Command.cpython-311.pyc +0 -0
  273. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/CommandType.cpython-311.pyc +0 -0
  274. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/ConnectionType.cpython-311.pyc +0 -0
  275. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/ExceptionType.cpython-311.pyc +0 -0
  276. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/RuntimeName.cpython-311.pyc +0 -0
  277. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/StringEncodingMode.cpython-311.pyc +0 -0
  278. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/TcpConnectionData.cpython-311.pyc +0 -0
  279. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/Type.cpython-311.pyc +0 -0
  280. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/__init__.cpython-311.pyc +0 -0
  281. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/exception/__pycache__/ExceptionSerializer.cpython-311.pyc +0 -0
  282. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/exception/__pycache__/__init__.cpython-311.pyc +0 -0
  283. data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/{command_handler/abstract_command_handler.rb → abstract_command_handler.rb} +1 -1
  284. data/lib/javonet-ruby-sdk/Binaries/Ruby/{MacOs/X64/core/handler/command_handler → Linux/X64/core/handler}/destruct_reference_handler.rb +1 -1
  285. data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/enable_namespace_handler.rb +31 -0
  286. data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/enable_type_handler.rb +32 -0
  287. data/lib/javonet-ruby-sdk/Binaries/Ruby/{MacOs/X64/core/handler/command_handler → Linux/X64/core/handler}/get_instance_field_handler.rb +1 -1
  288. data/lib/javonet-ruby-sdk/Binaries/Ruby/{MacOs/X64/core/handler/command_handler → Linux/X64/core/handler}/get_static_field_handler.rb +1 -1
  289. data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/get_type_handler.rb +59 -0
  290. data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/handler.rb +31 -25
  291. data/lib/javonet-ruby-sdk/Binaries/Ruby/{MacOs/X64/core/handler/command_handler → Linux/X64/core/handler}/resolve_instance_handler.rb +1 -1
  292. data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/namespace_cache/namespace_cache.rb +40 -0
  293. data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/reference_cache/references_cache.rb +33 -0
  294. data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/type_cache/type_cache.rb +40 -0
  295. data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/external_lib/random/formatter.rb +373 -0
  296. data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/external_lib/securerandom.rb +29 -266
  297. data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/external_lib/singleton.rb +172 -0
  298. data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/utils/command_type.rb +11 -3
  299. data/lib/javonet-ruby-sdk/Binaries/Ruby/{MacOs/X64/core → Linux/X64/utils}/exceptions/exception_serializer.rb +1 -1
  300. data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/{core → utils}/exceptions/exception_thrower.rb +1 -1
  301. data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/{command_handler/abstract_command_handler.rb → abstract_command_handler.rb} +1 -1
  302. data/lib/javonet-ruby-sdk/Binaries/Ruby/{Linux/X64/core/handler/command_handler → MacOs/X64/core/handler}/destruct_reference_handler.rb +1 -1
  303. data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/enable_namespace_handler.rb +31 -0
  304. data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/enable_type_handler.rb +32 -0
  305. data/lib/javonet-ruby-sdk/Binaries/Ruby/{Linux/X64/core/handler/command_handler → MacOs/X64/core/handler}/get_instance_field_handler.rb +1 -1
  306. data/lib/javonet-ruby-sdk/Binaries/Ruby/{Linux/X64/core/handler/command_handler → MacOs/X64/core/handler}/get_static_field_handler.rb +1 -1
  307. data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/get_type_handler.rb +59 -0
  308. data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/handler.rb +31 -25
  309. data/lib/javonet-ruby-sdk/Binaries/Ruby/{Linux/X64/core/handler/command_handler → MacOs/X64/core/handler}/resolve_instance_handler.rb +1 -1
  310. data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/namespace_cache/namespace_cache.rb +40 -0
  311. data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/reference_cache/references_cache.rb +33 -0
  312. data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/type_cache/type_cache.rb +40 -0
  313. data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/external_lib/random/formatter.rb +373 -0
  314. data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/external_lib/securerandom.rb +29 -266
  315. data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/external_lib/singleton.rb +172 -0
  316. data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/utils/command_type.rb +11 -3
  317. data/lib/javonet-ruby-sdk/Binaries/Ruby/{Linux/X64/core → MacOs/X64/utils}/exceptions/exception_serializer.rb +1 -1
  318. data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/{core → utils}/exceptions/exception_thrower.rb +1 -1
  319. data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/{command_handler/abstract_command_handler.rb → abstract_command_handler.rb} +1 -1
  320. data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/{command_handler/destruct_reference_handler.rb → destruct_reference_handler.rb} +1 -1
  321. data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/enable_namespace_handler.rb +31 -0
  322. data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/enable_type_handler.rb +32 -0
  323. data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/{command_handler/get_instance_field_handler.rb → get_instance_field_handler.rb} +1 -1
  324. data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/{command_handler/get_static_field_handler.rb → get_static_field_handler.rb} +1 -1
  325. data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/get_type_handler.rb +59 -0
  326. data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/handler.rb +31 -25
  327. data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/{command_handler/resolve_instance_handler.rb → resolve_instance_handler.rb} +1 -1
  328. data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/namespace_cache/namespace_cache.rb +40 -0
  329. data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/reference_cache/references_cache.rb +33 -0
  330. data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/type_cache/type_cache.rb +40 -0
  331. data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/external_lib/random/formatter.rb +373 -0
  332. data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/external_lib/securerandom.rb +29 -266
  333. data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/external_lib/singleton.rb +172 -0
  334. data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/utils/command_type.rb +11 -3
  335. data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/{core → utils}/exceptions/exception_serializer.rb +1 -1
  336. data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/{core → utils}/exceptions/exception_thrower.rb +1 -1
  337. data/lib/javonet-ruby-sdk/Binaries/version.txt +1 -1
  338. data/lib/javonet-ruby-sdk/core/handler/{command_handler/abstract_command_handler.rb → abstract_command_handler.rb} +1 -1
  339. data/lib/javonet-ruby-sdk/core/handler/{command_handler/destruct_reference_handler.rb → destruct_reference_handler.rb} +1 -1
  340. data/lib/javonet-ruby-sdk/core/handler/enable_namespace_handler.rb +31 -0
  341. data/lib/javonet-ruby-sdk/core/handler/enable_type_handler.rb +32 -0
  342. data/lib/javonet-ruby-sdk/core/handler/{command_handler/get_instance_field_handler.rb → get_instance_field_handler.rb} +1 -1
  343. data/lib/javonet-ruby-sdk/core/handler/{command_handler/get_static_field_handler.rb → get_static_field_handler.rb} +1 -1
  344. data/lib/javonet-ruby-sdk/core/handler/get_type_handler.rb +59 -0
  345. data/lib/javonet-ruby-sdk/core/handler/handler.rb +31 -25
  346. data/lib/javonet-ruby-sdk/core/handler/{command_handler/resolve_instance_handler.rb → resolve_instance_handler.rb} +1 -1
  347. data/lib/javonet-ruby-sdk/core/namespace_cache/namespace_cache.rb +40 -0
  348. data/lib/javonet-ruby-sdk/core/reference_cache/references_cache.rb +33 -0
  349. data/lib/javonet-ruby-sdk/core/type_cache/type_cache.rb +40 -0
  350. data/lib/javonet-ruby-sdk/external_lib/random/formatter.rb +373 -0
  351. data/lib/javonet-ruby-sdk/external_lib/securerandom.rb +29 -266
  352. data/lib/javonet-ruby-sdk/external_lib/singleton.rb +172 -0
  353. data/lib/javonet-ruby-sdk/sdk/invocation_context.rb +1 -1
  354. data/lib/javonet-ruby-sdk/sdk/javonet.rb +22 -5
  355. data/lib/javonet-ruby-sdk/sdk/tools/sdk_exception_helper.rb +77 -0
  356. data/lib/javonet-ruby-sdk/utils/command_type.rb +11 -3
  357. data/lib/javonet-ruby-sdk/{core → utils}/exceptions/exception_serializer.rb +1 -1
  358. data/lib/javonet-ruby-sdk/{core → utils}/exceptions/exception_thrower.rb +1 -1
  359. metadata +270 -199
  360. data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/handler/CommandHandler/GetTypeHandler.py +0 -28
  361. data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/handler/ReferencesCache.py +0 -35
  362. data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/CommandHandler/GetTypeHandler.py +0 -28
  363. data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/ReferencesCache.py +0 -35
  364. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/GetTypeHandler.py +0 -28
  365. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/__pycache__/CastingHandler.cpython-311.pyc +0 -0
  366. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/__pycache__/CreateClassInstanceHandler.cpython-311.pyc +0 -0
  367. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/__pycache__/DestructReferenceHandler.cpython-311.pyc +0 -0
  368. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/__pycache__/GetTypeHandler.cpython-311.pyc +0 -0
  369. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/__pycache__/InvokeInstanceMethodHandler.cpython-311.pyc +0 -0
  370. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/__pycache__/ResolveInstanceHandler.cpython-311.pyc +0 -0
  371. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/__pycache__/ValueHandler.cpython-311.pyc +0 -0
  372. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/__pycache__/__init__.cpython-311.pyc +0 -0
  373. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/ReferencesCache.py +0 -35
  374. data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/ReferencesCache.cpython-311.pyc +0 -0
  375. data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/command_handler/get_type_handler.rb +0 -22
  376. data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/references_cache.rb +0 -35
  377. data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/command_handler/get_type_handler.rb +0 -22
  378. data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/references_cache.rb +0 -35
  379. data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/command_handler/get_type_handler.rb +0 -22
  380. data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/references_cache.rb +0 -35
  381. data/lib/javonet-ruby-sdk/core/handler/command_handler/get_type_handler.rb +0 -22
  382. data/lib/javonet-ruby-sdk/core/handler/references_cache.rb +0 -35
  383. /data/lib/javonet-ruby-sdk/Binaries/Nodejs/Linux/X64/core/{handler → referenceCache}/ReferencesCache.js +0 -0
  384. /data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/{handler → referenceCache}/ReferencesCache.js +0 -0
  385. /data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/{handler → referenceCache}/ReferencesCache.js +0 -0
  386. /data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/handler/{CommandHandler/AbstractCommandHandler.py → AbstractCommandHandler.py} +0 -0
  387. /data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/{handler/CommandHandler → namespaceCache}/__init__.py +0 -0
  388. /data/lib/javonet-ruby-sdk/Binaries/Python/{MacOs/X64/javonet/core/handler/CommandHandler → Linux/X64/javonet/core/referenceCache}/__init__.py +0 -0
  389. /data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet/core/handler/CommandHandler → Linux/X64/javonet/core/typeCache}/__init__.py +0 -0
  390. /data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/{CommandHandler/AbstractCommandHandler.py → AbstractCommandHandler.py} +0 -0
  391. /data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/AbstractCommandHandler.py → AbstractCommandHandler.py} +0 -0
  392. /data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/{command_handler/array_get_item_handler.rb → array_get_item_handler.rb} +0 -0
  393. /data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/{command_handler/array_get_rank_handler.rb → array_get_rank_handler.rb} +0 -0
  394. /data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/{command_handler/array_get_size_handler.rb → array_get_size_handler.rb} +0 -0
  395. /data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/{command_handler/array_handler.rb → array_handler.rb} +0 -0
  396. /data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/{command_handler/array_set_item_handler.rb → array_set_item_handler.rb} +0 -0
  397. /data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/{command_handler/casting_handler.rb → casting_handler.rb} +0 -0
  398. /data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/{command_handler/create_class_instance_handler.rb → create_class_instance_handler.rb} +0 -0
  399. /data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/{command_handler/invoke_instance_method_handler.rb → invoke_instance_method_handler.rb} +0 -0
  400. /data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/{command_handler/invoke_static_method_handler.rb → invoke_static_method_handler.rb} +0 -0
  401. /data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/{command_handler/load_library_handler.rb → load_library_handler.rb} +0 -0
  402. /data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/{command_handler/set_instance_field_handler.rb → set_instance_field_handler.rb} +0 -0
  403. /data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/{command_handler/set_static_field_handler.rb → set_static_field_handler.rb} +0 -0
  404. /data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/{command_handler/value_handler.rb → value_handler.rb} +0 -0
  405. /data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/{core → utils}/exceptions/exception_type.rb +0 -0
  406. /data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/{command_handler/array_get_item_handler.rb → array_get_item_handler.rb} +0 -0
  407. /data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/{command_handler/array_get_rank_handler.rb → array_get_rank_handler.rb} +0 -0
  408. /data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/{command_handler/array_get_size_handler.rb → array_get_size_handler.rb} +0 -0
  409. /data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/{command_handler/array_handler.rb → array_handler.rb} +0 -0
  410. /data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/{command_handler/array_set_item_handler.rb → array_set_item_handler.rb} +0 -0
  411. /data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/{command_handler/casting_handler.rb → casting_handler.rb} +0 -0
  412. /data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/{command_handler/create_class_instance_handler.rb → create_class_instance_handler.rb} +0 -0
  413. /data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/{command_handler/invoke_instance_method_handler.rb → invoke_instance_method_handler.rb} +0 -0
  414. /data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/{command_handler/invoke_static_method_handler.rb → invoke_static_method_handler.rb} +0 -0
  415. /data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/{command_handler/load_library_handler.rb → load_library_handler.rb} +0 -0
  416. /data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/{command_handler/set_instance_field_handler.rb → set_instance_field_handler.rb} +0 -0
  417. /data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/{command_handler/set_static_field_handler.rb → set_static_field_handler.rb} +0 -0
  418. /data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/{command_handler/value_handler.rb → value_handler.rb} +0 -0
  419. /data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/{core → utils}/exceptions/exception_type.rb +0 -0
  420. /data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/{command_handler/array_get_item_handler.rb → array_get_item_handler.rb} +0 -0
  421. /data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/{command_handler/array_get_rank_handler.rb → array_get_rank_handler.rb} +0 -0
  422. /data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/{command_handler/array_get_size_handler.rb → array_get_size_handler.rb} +0 -0
  423. /data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/{command_handler/array_handler.rb → array_handler.rb} +0 -0
  424. /data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/{command_handler/array_set_item_handler.rb → array_set_item_handler.rb} +0 -0
  425. /data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/{command_handler/casting_handler.rb → casting_handler.rb} +0 -0
  426. /data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/{command_handler/create_class_instance_handler.rb → create_class_instance_handler.rb} +0 -0
  427. /data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/{command_handler/invoke_instance_method_handler.rb → invoke_instance_method_handler.rb} +0 -0
  428. /data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/{command_handler/invoke_static_method_handler.rb → invoke_static_method_handler.rb} +0 -0
  429. /data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/{command_handler/load_library_handler.rb → load_library_handler.rb} +0 -0
  430. /data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/{command_handler/set_instance_field_handler.rb → set_instance_field_handler.rb} +0 -0
  431. /data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/{command_handler/set_static_field_handler.rb → set_static_field_handler.rb} +0 -0
  432. /data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/{command_handler/value_handler.rb → value_handler.rb} +0 -0
  433. /data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/{core → utils}/exceptions/exception_type.rb +0 -0
  434. /data/lib/javonet-ruby-sdk/core/handler/{command_handler/array_get_item_handler.rb → array_get_item_handler.rb} +0 -0
  435. /data/lib/javonet-ruby-sdk/core/handler/{command_handler/array_get_rank_handler.rb → array_get_rank_handler.rb} +0 -0
  436. /data/lib/javonet-ruby-sdk/core/handler/{command_handler/array_get_size_handler.rb → array_get_size_handler.rb} +0 -0
  437. /data/lib/javonet-ruby-sdk/core/handler/{command_handler/array_handler.rb → array_handler.rb} +0 -0
  438. /data/lib/javonet-ruby-sdk/core/handler/{command_handler/array_set_item_handler.rb → array_set_item_handler.rb} +0 -0
  439. /data/lib/javonet-ruby-sdk/core/handler/{command_handler/casting_handler.rb → casting_handler.rb} +0 -0
  440. /data/lib/javonet-ruby-sdk/core/handler/{command_handler/create_class_instance_handler.rb → create_class_instance_handler.rb} +0 -0
  441. /data/lib/javonet-ruby-sdk/core/handler/{command_handler/invoke_instance_method_handler.rb → invoke_instance_method_handler.rb} +0 -0
  442. /data/lib/javonet-ruby-sdk/core/handler/{command_handler/invoke_static_method_handler.rb → invoke_static_method_handler.rb} +0 -0
  443. /data/lib/javonet-ruby-sdk/core/handler/{command_handler/load_library_handler.rb → load_library_handler.rb} +0 -0
  444. /data/lib/javonet-ruby-sdk/core/handler/{command_handler/set_instance_field_handler.rb → set_instance_field_handler.rb} +0 -0
  445. /data/lib/javonet-ruby-sdk/core/handler/{command_handler/set_static_field_handler.rb → set_static_field_handler.rb} +0 -0
  446. /data/lib/javonet-ruby-sdk/core/handler/{command_handler/value_handler.rb → value_handler.rb} +0 -0
  447. /data/lib/javonet-ruby-sdk/{core → utils}/exceptions/exception_type.rb +0 -0
@@ -1,6 +1,8 @@
1
1
  # -*- coding: us-ascii -*-
2
2
  # frozen_string_literal: true
3
3
 
4
+ require_relative 'random/formatter'
5
+
4
6
  # == Secure random number generator interface.
5
7
  #
6
8
  # This library is an interface to secure random number generators which are
@@ -31,94 +33,34 @@
31
33
  # * uuid
32
34
  #
33
35
  # These methods are usable as class methods of SecureRandom such as
34
- # `SecureRandom.hex`.
35
- #
36
- # === Examples
37
- #
38
- # Generate random hexadecimal strings:
39
- #
40
- # require 'securerandom'
41
- #
42
- # SecureRandom.hex(10) #=> "52750b30ffbc7de3b362"
43
- # SecureRandom.hex(10) #=> "92b15d6c8dc4beb5f559"
44
- # SecureRandom.hex(13) #=> "39b290146bea6ce975c37cfc23"
45
- #
46
- # Generate random base64 strings:
47
- #
48
- # SecureRandom.base64(10) #=> "EcmTPZwWRAozdA=="
49
- # SecureRandom.base64(10) #=> "KO1nIU+p9DKxGg=="
50
- # SecureRandom.base64(12) #=> "7kJSM/MzBJI+75j8"
51
- #
52
- # Generate random binary strings:
53
- #
54
- # SecureRandom.random_bytes(10) #=> "\016\t{\370g\310pbr\301"
55
- # SecureRandom.random_bytes(10) #=> "\323U\030TO\234\357\020\a\337"
56
- #
57
- # Generate alphanumeric strings:
58
- #
59
- # SecureRandom.alphanumeric(10) #=> "S8baxMJnPl"
60
- # SecureRandom.alphanumeric(10) #=> "aOxAg8BAJe"
61
- #
62
- # Generate UUIDs:
63
- #
64
- # SecureRandom.uuid #=> "2d931510-d99f-494a-8c67-87feb05e1594"
65
- # SecureRandom.uuid #=> "bad85eb9-0713-4da7-8d36-07a8e4b00eab"
36
+ # +SecureRandom.hex+.
66
37
  #
38
+ # If a secure random number generator is not available,
39
+ # +NotImplementedError+ is raised.
67
40
 
68
41
  module SecureRandom
69
- @rng_chooser = Mutex.new # :nodoc:
42
+
43
+ # The version
44
+ VERSION = "0.3.1"
70
45
 
71
46
  class << self
47
+ # Returns a random binary string containing +size+ bytes.
48
+ #
49
+ # See Random.bytes
72
50
  def bytes(n)
73
51
  return gen_random(n)
74
52
  end
75
53
 
76
- def gen_random(n)
77
- ret = Random.urandom(1)
78
- if ret.nil?
79
- begin
80
- require 'openssl'
81
- rescue NoMethodError
82
- raise NotImplementedError, "No random device"
83
- else
84
- @rng_chooser.synchronize do
85
- class << self
86
- remove_method :gen_random
87
- alias gen_random gen_random_openssl
88
- public :gen_random
89
- end
90
- end
91
- return gen_random(n)
92
- end
93
- else
94
- @rng_chooser.synchronize do
95
- class << self
96
- remove_method :gen_random
97
- alias gen_random gen_random_urandom
98
- public :gen_random
99
- end
100
- end
101
- return gen_random(n)
102
- end
103
- end
104
-
105
54
  private
106
55
 
56
+ # :stopdoc:
57
+
58
+ # Implementation using OpenSSL
107
59
  def gen_random_openssl(n)
108
- @pid = 0 unless defined?(@pid)
109
- pid = $$
110
- unless @pid == pid
111
- now = Process.clock_gettime(Process::CLOCK_REALTIME, :nanosecond)
112
- OpenSSL::Random.random_add([now, @pid, pid].join(""), 0.0)
113
- seed = Random.urandom(16)
114
- if (seed)
115
- OpenSSL::Random.random_add(seed, 16)
116
- end
117
- @pid = pid
118
- end
119
60
  return OpenSSL::Random.random_bytes(n)
120
61
  end
121
62
 
63
+ # Implementation using system random device
122
64
  def gen_random_urandom(n)
123
65
  ret = Random.urandom(n)
124
66
  unless ret
@@ -129,204 +71,25 @@ module SecureRandom
129
71
  end
130
72
  ret
131
73
  end
132
- end
133
- end
134
-
135
- module Random::Formatter
136
-
137
- # SecureRandom.random_bytes generates a random binary string.
138
- #
139
- # The argument _n_ specifies the length of the result string.
140
- #
141
- # If _n_ is not specified or is nil, 16 is assumed.
142
- # It may be larger in future.
143
- #
144
- # The result may contain any byte: "\x00" - "\xff".
145
- #
146
- # require 'securerandom'
147
- #
148
- # SecureRandom.random_bytes #=> "\xD8\\\xE0\xF4\r\xB2\xFC*WM\xFF\x83\x18\xF45\xB6"
149
- # SecureRandom.random_bytes #=> "m\xDC\xFC/\a\x00Uf\xB2\xB2P\xBD\xFF6S\x97"
150
- #
151
- # If a secure random number generator is not available,
152
- # +NotImplementedError+ is raised.
153
- def random_bytes(n=nil)
154
- n = n ? n.to_int : 16
155
- gen_random(n)
156
- end
157
-
158
- # SecureRandom.hex generates a random hexadecimal string.
159
- #
160
- # The argument _n_ specifies the length, in bytes, of the random number to be generated.
161
- # The length of the resulting hexadecimal string is twice of _n_.
162
- #
163
- # If _n_ is not specified or is nil, 16 is assumed.
164
- # It may be larger in the future.
165
- #
166
- # The result may contain 0-9 and a-f.
167
- #
168
- # require 'securerandom'
169
- #
170
- # SecureRandom.hex #=> "eb693ec8252cd630102fd0d0fb7c3485"
171
- # SecureRandom.hex #=> "91dc3bfb4de5b11d029d376634589b61"
172
- #
173
- # If a secure random number generator is not available,
174
- # +NotImplementedError+ is raised.
175
- def hex(n=nil)
176
- random_bytes(n).unpack("H*")[0]
177
- end
178
-
179
- # SecureRandom.base64 generates a random base64 string.
180
- #
181
- # The argument _n_ specifies the length, in bytes, of the random number
182
- # to be generated. The length of the result string is about 4/3 of _n_.
183
- #
184
- # If _n_ is not specified or is nil, 16 is assumed.
185
- # It may be larger in the future.
186
- #
187
- # The result may contain A-Z, a-z, 0-9, "+", "/" and "=".
188
- #
189
- # require 'securerandom'
190
- #
191
- # SecureRandom.base64 #=> "/2BuBuLf3+WfSKyQbRcc/A=="
192
- # SecureRandom.base64 #=> "6BbW0pxO0YENxn38HMUbcQ=="
193
- #
194
- # If a secure random number generator is not available,
195
- # +NotImplementedError+ is raised.
196
- #
197
- # See RFC 3548 for the definition of base64.
198
- def base64(n=nil)
199
- [random_bytes(n)].pack("m0")
200
- end
201
-
202
- # SecureRandom.urlsafe_base64 generates a random URL-safe base64 string.
203
- #
204
- # The argument _n_ specifies the length, in bytes, of the random number
205
- # to be generated. The length of the result string is about 4/3 of _n_.
206
- #
207
- # If _n_ is not specified or is nil, 16 is assumed.
208
- # It may be larger in the future.
209
- #
210
- # The boolean argument _padding_ specifies the padding.
211
- # If it is false or nil, padding is not generated.
212
- # Otherwise padding is generated.
213
- # By default, padding is not generated because "=" may be used as a URL delimiter.
214
- #
215
- # The result may contain A-Z, a-z, 0-9, "-" and "_".
216
- # "=" is also used if _padding_ is true.
217
- #
218
- # require 'securerandom'
219
- #
220
- # SecureRandom.urlsafe_base64 #=> "b4GOKm4pOYU_-BOXcrUGDg"
221
- # SecureRandom.urlsafe_base64 #=> "UZLdOkzop70Ddx-IJR0ABg"
222
- #
223
- # SecureRandom.urlsafe_base64(nil, true) #=> "i0XQ-7gglIsHGV2_BNPrdQ=="
224
- # SecureRandom.urlsafe_base64(nil, true) #=> "-M8rLhr7JEpJlqFGUMmOxg=="
225
- #
226
- # If a secure random number generator is not available,
227
- # +NotImplementedError+ is raised.
228
- #
229
- # See RFC 3548 for the definition of URL-safe base64.
230
- def urlsafe_base64(n=nil, padding=false)
231
- s = [random_bytes(n)].pack("m0")
232
- s.tr!("+/", "-_")
233
- s.delete!("=") unless padding
234
- s
235
- end
236
-
237
- # SecureRandom.uuid generates a random v4 UUID (Universally Unique IDentifier).
238
- #
239
- # require 'securerandom'
240
- #
241
- # SecureRandom.uuid #=> "2d931510-d99f-494a-8c67-87feb05e1594"
242
- # SecureRandom.uuid #=> "bad85eb9-0713-4da7-8d36-07a8e4b00eab"
243
- # SecureRandom.uuid #=> "62936e70-1815-439b-bf89-8492855a7e6b"
244
- #
245
- # The version 4 UUID is purely random (except the version).
246
- # It doesn't contain meaningful information such as MAC addresses, timestamps, etc.
247
- #
248
- # The result contains 122 random bits (15.25 random bytes).
249
- #
250
- # See RFC 4122 for details of UUID.
251
- #
252
- def uuid
253
- ary = random_bytes(16).unpack("NnnnnN")
254
- ary[2] = (ary[2] & 0x0fff) | 0x4000
255
- ary[3] = (ary[3] & 0x3fff) | 0x8000
256
- "%08x-%04x-%04x-%04x-%04x%08x" % ary
257
- end
258
-
259
- private def gen_random(n)
260
- self.bytes(n)
261
- end
262
74
 
263
- # SecureRandom.choose generates a string that randomly draws from a
264
- # source array of characters.
265
- #
266
- # The argument _source_ specifies the array of characters from which
267
- # to generate the string.
268
- # The argument _n_ specifies the length, in characters, of the string to be
269
- # generated.
270
- #
271
- # The result may contain whatever characters are in the source array.
272
- #
273
- # require 'securerandom'
274
- #
275
- # SecureRandom.choose([*'l'..'r'], 16) #=> "lmrqpoonmmlqlron"
276
- # SecureRandom.choose([*'0'..'9'], 5) #=> "27309"
277
- #
278
- # If a secure random number generator is not available,
279
- # +NotImplementedError+ is raised.
280
- private def choose(source, n)
281
- size = source.size
282
- m = 1
283
- limit = size
284
- while limit * size <= 0x100000000
285
- limit *= size
286
- m += 1
287
- end
288
- result = ''.dup
289
- while m <= n
290
- rs = random_number(limit)
291
- is = rs.digits(size)
292
- (m-is.length).times { is << 0 }
293
- result << source.values_at(*is).join('')
294
- n -= m
295
- end
296
- if 0 < n
297
- rs = random_number(limit)
298
- is = rs.digits(size)
299
- if is.length < n
300
- (n-is.length).times { is << 0 }
75
+ begin
76
+ # Check if Random.urandom is available
77
+ Random.urandom(1)
78
+ alias gen_random gen_random_urandom
79
+ rescue RuntimeError
80
+ begin
81
+ require 'openssl'
82
+ rescue NoMethodError
83
+ raise NotImplementedError, "No random device"
301
84
  else
302
- is.pop while n < is.length
85
+ alias gen_random gen_random_openssl
303
86
  end
304
- result.concat source.values_at(*is).join('')
305
87
  end
306
- result
307
- end
308
88
 
309
- ALPHANUMERIC = [*'A'..'Z', *'a'..'z', *'0'..'9']
310
- # SecureRandom.alphanumeric generates a random alphanumeric string.
311
- #
312
- # The argument _n_ specifies the length, in characters, of the alphanumeric
313
- # string to be generated.
314
- #
315
- # If _n_ is not specified or is nil, 16 is assumed.
316
- # It may be larger in the future.
317
- #
318
- # The result may contain A-Z, a-z and 0-9.
319
- #
320
- # require 'securerandom'
321
- #
322
- # SecureRandom.alphanumeric #=> "2BuBuLf3WfSKyQbR"
323
- # SecureRandom.alphanumeric(10) #=> "i6K93NdqiH"
324
- #
325
- # If a secure random number generator is not available,
326
- # +NotImplementedError+ is raised.
327
- def alphanumeric(n=nil)
328
- n = 16 if n.nil?
329
- choose(ALPHANUMERIC, n)
89
+ # :startdoc:
90
+
91
+ # Generate random data bytes for Random::Formatter
92
+ public :gen_random
330
93
  end
331
94
  end
332
95
 
@@ -0,0 +1,172 @@
1
+ # frozen_string_literal: false
2
+
3
+ # The Singleton module implements the Singleton pattern.
4
+ #
5
+ # == Usage
6
+ #
7
+ # To use Singleton, include the module in your class.
8
+ #
9
+ # class Klass
10
+ # include Singleton
11
+ # # ...
12
+ # end
13
+ #
14
+ # This ensures that only one instance of Klass can be created.
15
+ #
16
+ # a,b = Klass.instance, Klass.instance
17
+ #
18
+ # a == b
19
+ # # => true
20
+ #
21
+ # Klass.new
22
+ # # => NoMethodError - new is private ...
23
+ #
24
+ # The instance is created at upon the first call of Klass.instance().
25
+ #
26
+ # class OtherKlass
27
+ # include Singleton
28
+ # # ...
29
+ # end
30
+ #
31
+ # ObjectSpace.each_object(OtherKlass){}
32
+ # # => 0
33
+ #
34
+ # OtherKlass.instance
35
+ # ObjectSpace.each_object(OtherKlass){}
36
+ # # => 1
37
+ #
38
+ #
39
+ # This behavior is preserved under inheritance and cloning.
40
+ #
41
+ # == Implementation
42
+ #
43
+ # This above is achieved by:
44
+ #
45
+ # * Making Klass.new and Klass.allocate private.
46
+ #
47
+ # * Overriding Klass.inherited(sub_klass) and Klass.clone() to ensure that the
48
+ # Singleton properties are kept when inherited and cloned.
49
+ #
50
+ # * Providing the Klass.instance() method that returns the same object each
51
+ # time it is called.
52
+ #
53
+ # * Overriding Klass._load(str) to call Klass.instance().
54
+ #
55
+ # * Overriding Klass#clone and Klass#dup to raise TypeErrors to prevent
56
+ # cloning or duping.
57
+ #
58
+ # == Singleton and Marshal
59
+ #
60
+ # By default Singleton's #_dump(depth) returns the empty string. Marshalling by
61
+ # default will strip state information, e.g. instance variables from the instance.
62
+ # Classes using Singleton can provide custom _load(str) and _dump(depth) methods
63
+ # to retain some of the previous state of the instance.
64
+ #
65
+ # require 'singleton'
66
+ #
67
+ # class Example
68
+ # include Singleton
69
+ # attr_accessor :keep, :strip
70
+ # def _dump(depth)
71
+ # # this strips the @strip information from the instance
72
+ # Marshal.dump(@keep, depth)
73
+ # end
74
+ #
75
+ # def self._load(str)
76
+ # instance.keep = Marshal.load(str)
77
+ # instance
78
+ # end
79
+ # end
80
+ #
81
+ # a = Example.instance
82
+ # a.keep = "keep this"
83
+ # a.strip = "get rid of this"
84
+ #
85
+ # stored_state = Marshal.dump(a)
86
+ #
87
+ # a.keep = nil
88
+ # a.strip = nil
89
+ # b = Marshal.load(stored_state)
90
+ # p a == b # => true
91
+ # p a.keep # => "keep this"
92
+ # p a.strip # => nil
93
+ #
94
+ module Singleton
95
+ VERSION = "0.2.0"
96
+
97
+ # Raises a TypeError to prevent cloning.
98
+ def clone
99
+ raise TypeError, "can't clone instance of singleton #{self.class}"
100
+ end
101
+
102
+ # Raises a TypeError to prevent duping.
103
+ def dup
104
+ raise TypeError, "can't dup instance of singleton #{self.class}"
105
+ end
106
+
107
+ # By default, do not retain any state when marshalling.
108
+ def _dump(depth = -1)
109
+ ''
110
+ end
111
+
112
+ module SingletonClassMethods # :nodoc:
113
+
114
+ def clone # :nodoc:
115
+ Singleton.__init__(super)
116
+ end
117
+
118
+ # By default calls instance(). Override to retain singleton state.
119
+ def _load(str)
120
+ instance
121
+ end
122
+
123
+ def instance # :nodoc:
124
+ @singleton__instance__ || @singleton__mutex__.synchronize { @singleton__instance__ ||= new }
125
+ end
126
+
127
+ private
128
+
129
+ def inherited(sub_klass)
130
+ super
131
+ Singleton.__init__(sub_klass)
132
+ end
133
+ end
134
+
135
+ class << Singleton # :nodoc:
136
+ def __init__(klass) # :nodoc:
137
+ klass.instance_eval {
138
+ @singleton__instance__ = nil
139
+ @singleton__mutex__ = Thread::Mutex.new
140
+ }
141
+ klass
142
+ end
143
+
144
+ private
145
+
146
+ # extending an object with Singleton is a bad idea
147
+ undef_method :extend_object
148
+
149
+ def append_features(mod)
150
+ # help out people counting on transitive mixins
151
+ unless mod.instance_of?(Class)
152
+ raise TypeError, "Inclusion of the OO-Singleton module in module #{mod}"
153
+ end
154
+ super
155
+ end
156
+
157
+ def included(klass)
158
+ super
159
+ klass.private_class_method :new, :allocate
160
+ klass.extend SingletonClassMethods
161
+ Singleton.__init__(klass)
162
+ end
163
+ end
164
+
165
+ ##
166
+ # :singleton-method: _load
167
+ # By default calls instance(). Override to retain singleton state.
168
+
169
+ ##
170
+ # :singleton-method: instance
171
+ # Returns the singleton instance.
172
+ end
@@ -1,7 +1,7 @@
1
1
  require_relative 'internal/abstract_invocation_context'
2
2
  require_relative 'internal/invocation_context_iterator'
3
3
  require_relative '../core/interpreter/interpreter'
4
- require_relative '../core/exceptions/exception_thrower'
4
+ require_relative '../utils/exceptions/exception_thrower'
5
5
 
6
6
  # InvocationContext is a class that represents a context for invoking commands.
7
7
  # It implements several interfaces for different types of interactions.
@@ -3,14 +3,20 @@ require_relative './config_runtime_factory'
3
3
  require_relative './../utils/connection_type'
4
4
  require_relative './../utils/tcp_connection_data'
5
5
  require_relative './../core/transmitter/transmitter'
6
+ require_relative './tools/sdk_exception_helper'
6
7
 
7
8
  # The Javonet class is a singleton class that serves as the entry point for interacting with Javonet.
8
9
  # It provides methods to activate and initialize the Javonet SDK.
9
10
  # It supports both in-memory and TCP connections.
10
11
  # @see Refer to this {https://www.javonet.com/guides/v2/ruby/foundations/javonet-static-class article on Javonet Guides}
11
12
  class Javonet
13
+ begin
14
+ Transmitter.activate_with_license_file
15
+ rescue Exception => e
16
+ SdkExceptionHelper.send_exception_to_app_insights(e, "Javonet")
17
+ raise e
18
+ end
12
19
 
13
- Transmitter.activate_with_license_file
14
20
 
15
21
  # Initializes Javonet using an in-memory channel on the same machine.
16
22
  # @return [RuntimeFactory] A RuntimeFactory instance configured for an in-memory connection.
@@ -32,8 +38,14 @@ class Javonet
32
38
  # @return [ConfigRuntimeFactory] A ConfigRuntimeFactory instance configured with configuration data
33
39
  # @see Refer to this {https://www.javonet.com/guides/v2/ruby/foundations/configure-channel article on Javonet Guides}
34
40
  def self.with_config(path)
35
- Transmitter.set_config_source(path)
36
- ConfigRuntimeFactory.new(path)
41
+ begin
42
+ Transmitter.set_config_source(path)
43
+ ConfigRuntimeFactory.new(path)
44
+ rescue Exception => e
45
+ SdkExceptionHelper.send_exception_to_app_insights(e, "withConfig")
46
+ raise e
47
+ end
48
+
37
49
  end
38
50
 
39
51
  # Activates Javonet with the provided license key and optionally with proxy data.
@@ -47,7 +59,12 @@ class Javonet
47
59
  proxy_host ||= ""
48
60
  proxy_user_name ||= ""
49
61
  proxy_password ||= ""
50
- return Transmitter.activate_with_credentials_and_proxy(license_key, proxy_host, proxy_user_name, proxy_password)
62
+ begin
63
+ return Transmitter.activate_with_credentials_and_proxy(license_key, proxy_host, proxy_user_name, proxy_password)
64
+ rescue Exception => e
65
+ SdkExceptionHelper.send_exception_to_app_insights(e, license_key)
66
+ raise e
67
+ end
51
68
  end
52
69
 
53
- end
70
+ end
@@ -0,0 +1,77 @@
1
+ require 'net/http'
2
+ require 'json'
3
+ require 'socket'
4
+ require 'date'
5
+
6
+
7
+
8
+
9
+ class SdkExceptionHelper
10
+ def self.send_exception_to_app_insights(e, license_key)
11
+ Thread.new do
12
+ begin
13
+ instrumentation_key = "2c751560-90c8-40e9-b5dd-534566514723"
14
+ client = Net::HTTP.new('dc.services.visualstudio.com', 443)
15
+ client.use_ssl = true
16
+
17
+ javonet_version = "2.0.0" # Replace with your desired version
18
+ node_name = Socket.gethostname rescue "Unknown Host"
19
+ operation_name = "JavonetSdkException"
20
+ os_name =
21
+ if RUBY_PLATFORM =~ /darwin/
22
+ "MacOS"
23
+ elsif RUBY_PLATFORM =~ /linux/
24
+ "Linux"
25
+ elsif RUBY_PLATFORM =~ /freebsd/
26
+ "FreeBSD"
27
+ elsif RUBY_PLATFORM =~ /mswin|msys|mingw|cygwin|bccwin|wince|emc/
28
+ "Windows"
29
+ else
30
+ "Unknown"
31
+ end
32
+ calling_runtime_name = "Ruby"
33
+ event_message = e.to_s
34
+
35
+ formatted_datetime = Time.now.gmtime.strftime("%Y-%m-%dT%H:%M:%S")
36
+
37
+ payload = {
38
+ "name": "AppEvents",
39
+ "time": formatted_datetime,
40
+ "iKey": instrumentation_key,
41
+ "tags": {
42
+ "ai.application.ver": javonet_version,
43
+ "ai.cloud.roleInstance": node_name,
44
+ "ai.operation.id": "0",
45
+ "ai.operation.parentId": "0",
46
+ "ai.operation.name": operation_name,
47
+ "ai.internal.sdkVersion": "javonet:2",
48
+ "ai.internal.nodeName": node_name
49
+ },
50
+ "data": {
51
+ "baseType": "EventData",
52
+ "baseData": {
53
+ "ver": 2,
54
+ "name": event_message,
55
+ "properties": {
56
+ "OperatingSystem": os_name,
57
+ "LicenseKey": license_key,
58
+ "CallingTechnology": calling_runtime_name
59
+ }
60
+ }
61
+ }
62
+ }
63
+
64
+ request = Net::HTTP::Post.new('/v2/track')
65
+ request['Content-Type'] = 'application/json'
66
+ request.body = payload.to_json
67
+
68
+ response = client.request(request)
69
+ response_code = response.code.to_i
70
+ response_code
71
+ rescue Exception => ex
72
+ puts ex
73
+ 500
74
+ end
75
+ end
76
+ end
77
+ end
@@ -33,6 +33,8 @@ class CommandType
33
33
  AS_REF = 31
34
34
  AS_OUT = 32
35
35
  GET_REF_VALUE = 33
36
+ ENABLE_NAMESPACE = 34
37
+ ENABLE_TYPE = 35
36
38
 
37
39
  def self.get_name(command_number)
38
40
  case command_number
@@ -99,11 +101,17 @@ class CommandType
99
101
  when 30
100
102
  return 'GET_ENUM_VALUE'
101
103
  when 31
102
- return 'AS_REF'
104
+ return 'AS_REF'
103
105
  when 32
104
- return 'AS_OUT'
106
+ return 'AS_OUT'
105
107
  when 33
106
- return 'GET_REF_VALUE'
108
+ return 'GET_REF_VALUE'
109
+ when 34
110
+ return 'ENABLE_NAMESPACE'
111
+ when 35
112
+ return 'ENABLE_TYPE'
113
+ else
114
+ raise 'Unknown command type'
107
115
  end
108
116
  end
109
117
  end
@@ -1,4 +1,4 @@
1
- require_relative '../exceptions/exception_type'
1
+ require_relative './exception_type'
2
2
 
3
3
  class ExceptionSerializer
4
4
 
@@ -1,4 +1,4 @@
1
- require_relative '../exceptions/exception_type'
1
+ require_relative './exception_type'
2
2
 
3
3
  class ExceptionThrower
4
4