javonet-ruby-sdk 2.5.12 → 2.5.13

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 (200) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/javonet-ruby-sdk/Binaries/Clr/Javonet.Clr.Utils.dll +0 -0
  4. data/lib/javonet-ruby-sdk/Binaries/Clr/JavonetClrRuntime.dll +0 -0
  5. data/lib/javonet-ruby-sdk/Binaries/Jvm/JavonetJvmRuntime.jar +0 -0
  6. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetActivationService.so +0 -0
  7. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetCppRuntimeNative.so +0 -0
  8. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetGoRuntimeNative.so +0 -0
  9. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetJvmRuntimeNative.so +0 -0
  10. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetNetcoreRuntimeNative.so +0 -0
  11. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetPythonRuntimeNative.so +0 -0
  12. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetRuby278RuntimeNative.so +0 -0
  13. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetRubyRuntimeNative.so +0 -0
  14. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetTcpClient.so +0 -0
  15. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetTcpTlsClient.so +0 -0
  16. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libUtils.so +0 -0
  17. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/version.txt +1 -1
  18. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/NativeUtilsUnitTests.xml +30 -30
  19. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetActivationService.so +0 -0
  20. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetCppRuntimeNative.so +0 -0
  21. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetGoRuntimeNative.so +0 -0
  22. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetJvmRuntimeNative.so +0 -0
  23. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetNetcoreRuntimeNative.so +0 -0
  24. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetNodejs1816RuntimeNative.so +0 -0
  25. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetNodejsRuntimeNative.so +0 -0
  26. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetPerlRuntimeNative.so +0 -0
  27. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetPythonRuntimeNative.so +0 -0
  28. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetRuby278RuntimeNative.so +0 -0
  29. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetRubyRuntimeNative.so +0 -0
  30. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetTcpClient.so +0 -0
  31. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetTcpTlsClient.so +0 -0
  32. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libUtils.so +0 -0
  33. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/openssl3/libJavonetActivationService.so +0 -0
  34. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/openssl3/libJavonetTcpTlsClient.so +0 -0
  35. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/openssl3/libUtils.so +0 -0
  36. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/version.txt +1 -1
  37. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetActivationService.dylib +0 -0
  38. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetCppRuntimeNative.dylib +0 -0
  39. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetGoRuntimeNative.dylib +0 -0
  40. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetJvmRuntimeNative.dylib +0 -0
  41. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetNetcoreRuntimeNative.dylib +0 -0
  42. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetNodejs1816RuntimeNative.dylib +0 -0
  43. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetNodejsRuntimeNative.dylib +0 -0
  44. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetPerlRuntimeNative.dylib +0 -0
  45. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetPythonRuntimeNative.dylib +0 -0
  46. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetRuby278RuntimeNative.dylib +0 -0
  47. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetRubyRuntimeNative.dylib +0 -0
  48. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetTcpClient.dylib +0 -0
  49. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetTcpTlsClient.dylib +0 -0
  50. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libUtils.dylib +0 -0
  51. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/version.txt +1 -1
  52. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetActivationService.dll +0 -0
  53. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetCppRuntimeNative.dll +0 -0
  54. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetGoRuntimeNative.dll +0 -0
  55. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetJvmRuntimeNative.dll +0 -0
  56. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetNetcoreRuntimeNative.dll +0 -0
  57. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetPythonRuntimeNative.dll +0 -0
  58. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetRuby278RuntimeNative.dll +0 -0
  59. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetRubyRuntimeNative.dll +0 -0
  60. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetTcpClient.dll +0 -0
  61. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetTcpTlsClient.dll +0 -0
  62. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/Utils.dll +0 -0
  63. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/version.txt +0 -0
  64. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetActivationService.dll +0 -0
  65. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetClrRuntimeNative.dll +0 -0
  66. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetCppRuntimeNative.dll +0 -0
  67. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetGoRuntimeNative.dll +0 -0
  68. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetJvmRuntimeNative.dll +0 -0
  69. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetNetcoreRuntimeNative.dll +0 -0
  70. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetNodejs1816RuntimeNative.dll +0 -0
  71. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetNodejsRuntimeNative.dll +0 -0
  72. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetPerlRuntimeNative.dll +0 -0
  73. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetPythonRuntimeNative.dll +0 -0
  74. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetRuby278RuntimeNative.dll +0 -0
  75. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetRubyRuntimeNative.dll +0 -0
  76. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetTcpClient.dll +0 -0
  77. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetTcpTlsClient.dll +0 -0
  78. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/Utils.dll +0 -0
  79. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/version.txt +1 -1
  80. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetActivationService.dll +0 -0
  81. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetClrRuntimeNative.dll +0 -0
  82. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetCppRuntimeNative.dll +0 -0
  83. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetGoRuntimeNative.dll +0 -0
  84. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetJvmRuntimeNative.dll +0 -0
  85. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetNetcoreRuntimeNative.dll +0 -0
  86. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetPythonRuntimeNative.dll +0 -0
  87. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetTcpClient.dll +0 -0
  88. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetTcpTlsClient.dll +0 -0
  89. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/Utils.dll +0 -0
  90. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/version.txt +1 -1
  91. data/lib/javonet-ruby-sdk/Binaries/Netcore/Javonet.Netcore.Core.dll +0 -0
  92. data/lib/javonet-ruby-sdk/Binaries/Netcore/Javonet.Netcore.Utils.dll +0 -0
  93. data/lib/javonet-ruby-sdk/Binaries/Nodejs/lib/core/webSocketClient/WebSocketClient.js +2 -2
  94. 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
  95. 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
  96. 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
  97. 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
  98. data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Moose/Moose.so +0 -0
  99. 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
  100. 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
  101. 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
  102. data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Want/Want.so +0 -0
  103. 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
  104. data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/perllocal.pod +95 -95
  105. data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Core/Transmitter/PerlTransmitterWrapper.pm +10 -2
  106. data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Sdk/Core/PerlCommandType.pm +1 -1
  107. data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Sdk/Internal/InvocationContext.pm +53 -22
  108. data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Sdk/Internal/RuntimeContext.pm +17 -18
  109. data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Data/UUID/UUID.xs.dll +0 -0
  110. data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/PPI/XS/XS.xs.dll +0 -0
  111. 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
  112. data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Want/Want.xs.dll +0 -0
  113. data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/autobox/autobox.xs.dll +0 -0
  114. data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/perllocal.pod +18 -18
  115. data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Core/Transmitter/PerlTransmitterWrapper.pm +10 -2
  116. data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Core/PerlCommandType.pm +1 -1
  117. data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Internal/InvocationContext.pm +53 -22
  118. data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Internal/RuntimeContext.pm +17 -18
  119. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/__pycache__/__init__.cpython-312.pyc +0 -0
  120. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/delegateCache/__pycache__/DelegatesCache.cpython-312.pyc +0 -0
  121. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/delegateCache/__pycache__/__init__.cpython-312.pyc +0 -0
  122. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/generator/__pycache__/__init__.cpython-312.pyc +0 -0
  123. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/generator/internal/__pycache__/PythonStringBuilder.cpython-312.pyc +0 -0
  124. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/generator/internal/__pycache__/__init__.cpython-312.pyc +0 -0
  125. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/AbstractCommandHandler.cpython-312.pyc +0 -0
  126. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/AbstractHandler.cpython-312.pyc +0 -0
  127. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArrayGetItemHandler.cpython-312.pyc +0 -0
  128. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArrayGetRankHandler.cpython-312.pyc +0 -0
  129. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArrayGetSizeHandler.cpython-312.pyc +0 -0
  130. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArrayHandler.cpython-312.pyc +0 -0
  131. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArraySetItemHandler.cpython-312.pyc +0 -0
  132. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/CastingHandler.cpython-312.pyc +0 -0
  133. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/CreateClassInstanceHandler.cpython-312.pyc +0 -0
  134. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/DestructReferenceHandler.cpython-312.pyc +0 -0
  135. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/EnableNamespaceHandler.cpython-312.pyc +0 -0
  136. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/EnableTypeHandler.cpython-312.pyc +0 -0
  137. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetEnumItemHandler.cpython-312.pyc +0 -0
  138. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetEnumNameHandler.cpython-312.pyc +0 -0
  139. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetEnumValueHandler.cpython-312.pyc +0 -0
  140. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetInstanceFieldHandler.cpython-312.pyc +0 -0
  141. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetInstanceMethodAsDelegateHandler.cpython-312.pyc +0 -0
  142. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetStaticFieldHandler.cpython-312.pyc +0 -0
  143. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetStaticMethodAsDelegateHandler.cpython-312.pyc +0 -0
  144. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetTypeHandler.cpython-312.pyc +0 -0
  145. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/Handler.cpython-312.pyc +0 -0
  146. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/HandlerDictionary.cpython-312.pyc +0 -0
  147. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/InvokeDelegateHandler.cpython-312.pyc +0 -0
  148. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/InvokeGlobalFunctionHandler.cpython-312.pyc +0 -0
  149. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/InvokeInstanceMethodHandler.cpython-312.pyc +0 -0
  150. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/InvokeStaticMethodHandler.cpython-312.pyc +0 -0
  151. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/LoadLibraryHandler.cpython-312.pyc +0 -0
  152. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/PassDelegateHandler.cpython-312.pyc +0 -0
  153. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ResolveInstanceHandler.cpython-312.pyc +0 -0
  154. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/SetInstanceFieldHandler.cpython-312.pyc +0 -0
  155. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/SetStaticFieldHandler.cpython-312.pyc +0 -0
  156. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ValueHandler.cpython-312.pyc +0 -0
  157. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/__init__.cpython-312.pyc +0 -0
  158. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/interpreter/Interpreter.py +29 -2
  159. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/interpreter/__pycache__/Interpreter.cpython-312.pyc +0 -0
  160. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/interpreter/__pycache__/__init__.cpython-312.pyc +0 -0
  161. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/namespaceCache/__pycache__/NamespaceCache.cpython-312.pyc +0 -0
  162. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/namespaceCache/__pycache__/__init__.cpython-312.pyc +0 -0
  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 +19 -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 +23 -0
  176. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/RuntimeName.py +3 -0
  177. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/UtilsConst.py +42 -0
  178. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/Command.cpython-312.pyc +0 -0
  179. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/CommandType.cpython-312.pyc +0 -0
  180. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/ConnectionType.cpython-312.pyc +0 -0
  181. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/ExceptionType.cpython-312.pyc +0 -0
  182. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/RuntimeLogger.cpython-312.pyc +0 -0
  183. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/RuntimeName.cpython-312.pyc +0 -0
  184. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/StringEncodingMode.cpython-312.pyc +0 -0
  185. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/Type.cpython-312.pyc +0 -0
  186. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/UtilsConst.cpython-312.pyc +0 -0
  187. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/__init__.cpython-312.pyc +0 -0
  188. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/connectionData/__pycache__/IConnectionData.cpython-312.pyc +0 -0
  189. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/connectionData/__pycache__/InMemoryConnectionData.cpython-312.pyc +0 -0
  190. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/connectionData/__pycache__/__init__.cpython-312.pyc +0 -0
  191. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/exception/__pycache__/ExceptionSerializer.cpython-312.pyc +0 -0
  192. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/exception/__pycache__/__init__.cpython-312.pyc +0 -0
  193. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/messageHelper/MessageHelper.py +86 -0
  194. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/messageHelper/__init__.py +0 -0
  195. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/messageHelper/__pycache__/MessageHelper.cpython-312.pyc +0 -0
  196. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/messageHelper/__pycache__/__init__.cpython-312.pyc +0 -0
  197. data/lib/javonet-ruby-sdk/Binaries/version.txt +1 -1
  198. data/lib/javonet-ruby-sdk/sdk/invocation_context.rb +36 -18
  199. data/lib/javonet-ruby-sdk/sdk/runtime_context.rb +3 -3
  200. metadata +8 -2
