javonet-ruby-sdk 2.5.0 → 2.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Clr/Javonet.Clr.Utils.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Clr/JavonetClrRuntime.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Jvm/JavonetJvmRuntime.jar +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/dynamicCompilationHeaders/Linux/jni.h +1960 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/dynamicCompilationHeaders/Linux/jni_md.h +51 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/dynamicCompilationHeaders/MacOs/jni.h +1960 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/dynamicCompilationHeaders/MacOs/jni_md.h +51 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/dynamicCompilationHeaders/Windows/jni.h +1960 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/dynamicCompilationHeaders/Windows/jni_md.h +37 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetActivationService.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetCppRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetGoRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetJvmRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetNetcoreRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetPythonRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetRuby278RuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetRubyRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetTcpClient.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetTcpTlsClient.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libUtils.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/version.txt +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/NativeUtilsUnitTests.xml +18 -18
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetActivationService.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetCppRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetGoRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetJvmRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetNetcoreRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetNodejs1816RuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetNodejsRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetPerlRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetPythonRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetRuby278RuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetRubyRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetTcpClient.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetTcpTlsClient.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libUtils.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libnethost.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/openssl3/libJavonetActivationService.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/openssl3/libJavonetTcpTlsClient.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/openssl3/libUtils.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/version.txt +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetActivationService.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetCppRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetGoRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetJvmRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetNetcoreRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetNodejs1816RuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetNodejsRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetPerlRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetPythonRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetRuby278RuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetRubyRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetTcpClient.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetTcpTlsClient.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libUtils.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libnethost.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/version.txt +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetActivationService.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetCppRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetGoRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetJvmRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetNetcoreRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetPythonRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetRuby278RuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetRubyRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetTcpClient.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetTcpTlsClient.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/NetVersion31LatestPatch.runtimeconfig.json +10 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/NetVersion60LatestPatch.runtimeconfig.json +10 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/NetVersion70LatestPatch.runtimeconfig.json +10 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/NetVersion80LatestPatch.runtimeconfig.json +10 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/NetVersionLatest.runtimeconfig.json +10 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/Utils.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/dynamicCompilationHeaders/Linux/jni.h +1960 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/dynamicCompilationHeaders/Linux/jni_md.h +51 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/dynamicCompilationHeaders/MacOs/jni.h +1960 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/dynamicCompilationHeaders/MacOs/jni_md.h +51 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/dynamicCompilationHeaders/Windows/jni.h +1960 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/dynamicCompilationHeaders/Windows/jni_md.h +37 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/libcrypto-3-arm64.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/libssl-3-arm64.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/libxml2.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/libxmlsec-openssl.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/libxmlsec.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/libxslt.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/nethost.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/python312.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/version.txt +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetActivationService.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetClrRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetCppRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetGoRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetJvmRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetNetcoreRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetNodejs1816RuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetNodejsRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetPerlRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetPythonRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetRuby278RuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetRubyRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetTcpClient.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetTcpTlsClient.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/Utils.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/version.txt +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetActivationService.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetClrRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetCppRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetGoRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetJvmRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetNetcoreRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetPythonRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetTcpClient.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetTcpTlsClient.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/Utils.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/version.txt +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Netcore/Javonet.Netcore.Core.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Netcore/Javonet.Netcore.Utils.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/core/interpreter/Interpreter.js +43 -24
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/core/protocol/CommandSerializer.js +7 -31
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/core/receiver/Receiver.js +6 -1
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/core/transmitter/Transmitter.js +2 -14
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/core/webSocketClient/WebSocketClient.js +133 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/utils/ConnectionType.js +2 -1
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/utils/connectionData/IConnectionData.js +17 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/utils/connectionData/InMemoryConnectionData.js +28 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/utils/{TcpConnectionData.js → connectionData/TcpConnectionData.js} +26 -6
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/utils/connectionData/WsConnectionData.js +33 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util/XS.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/Scalar/List/Utils.pm +43 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/Scalar/Util.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/Sub/Util.pm +1 -1
- 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
- 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
- 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
- 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
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Moose/Moose.so +0 -0
- 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
- 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
- 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
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Want/Want.so +0 -0
- 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
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/perllocal.pod +89 -89
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Core/Transmitter/PerlTransmitterWrapper.pm +12 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Data/UUID/UUID.xs.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/PPI/XS/XS.xs.dll +0 -0
- 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
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Want/Want.xs.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/autobox/autobox.xs.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/perllocal.pod +19 -19
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Core/Transmitter/PerlTransmitterWrapper.pm +12 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/__pycache__/__init__.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/generator/__pycache__/__init__.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/generator/internal/__pycache__/PythonStringBuilder.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/generator/internal/__pycache__/__init__.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/CreateClassInstanceHandler.py +1 -7
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/GetTypeHandler.py +4 -3
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/AbstractCommandHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/AbstractHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArrayGetItemHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArrayGetRankHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArrayGetSizeHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArrayHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArraySetItemHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/CastingHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/CreateClassInstanceHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/DestructReferenceHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/EnableNamespaceHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/EnableTypeHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetEnumItemHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetEnumNameHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetEnumValueHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetInstanceFieldHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetStaticFieldHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetTypeHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/Handler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/HandlerDictionary.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/InvokeInstanceMethodHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/InvokeStaticMethodHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/LoadLibraryHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ResolveInstanceHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/SetInstanceFieldHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/SetStaticFieldHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ValueHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/__init__.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/interpreter/Interpreter.py +13 -17
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/interpreter/__pycache__/Interpreter.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/interpreter/__pycache__/__init__.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/namespaceCache/__pycache__/NamespaceCache.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/namespaceCache/__pycache__/__init__.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/CommandDeserializer.py +9 -9
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/__pycache__/CommandDeserializer.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/__pycache__/CommandSerializer.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/__pycache__/TypeDeserializer.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/__pycache__/TypeSerializer.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/__pycache__/__init__.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/receiver/Receiver.py +6 -6
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/receiver/__pycache__/Receiver.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/receiver/__pycache__/__init__.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/referenceCache/__pycache__/ReferencesCache.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/referenceCache/__pycache__/__init__.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/transmitter/TransmitterWrapper.py +7 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/typeCache/__pycache__/TypeCache.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/typeCache/__pycache__/__init__.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/webSocketClient/WebSocketClient.py +0 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/Command.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/CommandType.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/ConnectionType.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/ExceptionType.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/RuntimeName.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/StringEncodingMode.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/Type.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/__init__.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/connectionData/__pycache__/IConnectionData.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/connectionData/__pycache__/InMemoryConnectionData.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/connectionData/__pycache__/__init__.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/exception/__pycache__/ExceptionSerializer.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/exception/__pycache__/__init__.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/interpreter/interpreter.rb +6 -10
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/protocol/command_deserializer.rb +2 -2
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/transmitter/transmitter.rb +4 -16
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/transmitter/transmitter_wrapper.rb +12 -1
- data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/interpreter/interpreter.rb +6 -10
- data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/protocol/command_deserializer.rb +2 -2
- data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/transmitter/transmitter.rb +4 -16
- data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/transmitter/transmitter_wrapper.rb +12 -1
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/interpreter/interpreter.rb +6 -10
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/protocol/command_deserializer.rb +2 -2
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/transmitter/transmitter.rb +4 -16
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/transmitter/transmitter_wrapper.rb +12 -1
- data/lib/javonet-ruby-sdk/Binaries/version.txt +1 -1
- data/lib/javonet-ruby-sdk/core/interpreter/interpreter.rb +6 -10
- data/lib/javonet-ruby-sdk/core/protocol/command_deserializer.rb +2 -2
- data/lib/javonet-ruby-sdk/core/transmitter/transmitter.rb +4 -16
- data/lib/javonet-ruby-sdk/core/transmitter/transmitter_wrapper.rb +12 -1
- data/lib/javonet-ruby-sdk/sdk/invocation_context.rb +6 -0
- data/lib/javonet-ruby-sdk/sdk/javonet.rb +3 -3
- metadata +48 -3
@@ -25,7 +25,18 @@ sub initialize {
|
|
25
25
|
my $current_dir = path($dir)->parent(3);
|
26
26
|
my $perl_native_lib;
|
27
27
|
|
28
|
-
my $arch =
|
28
|
+
my $arch = do {
|
29
|
+
my $uname = (uname())[4];
|
30
|
+
if ($uname =~ /64/) {
|
31
|
+
"X64";
|
32
|
+
} elsif ($uname =~ /arm64|aarch64/) {
|
33
|
+
"ARM64";
|
34
|
+
} elsif ($uname =~ /arm/) {
|
35
|
+
"ARM";
|
36
|
+
} else {
|
37
|
+
"X86";
|
38
|
+
}
|
39
|
+
};
|
29
40
|
|
30
41
|
if ($osname eq "linux") {
|
31
42
|
$perl_native_lib = "Binaries/Native/Linux/$arch/libJavonetPerlRuntimeNative.so";
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,4 +1,4 @@
|
|
1
|
-
=head2
|
1
|
+
=head2 Thu Oct 24 19:06:20 2024: C<Module> L<Data::UUID|Data::UUID>
|
2
2
|
|
3
3
|
=over 4
|
4
4
|
|
@@ -12,7 +12,7 @@ C<LINKTYPE: dynamic>
|
|
12
12
|
|
13
13
|
=item *
|
14
14
|
|
15
|
-
C<VERSION:
|
15
|
+
C<VERSION: 1.227>
|
16
16
|
|
17
17
|
=item *
|
18
18
|
|
@@ -20,7 +20,7 @@ C<EXE_FILES: >
|
|
20
20
|
|
21
21
|
=back
|
22
22
|
|
23
|
-
=head2
|
23
|
+
=head2 Thu Oct 24 19:06:23 2024: C<Module> L<Attribute::Util|Attribute::Util>
|
24
24
|
|
25
25
|
=over 4
|
26
26
|
|
@@ -34,7 +34,7 @@ C<LINKTYPE: dynamic>
|
|
34
34
|
|
35
35
|
=item *
|
36
36
|
|
37
|
-
C<VERSION: 1.
|
37
|
+
C<VERSION: 1.07>
|
38
38
|
|
39
39
|
=item *
|
40
40
|
|
@@ -42,7 +42,7 @@ C<EXE_FILES: >
|
|
42
42
|
|
43
43
|
=back
|
44
44
|
|
45
|
-
=head2
|
45
|
+
=head2 Thu Oct 24 19:06:27 2024: C<Module> L<Data::Cmp|Data::Cmp>
|
46
46
|
|
47
47
|
=over 4
|
48
48
|
|
@@ -56,7 +56,7 @@ C<LINKTYPE: dynamic>
|
|
56
56
|
|
57
57
|
=item *
|
58
58
|
|
59
|
-
C<VERSION: 0.
|
59
|
+
C<VERSION: 0.010>
|
60
60
|
|
61
61
|
=item *
|
62
62
|
|
@@ -64,7 +64,7 @@ C<EXE_FILES: >
|
|
64
64
|
|
65
65
|
=back
|
66
66
|
|
67
|
-
=head2
|
67
|
+
=head2 Thu Oct 24 19:06:31 2024: C<Module> L<Test::Fatal|Test::Fatal>
|
68
68
|
|
69
69
|
=over 4
|
70
70
|
|
@@ -78,7 +78,7 @@ C<LINKTYPE: dynamic>
|
|
78
78
|
|
79
79
|
=item *
|
80
80
|
|
81
|
-
C<VERSION:
|
81
|
+
C<VERSION: 0.017>
|
82
82
|
|
83
83
|
=item *
|
84
84
|
|
@@ -86,7 +86,7 @@ C<EXE_FILES: >
|
|
86
86
|
|
87
87
|
=back
|
88
88
|
|
89
|
-
=head2
|
89
|
+
=head2 Thu Oct 24 19:06:36 2024: C<Module> L<autobox|autobox>
|
90
90
|
|
91
91
|
=over 4
|
92
92
|
|
@@ -100,7 +100,7 @@ C<LINKTYPE: dynamic>
|
|
100
100
|
|
101
101
|
=item *
|
102
102
|
|
103
|
-
C<VERSION:
|
103
|
+
C<VERSION: v3.0.2>
|
104
104
|
|
105
105
|
=item *
|
106
106
|
|
@@ -108,7 +108,7 @@ C<EXE_FILES: >
|
|
108
108
|
|
109
109
|
=back
|
110
110
|
|
111
|
-
=head2
|
111
|
+
=head2 Thu Oct 24 19:06:42 2024: 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:
|
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
|
133
|
+
=head2 Thu Oct 24 19:06:47 2024: C<Module> L<PPI|PPI>
|
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:
|
147
|
+
C<VERSION: 1.279>
|
148
148
|
|
149
149
|
=item *
|
150
150
|
|
@@ -152,7 +152,7 @@ C<EXE_FILES: >
|
|
152
152
|
|
153
153
|
=back
|
154
154
|
|
155
|
-
=head2
|
155
|
+
=head2 Thu Oct 24 19:06:52 2024: C<Module> L<PPI::XS|PPI::XS>
|
156
156
|
|
157
157
|
=over 4
|
158
158
|
|
@@ -166,7 +166,7 @@ C<LINKTYPE: dynamic>
|
|
166
166
|
|
167
167
|
=item *
|
168
168
|
|
169
|
-
C<VERSION: 0.
|
169
|
+
C<VERSION: 0.910>
|
170
170
|
|
171
171
|
=item *
|
172
172
|
|
@@ -174,7 +174,7 @@ C<EXE_FILES: >
|
|
174
174
|
|
175
175
|
=back
|
176
176
|
|
177
|
-
=head2
|
177
|
+
=head2 Thu Oct 24 19:06:55 2024: C<Module> L<Nice::Try|Nice::Try>
|
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:
|
191
|
+
C<VERSION: v1.3.13>
|
192
192
|
|
193
193
|
=item *
|
194
194
|
|
@@ -196,7 +196,7 @@ C<EXE_FILES: >
|
|
196
196
|
|
197
197
|
=back
|
198
198
|
|
199
|
-
=head2
|
199
|
+
=head2 Thu Oct 24 19:07:00 2024: C<Module> L<Scalar::Util::Numeric|Scalar::Util::Numeric>
|
200
200
|
|
201
201
|
=over 4
|
202
202
|
|
@@ -25,7 +25,18 @@ sub initialize {
|
|
25
25
|
my $current_dir = path($dir)->parent(3);
|
26
26
|
my $perl_native_lib;
|
27
27
|
|
28
|
-
my $arch =
|
28
|
+
my $arch = do {
|
29
|
+
my $uname = (uname())[4];
|
30
|
+
if ($uname =~ /64/) {
|
31
|
+
"X64";
|
32
|
+
} elsif ($uname =~ /arm64|aarch64/) {
|
33
|
+
"ARM64";
|
34
|
+
} elsif ($uname =~ /arm/) {
|
35
|
+
"ARM";
|
36
|
+
} else {
|
37
|
+
"X86";
|
38
|
+
}
|
39
|
+
};
|
29
40
|
|
30
41
|
if ($osname eq "linux") {
|
31
42
|
$perl_native_lib = "Binaries/Native/Linux/$arch/libJavonetPerlRuntimeNative.so";
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/CreateClassInstanceHandler.py
CHANGED
@@ -14,13 +14,7 @@ class CreateClassInstanceHandler(AbstractCommandHandler):
|
|
14
14
|
clazz = command.payload[0]
|
15
15
|
if len(command.payload) > 1:
|
16
16
|
method_arguments = command.payload[1:]
|
17
|
-
|
18
|
-
if len(sig.parameters) != len(method_arguments):
|
19
|
-
raise Exception("Number of arguments for create class instance are not matching!")
|
20
|
-
try:
|
21
|
-
return clazz(*method_arguments)
|
22
|
-
except:
|
23
|
-
raise Exception("Error while creating class instance!")
|
17
|
+
return clazz(*method_arguments)
|
24
18
|
return clazz()
|
25
19
|
except Exception as e:
|
26
20
|
exc_type, exc_value = type(e), e
|
@@ -51,6 +51,7 @@ class GetTypeHandler(AbstractCommandHandler):
|
|
51
51
|
return self._get_type_from_nested_payload(command.payload)
|
52
52
|
|
53
53
|
def _get_type_from_nested_payload(self, payload):
|
54
|
-
|
55
|
-
|
56
|
-
|
54
|
+
module_name = ".".join(payload[:-1])
|
55
|
+
class_name = payload[-1]
|
56
|
+
loaded_module = import_module(module_name)
|
57
|
+
return getattr(loaded_module, class_name)
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/Handler.cpython-312.pyc
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/__init__.cpython-312.pyc
CHANGED
Binary file
|
@@ -5,30 +5,26 @@ from javonet.utils.ConnectionType import ConnectionType
|
|
5
5
|
from javonet.utils.RuntimeName import RuntimeName
|
6
6
|
from javonet.utils.connectionData.IConnectionData import IConnectionData
|
7
7
|
|
8
|
+
handler = Handler()
|
9
|
+
|
10
|
+
|
8
11
|
class Interpreter:
|
9
12
|
|
10
13
|
def execute(self, command, connection_data: IConnectionData):
|
11
|
-
|
12
|
-
serialized_command = command_serializer.serialize(command, connection_data)
|
13
|
-
response = None
|
14
|
+
message_byte_array = CommandSerializer().serialize(command, connection_data)
|
14
15
|
if connection_data.connection_type == ConnectionType.WebSocket:
|
15
16
|
from javonet.core.webSocketClient.WebSocketClient import WebSocketClient
|
16
|
-
|
17
|
-
elif (command.runtime_name == RuntimeName.python) & (
|
17
|
+
response_byte_array = WebSocketClient().send_message(connection_data, message_byte_array)
|
18
|
+
elif (command.runtime_name == RuntimeName.python) & (
|
19
|
+
connection_data.connection_type == ConnectionType.InMemory):
|
18
20
|
from javonet.core.receiver.Receiver import Receiver
|
19
|
-
|
21
|
+
response_byte_array = Receiver().SendCommand(message_byte_array, len(message_byte_array))
|
20
22
|
else:
|
21
23
|
from javonet.core.transmitter.Transmitter import Transmitter
|
22
|
-
|
24
|
+
response_byte_array = Transmitter.send_command(message_byte_array)
|
23
25
|
|
24
|
-
|
25
|
-
return command_deserializer.deserialize()
|
26
|
+
return CommandDeserializer(response_byte_array).deserialize()
|
26
27
|
|
27
|
-
def process(self,
|
28
|
-
|
29
|
-
|
30
|
-
python_handler = Handler()
|
31
|
-
command_serializer = CommandSerializer()
|
32
|
-
response_command = python_handler.handle_command(received_command)
|
33
|
-
encoded_response = command_serializer.serialize(response_command, connection_data)
|
34
|
-
return encoded_response
|
28
|
+
def process(self, message_byte_array):
|
29
|
+
received_command = CommandDeserializer(message_byte_array).deserialize()
|
30
|
+
return handler.handle_command(received_command)
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -6,15 +6,16 @@ from javonet.utils.Type import Type
|
|
6
6
|
from javonet.utils.StringEncodingMode import StringEncodingMode
|
7
7
|
|
8
8
|
|
9
|
+
|
9
10
|
class CommandDeserializer:
|
10
11
|
position = 0
|
11
12
|
buffer = []
|
12
13
|
command = 0
|
13
14
|
buffer_len = 0
|
14
15
|
|
15
|
-
def __init__(self, buffer
|
16
|
+
def __init__(self, buffer):
|
16
17
|
self.buffer = buffer
|
17
|
-
self.buffer_len =
|
18
|
+
self.buffer_len = len(buffer)
|
18
19
|
self.command = Command(RuntimeName(buffer[0]), CommandType(buffer[10]), [])
|
19
20
|
self.position = 11
|
20
21
|
|
@@ -68,7 +69,7 @@ class CommandDeserializer:
|
|
68
69
|
|
69
70
|
def read_string(self):
|
70
71
|
p = self.position
|
71
|
-
string_encoding_mode = StringEncodingMode(self.buffer[p+1])
|
72
|
+
string_encoding_mode = StringEncodingMode(self.buffer[p + 1])
|
72
73
|
size = TypeDeserializer.deserialize_int(self.buffer[p + 2:p + 6])
|
73
74
|
self.position += 6
|
74
75
|
p = self.position
|
@@ -87,7 +88,7 @@ class CommandDeserializer:
|
|
87
88
|
self.position += 2
|
88
89
|
p = self.position
|
89
90
|
self.position += size
|
90
|
-
return TypeDeserializer.deserialize_bool(self.buffer[p:p+size])
|
91
|
+
return TypeDeserializer.deserialize_bool(self.buffer[p:p + size])
|
91
92
|
|
92
93
|
def read_float(self):
|
93
94
|
size = 4
|
@@ -95,20 +96,20 @@ class CommandDeserializer:
|
|
95
96
|
p = self.position
|
96
97
|
self.position += size
|
97
98
|
return TypeDeserializer.deserialize_float(self.buffer[p:p + size])
|
98
|
-
|
99
|
+
|
99
100
|
def read_byte(self):
|
100
101
|
size = 1
|
101
102
|
self.position += 2
|
102
103
|
p = self.position
|
103
104
|
self.position += size
|
104
|
-
return TypeDeserializer.deserialize_byte(self.buffer[p:p+size])
|
105
|
-
|
105
|
+
return TypeDeserializer.deserialize_byte(self.buffer[p:p + size])
|
106
|
+
|
106
107
|
def read_char(self):
|
107
108
|
size = 1
|
108
109
|
self.position += 2
|
109
110
|
p = self.position
|
110
111
|
self.position += size
|
111
|
-
return TypeDeserializer.deserialize_char(self.buffer[p:p+size])
|
112
|
+
return TypeDeserializer.deserialize_char(self.buffer[p:p + size])
|
112
113
|
|
113
114
|
def read_longlong(self):
|
114
115
|
size = 8
|
@@ -144,4 +145,3 @@ class CommandDeserializer:
|
|
144
145
|
p = self.position
|
145
146
|
self.position += size
|
146
147
|
return TypeDeserializer.deserialize_none(self.buffer[p:p + size])
|
147
|
-
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/__pycache__/__init__.cpython-312.pyc
CHANGED
Binary file
|
@@ -1,18 +1,18 @@
|
|
1
1
|
from javonet.core.interpreter.Interpreter import Interpreter
|
2
|
+
from javonet.core.protocol.CommandSerializer import CommandSerializer
|
2
3
|
from javonet.utils.connectionData.InMemoryConnectionData import InMemoryConnectionData
|
3
4
|
|
4
5
|
|
5
6
|
class Receiver:
|
6
7
|
|
7
8
|
def __init__(self):
|
8
|
-
self.python_interpreter = Interpreter()
|
9
9
|
self.connection_data = InMemoryConnectionData()
|
10
10
|
|
11
|
-
def SendCommand(self,
|
12
|
-
return bytearray(
|
11
|
+
def SendCommand(self, message_byte_array, messageByteArrayLen):
|
12
|
+
return bytearray(CommandSerializer().serialize(Interpreter().process(message_byte_array), self.connection_data))
|
13
13
|
|
14
|
-
def HeartBeat(self,
|
14
|
+
def HeartBeat(self, message_byte_array, messageByteArrayLen):
|
15
15
|
response_byte_array = bytearray(2)
|
16
|
-
response_byte_array[0] =
|
17
|
-
response_byte_array[1] =
|
16
|
+
response_byte_array[0] = message_byte_array[11]
|
17
|
+
response_byte_array[1] = message_byte_array[12] - 2
|
18
18
|
return response_byte_array
|
data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/receiver/__pycache__/Receiver.cpython-312.pyc
CHANGED
Binary file
|
data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/receiver/__pycache__/__init__.cpython-312.pyc
CHANGED
Binary file
|
Binary file
|
Binary file
|
@@ -10,7 +10,13 @@ callbackFunction = CMPFUNC(callbackFunc)
|
|
10
10
|
|
11
11
|
class TransmitterWrapper:
|
12
12
|
file_path = os.path.dirname(os.path.dirname(os.path.dirname(__file__)))
|
13
|
-
|
13
|
+
machine = platform.machine().lower()
|
14
|
+
if '64' in machine:
|
15
|
+
arch = 'X64'
|
16
|
+
elif 'arm' in machine:
|
17
|
+
arch = 'ARM64' if '64' in machine else 'ARM'
|
18
|
+
else:
|
19
|
+
arch = 'X86'
|
14
20
|
|
15
21
|
if platform.system() == 'Windows':
|
16
22
|
python_lib_path = file_path + f'/Binaries/Native/Windows/{arch}/JavonetPythonRuntimeNative.dll'
|
Binary file
|
Binary file
|
Binary file
|
data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/CommandType.cpython-312.pyc
CHANGED
Binary file
|
data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/ConnectionType.cpython-312.pyc
CHANGED
Binary file
|
data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/ExceptionType.cpython-312.pyc
CHANGED
Binary file
|
data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/RuntimeName.cpython-312.pyc
CHANGED
Binary file
|
Binary file
|
Binary file
|
data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/__init__.cpython-312.pyc
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -3,10 +3,10 @@ require_relative '../protocol/command_deserializer'
|
|
3
3
|
require_relative '../handler/handler'
|
4
4
|
|
5
5
|
class Interpreter
|
6
|
-
|
6
|
+
@@handler = Handler.new
|
7
7
|
|
8
|
-
|
9
|
-
message_byte_array =
|
8
|
+
def execute(command, connection_type, tcp_connection_data)
|
9
|
+
message_byte_array = CommandSerializer.new.serialize(command, connection_type, tcp_connection_data)
|
10
10
|
if command.runtime_name == RuntimeName::RUBY && connection_type == ConnectionType::IN_MEMORY
|
11
11
|
require_relative '../receiver/receiver'
|
12
12
|
response_byte_array = Receiver.new.send_command(message_byte_array, message_byte_array.length)
|
@@ -15,15 +15,11 @@ class Interpreter
|
|
15
15
|
response_byte_array = Transmitter.send_command(message_byte_array, message_byte_array.length)
|
16
16
|
end
|
17
17
|
|
18
|
-
|
19
|
-
command_deserializer.deserialize
|
18
|
+
CommandDeserializer.new(response_byte_array).deserialize
|
20
19
|
end
|
21
20
|
|
22
21
|
def process(byte_array, byte_array_len)
|
23
|
-
|
24
|
-
received_command
|
25
|
-
handler = Handler.new
|
26
|
-
command_serializer = CommandSerializer.new
|
27
|
-
command_serializer.serialize(handler.handle_command(received_command))
|
22
|
+
received_command = CommandDeserializer.new(byte_array).deserialize
|
23
|
+
CommandSerializer.new.serialize(@@handler.handle_command(received_command))
|
28
24
|
end
|
29
25
|
end
|
@@ -5,9 +5,9 @@ require_relative '../../utils/string_encoding_mode'
|
|
5
5
|
|
6
6
|
class CommandDeserializer
|
7
7
|
|
8
|
-
def initialize(buffer
|
8
|
+
def initialize(buffer)
|
9
9
|
@buffer = buffer
|
10
|
-
@byte_array_len =
|
10
|
+
@byte_array_len = buffer.length
|
11
11
|
@command = Command.new(buffer[0], buffer[10], [])
|
12
12
|
@position = 11
|
13
13
|
end
|