@@ -6,6 +6,7 @@ use FFI::Platypus;
6
6
  use Path::Tiny;
7
7
  use File::Spec;
8
8
  use Config;
9
+ use Cwd;
9
10
  use POSIX qw(uname);
10
11
 
11
12
  my $ffi;
@@ -23,7 +24,7 @@ sub initialize {
23
24
  $ffi = FFI::Platypus->new(api => 1);
24
25
  use FFI::Platypus::DL qw(dlopen dlerror RTLD_PLATYPUS_DEFAULT);
25
26
  my $dir = File::Spec->rel2abs(__FILE__);
26
- my $current_dir = path($dir)->parent(3);
27
+ my $current_dir = getcwd();
27
28
  my $perl_native_lib;
28
29
 
29
30
  my $arch = do {
@@ -48,7 +49,14 @@ sub initialize {
48
49
  else {
49
50
  $perl_native_lib = "Binaries/Native/Windows/$arch/JavonetPerlRuntimeNative.dll";
50
51
  }
51
- $ffi->lib("$current_dir/$perl_native_lib");
52
+
53
+ my $full_native_lib_path = "$current_dir/$perl_native_lib";
54
+ my $error_message = "Native library not found at $full_native_lib_path\n" .
55
+ "Please Download and unzip Binaries at $current_dir directory folder using this link: https://download.javonet.com/binaries/Binaries.zip\n" .
56
+ "For more info please visit: https://www.javonet.com/guides/v2/getting-started/getting-started-perl";
57
+ die $error_message unless -e $full_native_lib_path;
58
+ $ffi->lib($full_native_lib_path);
59
+
52
60
  $send_command_native = $ffi->function('SendCommand' => [ 'uchar[]', 'int' ] => 'int');
53
61
  $read_response_native = $ffi->function('ReadResponse' => [ 'uchar[]', 'int' ] => 'int');
54
62
  $activate_native = $ffi->function('Activate' => ['string'] => 'int');
@@ -20,7 +20,7 @@ my %command_type = (
20
20
  'GetInstanceField' => 13,
21
21
  'Optimize' => 14,
22
22
  'GenerateLib' => 15,
23
- 'InvokeGlobalFunction' => 16,
23
+ 'InvokeGlobalFunction' => 16,
24
24
  'DestructReference' => 17,
25
25
  'Array' => 18,
26
26
  'ArrayGetItem' => 19,
@@ -331,8 +331,8 @@ sub get_ref_value {
331
331
  );
332
332
  return Javonet::Sdk::Internal::InvocationContext->new(
333
333
  $self->{runtime_name},
334
- $self->get_connection_type(),
335
- $self->get_tcp_address(),
334
+ $self->{connection_type},
335
+ $self->{tcp_address},
336
336
  $self->build_command($command),
337
337
  0
338
338
  );
@@ -347,8 +347,40 @@ sub create_null {
347
347
  );
348
348
  return Javonet::Sdk::Internal::InvocationContext->new(
349
349
  $self->{runtime_name},
350
- $self->get_connection_type(),
351
- $self->get_tcp_address(),
350
+ $self->{connection_type},
351
+ $self->{tcp_address},
352
+ $self->build_command($command),
353
+ 0
354
+ );
355
+ }
356
+
357
+ sub get_static_method_as_delegate {
358
+ my ($self, @arguments) = @_;
359
+ my $command = PerlCommand->new(
360
+ runtime => $self->{runtime_name},
361
+ command_type => Javonet::Sdk::Core::PerlCommandType::get_command_type('GetStaticMethodAsDelegate'),
362
+ payload => \@arguments
363
+ );
364
+ return Javonet::Sdk::Internal::InvocationContext->new(
365
+ $self->{runtime_name},
366
+ $self->{connection_type},
367
+ $self->{tcp_address},
368
+ $self->build_command($command),
369
+ 0
370
+ );
371
+ }
372
+
373
+ sub get_instance_method_as_delegate {
374
+ my ($self, @arguments) = @_;
375
+ my $command = PerlCommand->new(
376
+ runtime => $self->{runtime_name},
377
+ command_type => Javonet::Sdk::Core::PerlCommandType::get_command_type('GetInstanceMethodAsDelegate'),
378
+ payload => \@arguments
379
+ );
380
+ return Javonet::Sdk::Internal::InvocationContext->new(
381
+ $self->{runtime_name},
382
+ $self->{connection_type},
383
+ $self->{tcp_address},
352
384
  $self->build_command($command),
353
385
  0
354
386
  );
@@ -377,15 +409,25 @@ sub build_command {
377
409
  sub encapsulate_payload_item {
378
410
  my ($self, $payload_item) = @_;
379
411
 
380
- if(!defined $payload_item) {
412
+ if (!defined $payload_item) {
381
413
  return PerlCommand->new(
382
- runtime => $self->{runtime_name},
414
+ runtime => $self->{runtime_name},
383
415
  command_type => Javonet::Sdk::Core::PerlCommandType::get_command_type('Value'),
384
- payload => []
416
+ payload => []
385
417
  );
386
418
  }
387
-
388
- if ($payload_item->isa('Command')) {
419
+ if (ref($payload_item) eq 'ARRAY') {
420
+ my $payload_length = @$payload_item;
421
+ for (my $i = 0; $i < $payload_length; $i++) {
422
+ $payload_item->[$i] = $self->encapsulate_payload_item($payload_item->[$i]);
423
+ }
424
+ return PerlCommand->new(
425
+ runtime => $self->{runtime_name},
426
+ command_type => Javonet::Sdk::Core::PerlCommandType::get_command_type('Array'),
427
+ payload => $payload_item
428
+ );
429
+ }
430
+ elsif ($payload_item->isa('Command')) {
389
431
  my $payload_length = @{$payload_item->{payload}};
390
432
  for (my $i = 0; $i < $payload_length; $i++) {
391
433
  $payload_item->{payload}[$i] = $self->encapsulate_payload_item($payload_item->{payload}[$i]);
@@ -395,22 +437,11 @@ sub encapsulate_payload_item {
395
437
  elsif ($payload_item->isa('Javonet::Sdk::Internal::InvocationContext')) {
396
438
  return $payload_item->get_current_command();
397
439
  }
398
- elsif (ref($payload_item) eq 'ARRAY') {
399
- my $payload_length = @$payload_item;
400
- for (my $i = 0; $i < $payload_length; $i++) {
401
- $payload_item->[$i] = $self->encapsulate_payload_item($payload_item->[$i]);
402
- }
403
- return PerlCommand->new(
404
- runtime => $self->{runtime_name},
405
- command_type => Javonet::Sdk::Core::PerlCommandType::get_command_type('Array'),
406
- payload => $payload_item
407
- );
408
- }
409
440
  else {
410
441
  return PerlCommand->new(
411
- runtime => $self->{runtime_name},
442
+ runtime => $self->{runtime_name},
412
443
  command_type => Javonet::Sdk::Core::PerlCommandType::get_command_type('Value'),
413
- payload => [$payload_item]
444
+ payload => [ $payload_item ]
414
445
  );
415
446
  }
416
447
  }
@@ -239,15 +239,25 @@ sub build_command {
239
239
  sub encapsulate_payload_item {
240
240
  my ($self, $payload_item) = @_;
241
241
 
242
- if(!defined $payload_item) {
242
+ if (!defined $payload_item) {
243
243
  return PerlCommand->new(
244
- runtime => $self->{runtime_name},
244
+ runtime => $self->{runtime_name},
245
245
  command_type => Javonet::Sdk::Core::PerlCommandType::get_command_type('Value'),
246
- payload => []
246
+ payload => []
247
247
  );
248
248
  }
249
-
250
- if ($payload_item->isa('Command')) {
249
+ if (ref($payload_item) eq 'ARRAY') {
250
+ my $payload_length = @$payload_item;
251
+ for (my $i = 0; $i < $payload_length; $i++) {
252
+ $payload_item->[$i] = $self->encapsulate_payload_item($payload_item->[$i]);
253
+ }
254
+ return PerlCommand->new(
255
+ runtime => $self->{runtime_name},
256
+ command_type => Javonet::Sdk::Core::PerlCommandType::get_command_type('Array'),
257
+ payload => $payload_item
258
+ );
259
+ }
260
+ elsif ($payload_item->isa('Command')) {
251
261
  my $payload_length = @{$payload_item->{payload}};
252
262
  for (my $i = 0; $i < $payload_length; $i++) {
253
263
  $payload_item->{payload}[$i] = $self->encapsulate_payload_item($payload_item->{payload}[$i]);
@@ -257,22 +267,11 @@ sub encapsulate_payload_item {
257
267
  elsif ($payload_item->isa('Javonet::Sdk::Internal::InvocationContext')) {
258
268
  return $payload_item->get_current_command();
259
269
  }
260
- elsif (ref($payload_item) eq 'ARRAY') {
261
- my $payload_length = @$payload_item;
262
- for (my $i = 0; $i < $payload_length; $i++) {
263
- $payload_item->[$i] = $self->encapsulate_payload_item($payload_item->[$i]);
264
- }
265
- return PerlCommand->new(
266
- runtime => $self->{runtime_name},
267
- command_type => Javonet::Sdk::Core::PerlCommandType::get_command_type('Array'),
268
- payload => $payload_item
269
- );
270
- }
271
270
  else {
272
271
  return PerlCommand->new(
273
- runtime => $self->{runtime_name},
272
+ runtime => $self->{runtime_name},
274
273
  command_type => Javonet::Sdk::Core::PerlCommandType::get_command_type('Value'),
275
- payload => [$payload_item]
274
+ payload => [ $payload_item ]
276
275
  );
277
276
  }
278
277
  }
@@ -1,4 +1,4 @@
1
- =head2 Thu Feb 13 08:30:02 2025: C<Module> L<Test::Fatal|Test::Fatal>
1
+ =head2 Wed Mar 12 20:11:54 2025: C<Module> L<Test::Fatal|Test::Fatal>
2
2
 
3
3
  =over 4
4
4
 
@@ -20,7 +20,7 @@ C<EXE_FILES: >
20
20
 
21
21
  =back
22
22
 
23
- =head2 Thu Feb 13 08:30:26 2025: C<Module> L<autobox|autobox>
23
+ =head2 Wed Mar 12 20:12:18 2025: C<Module> L<autobox|autobox>
24
24
 
25
25
  =over 4
26
26
 
@@ -42,7 +42,7 @@ C<EXE_FILES: >
42
42
 
43
43
  =back
44
44
 
45
- =head2 Thu Feb 13 08:30:32 2025: C<Module> L<Safe::Isa|Safe::Isa>
45
+ =head2 Wed Mar 12 20:12:25 2025: C<Module> L<Safe::Isa|Safe::Isa>
46
46
 
47
47
  =over 4
48
48
 
@@ -64,7 +64,7 @@ C<EXE_FILES: >
64
64
 
65
65
  =back
66
66
 
67
- =head2 Thu Feb 13 08:30:39 2025: C<Module> L<YAML::PP|YAML::PP>
67
+ =head2 Wed Mar 12 20:12:35 2025: C<Module> L<YAML::PP|YAML::PP>
68
68
 
69
69
  =over 4
70
70
 
@@ -86,7 +86,7 @@ C<EXE_FILES: bin/yamlpp-events bin/yamlpp-highlight bin/yamlpp-load bin/yamlpp-l
86
86
 
87
87
  =back
88
88
 
89
- =head2 Thu Feb 13 08:30:43 2025: C<Module> L<PPI|PPI>
89
+ =head2 Wed Mar 12 20:12:40 2025: C<Module> L<PPI|PPI>
90
90
 
91
91
  =over 4
92
92
 
@@ -108,7 +108,7 @@ C<EXE_FILES: >
108
108
 
109
109
  =back
110
110
 
111
- =head2 Thu Feb 13 08:30:47 2025: C<Module> L<PPI::XS|PPI::XS>
111
+ =head2 Wed Mar 12 20:12:46 2025: C<Module> L<Want|Want>
112
112
 
113
113
  =over 4
114
114
 
@@ -122,7 +122,7 @@ C<LINKTYPE: dynamic>
122
122
 
123
123
  =item *
124
124
 
125
- C<VERSION: 0.910>
125
+ C<VERSION: 0.29>
126
126
 
127
127
  =item *
128
128
 
@@ -130,7 +130,7 @@ C<EXE_FILES: >
130
130
 
131
131
  =back
132
132
 
133
- =head2 Thu Feb 13 08:30:52 2025: C<Module> L<Want|Want>
133
+ =head2 Wed Mar 12 20:12:53 2025: C<Module> L<PPI::XS|PPI::XS>
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.29>
147
+ C<VERSION: 0.910>
148
148
 
149
149
  =item *
150
150
 
@@ -152,7 +152,7 @@ C<EXE_FILES: >
152
152
 
153
153
  =back
154
154
 
155
- =head2 Thu Feb 13 08:30:55 2025: C<Module> L<Nice::Try|Nice::Try>
155
+ =head2 Wed Mar 12 20:12:56 2025: C<Module> L<Nice::Try|Nice::Try>
156
156
 
157
157
  =over 4
158
158
 
@@ -174,7 +174,7 @@ C<EXE_FILES: >
174
174
 
175
175
  =back
176
176
 
177
- =head2 Thu Feb 13 08:30:58 2025: C<Module> L<Data::Cmp|Data::Cmp>
177
+ =head2 Wed Mar 12 20:13:04 2025: C<Module> L<Data::UUID|Data::UUID>
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: 0.010>
191
+ C<VERSION: 1.227>
192
192
 
193
193
  =item *
194
194
 
@@ -196,7 +196,7 @@ C<EXE_FILES: >
196
196
 
197
197
  =back
198
198
 
199
- =head2 Thu Feb 13 08:31:05 2025: C<Module> L<Data::UUID|Data::UUID>
199
+ =head2 Wed Mar 12 20:13:10 2025: C<Module> L<Scalar::Util::Numeric|Scalar::Util::Numeric>
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: 1.227>
213
+ C<VERSION: 0.40>
214
214
 
215
215
  =item *
216
216
 
@@ -218,7 +218,7 @@ C<EXE_FILES: >
218
218
 
219
219
  =back
220
220
 
221
- =head2 Thu Feb 13 08:31:08 2025: C<Module> L<Attribute::Util|Attribute::Util>
221
+ =head2 Wed Mar 12 20:13:14 2025: C<Module> L<Data::Cmp|Data::Cmp>
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: 1.07>
235
+ C<VERSION: 0.010>
236
236
 
237
237
  =item *
238
238
 
@@ -240,7 +240,7 @@ C<EXE_FILES: >
240
240
 
241
241
  =back
242
242
 
243
- =head2 Thu Feb 13 08:31:13 2025: C<Module> L<Scalar::Util::Numeric|Scalar::Util::Numeric>
243
+ =head2 Wed Mar 12 20:13:18 2025: C<Module> L<Attribute::Util|Attribute::Util>
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: 0.40>
257
+ C<VERSION: 1.07>
258
258
 
259
259
  =item *
260
260
 
@@ -6,6 +6,7 @@ use FFI::Platypus;
6
6
  use Path::Tiny;
7
7
  use File::Spec;
8
8
  use Config;
9
+ use Cwd;
9
10
  use POSIX qw(uname);
10
11
 
11
12
  my $ffi;
@@ -23,7 +24,7 @@ sub initialize {
23
24
  $ffi = FFI::Platypus->new(api => 1);
24
25
  use FFI::Platypus::DL qw(dlopen dlerror RTLD_PLATYPUS_DEFAULT);
25
26
  my $dir = File::Spec->rel2abs(__FILE__);
26
- my $current_dir = path($dir)->parent(3);
27
+ my $current_dir = getcwd();
27
28
  my $perl_native_lib;
28
29
 
29
30
  my $arch = do {
@@ -48,7 +49,14 @@ sub initialize {
48
49
  else {
49
50
  $perl_native_lib = "Binaries/Native/Windows/$arch/JavonetPerlRuntimeNative.dll";
50
51
  }
51
- $ffi->lib("$current_dir/$perl_native_lib");
52
+
53
+ my $full_native_lib_path = "$current_dir/$perl_native_lib";
54
+ my $error_message = "Native library not found at $full_native_lib_path\n" .
55
+ "Please Download and unzip Binaries at $current_dir directory folder using this link: https://download.javonet.com/binaries/Binaries.zip\n" .
56
+ "For more info please visit: https://www.javonet.com/guides/v2/getting-started/getting-started-perl";
57
+ die $error_message unless -e $full_native_lib_path;
58
+ $ffi->lib($full_native_lib_path);
59
+
52
60
  $send_command_native = $ffi->function('SendCommand' => [ 'uchar[]', 'int' ] => 'int');
53
61
  $read_response_native = $ffi->function('ReadResponse' => [ 'uchar[]', 'int' ] => 'int');
54
62
  $activate_native = $ffi->function('Activate' => ['string'] => 'int');
@@ -20,7 +20,7 @@ my %command_type = (
20
20
  'GetInstanceField' => 13,
21
21
  'Optimize' => 14,
22
22
  'GenerateLib' => 15,
23
- 'InvokeGlobalFunction' => 16,
23
+ 'InvokeGlobalFunction' => 16,
24
24
  'DestructReference' => 17,
25
25
  'Array' => 18,
26
26
  'ArrayGetItem' => 19,
@@ -331,8 +331,8 @@ sub get_ref_value {
331
331
  );
332
332
  return Javonet::Sdk::Internal::InvocationContext->new(
333
333
  $self->{runtime_name},
334
- $self->get_connection_type(),
335
- $self->get_tcp_address(),
334
+ $self->{connection_type},
335
+ $self->{tcp_address},
336
336
  $self->build_command($command),
337
337
  0
338
338
  );
@@ -347,8 +347,40 @@ sub create_null {
347
347
  );
348
348
  return Javonet::Sdk::Internal::InvocationContext->new(
349
349
  $self->{runtime_name},
350
- $self->get_connection_type(),
351
- $self->get_tcp_address(),
350
+ $self->{connection_type},
351
+ $self->{tcp_address},
352
+ $self->build_command($command),
353
+ 0
354
+ );
355
+ }
356
+
357
+ sub get_static_method_as_delegate {
358
+ my ($self, @arguments) = @_;
359
+ my $command = PerlCommand->new(
360
+ runtime => $self->{runtime_name},
361
+ command_type => Javonet::Sdk::Core::PerlCommandType::get_command_type('GetStaticMethodAsDelegate'),
362
+ payload => \@arguments
363
+ );
364
+ return Javonet::Sdk::Internal::InvocationContext->new(
365
+ $self->{runtime_name},
366
+ $self->{connection_type},
367
+ $self->{tcp_address},
368
+ $self->build_command($command),
369
+ 0
370
+ );
371
+ }
372
+
373
+ sub get_instance_method_as_delegate {
374
+ my ($self, @arguments) = @_;
375
+ my $command = PerlCommand->new(
376
+ runtime => $self->{runtime_name},
377
+ command_type => Javonet::Sdk::Core::PerlCommandType::get_command_type('GetInstanceMethodAsDelegate'),
378
+ payload => \@arguments
379
+ );
380
+ return Javonet::Sdk::Internal::InvocationContext->new(
381
+ $self->{runtime_name},
382
+ $self->{connection_type},
383
+ $self->{tcp_address},
352
384
  $self->build_command($command),
353
385
  0
354
386
  );
@@ -377,15 +409,25 @@ sub build_command {
377
409
  sub encapsulate_payload_item {
378
410
  my ($self, $payload_item) = @_;
379
411
 
380
- if(!defined $payload_item) {
412
+ if (!defined $payload_item) {
381
413
  return PerlCommand->new(
382
- runtime => $self->{runtime_name},
414
+ runtime => $self->{runtime_name},
383
415
  command_type => Javonet::Sdk::Core::PerlCommandType::get_command_type('Value'),
384
- payload => []
416
+ payload => []
385
417
  );
386
418
  }
387
-
388
- if ($payload_item->isa('Command')) {
419
+ if (ref($payload_item) eq 'ARRAY') {
420
+ my $payload_length = @$payload_item;
421
+ for (my $i = 0; $i < $payload_length; $i++) {
422
+ $payload_item->[$i] = $self->encapsulate_payload_item($payload_item->[$i]);
423
+ }
424
+ return PerlCommand->new(
425
+ runtime => $self->{runtime_name},
426
+ command_type => Javonet::Sdk::Core::PerlCommandType::get_command_type('Array'),
427
+ payload => $payload_item
428
+ );
429
+ }
430
+ elsif ($payload_item->isa('Command')) {
389
431
  my $payload_length = @{$payload_item->{payload}};
390
432
  for (my $i = 0; $i < $payload_length; $i++) {
391
433
  $payload_item->{payload}[$i] = $self->encapsulate_payload_item($payload_item->{payload}[$i]);
@@ -395,22 +437,11 @@ sub encapsulate_payload_item {
395
437
  elsif ($payload_item->isa('Javonet::Sdk::Internal::InvocationContext')) {
396
438
  return $payload_item->get_current_command();
397
439
  }
398
- elsif (ref($payload_item) eq 'ARRAY') {
399
- my $payload_length = @$payload_item;
400
- for (my $i = 0; $i < $payload_length; $i++) {
401
- $payload_item->[$i] = $self->encapsulate_payload_item($payload_item->[$i]);
402
- }
403
- return PerlCommand->new(
404
- runtime => $self->{runtime_name},
405
- command_type => Javonet::Sdk::Core::PerlCommandType::get_command_type('Array'),
406
- payload => $payload_item
407
- );
408
- }
409
440
  else {
410
441
  return PerlCommand->new(
411
- runtime => $self->{runtime_name},
442
+ runtime => $self->{runtime_name},
412
443
  command_type => Javonet::Sdk::Core::PerlCommandType::get_command_type('Value'),
413
- payload => [$payload_item]
444
+ payload => [ $payload_item ]
414
445
  );
415
446
  }
416
447
  }
@@ -239,15 +239,25 @@ sub build_command {
239
239
  sub encapsulate_payload_item {
240
240
  my ($self, $payload_item) = @_;
241
241
 
242
- if(!defined $payload_item) {
242
+ if (!defined $payload_item) {
243
243
  return PerlCommand->new(
244
- runtime => $self->{runtime_name},
244
+ runtime => $self->{runtime_name},
245
245
  command_type => Javonet::Sdk::Core::PerlCommandType::get_command_type('Value'),
246
- payload => []
246
+ payload => []
247
247
  );
248
248
  }
249
-
250
- if ($payload_item->isa('Command')) {
249
+ if (ref($payload_item) eq 'ARRAY') {
250
+ my $payload_length = @$payload_item;
251
+ for (my $i = 0; $i < $payload_length; $i++) {
252
+ $payload_item->[$i] = $self->encapsulate_payload_item($payload_item->[$i]);
253
+ }
254
+ return PerlCommand->new(
255
+ runtime => $self->{runtime_name},
256
+ command_type => Javonet::Sdk::Core::PerlCommandType::get_command_type('Array'),
257
+ payload => $payload_item
258
+ );
259
+ }
260
+ elsif ($payload_item->isa('Command')) {
251
261
  my $payload_length = @{$payload_item->{payload}};
252
262
  for (my $i = 0; $i < $payload_length; $i++) {
253
263
  $payload_item->{payload}[$i] = $self->encapsulate_payload_item($payload_item->{payload}[$i]);
@@ -257,22 +267,11 @@ sub encapsulate_payload_item {
257
267
  elsif ($payload_item->isa('Javonet::Sdk::Internal::InvocationContext')) {
258
268
  return $payload_item->get_current_command();
259
269
  }
260
- elsif (ref($payload_item) eq 'ARRAY') {
261
- my $payload_length = @$payload_item;
262
- for (my $i = 0; $i < $payload_length; $i++) {
263
- $payload_item->[$i] = $self->encapsulate_payload_item($payload_item->[$i]);
264
- }
265
- return PerlCommand->new(
266
- runtime => $self->{runtime_name},
267
- command_type => Javonet::Sdk::Core::PerlCommandType::get_command_type('Array'),
268
- payload => $payload_item
269
- );
270
- }
271
270
  else {
272
271
  return PerlCommand->new(
273
- runtime => $self->{runtime_name},
272
+ runtime => $self->{runtime_name},
274
273
  command_type => Javonet::Sdk::Core::PerlCommandType::get_command_type('Value'),
275
- payload => [$payload_item]
274
+ payload => [ $payload_item ]
276
275
  );
277
276
  }
278
277
  }