javonet-nodejs-sdk 2.5.13 → 2.5.15
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.
- package/Binaries/Clr/Javonet.Clr.Utils.dll +0 -0
- package/Binaries/Clr/JavonetClrRuntime.dll +0 -0
- package/Binaries/Jvm/JavonetJvmRuntime.jar +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetActivationService.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetCppRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetGoRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetJvmRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetNetcoreRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetPhpRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetPythonRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetRuby342RuntimeNative.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetRubyRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetTcpClient.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetTcpTlsClient.so +0 -0
- package/Binaries/Native/Linux/ARM64/libUtils.so +0 -0
- package/Binaries/Native/Linux/ARM64/version.txt +1 -1
- package/Binaries/Native/Linux/X64/libJavonetActivationService.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetCppRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetGoRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetJvmRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetNetcoreRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetNodejs1816RuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetNodejsRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetPerlRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetPhpRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetPython2RuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetPythonRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetRuby278RuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetRuby342RuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetRubyRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetTcpClient.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetTcpTlsClient.so +0 -0
- package/Binaries/Native/Linux/X64/libUtils.so +0 -0
- package/Binaries/Native/Linux/X64/libperl.so.5.34.0 +0 -0
- package/Binaries/Native/Linux/X64/libpython2.7.so.1.0 +0 -0
- package/Binaries/Native/Linux/X64/libruby.so.3.4.2 +0 -0
- package/Binaries/Native/Linux/X64/version.txt +1 -1
- package/Binaries/Native/MacOs/X64/libJavonetActivationService.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetCppRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetGoRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetJvmRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetNetcoreRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetNodejs1816RuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetNodejsRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetPhpRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetPythonRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetRuby278RuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetRuby342RuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetRubyRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetTcpClient.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetTcpTlsClient.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libUtils.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libruby.3.4.dylib +0 -0
- package/Binaries/Native/MacOs/X64/version.txt +1 -1
- package/Binaries/Native/Windows/ARM64/JavonetActivationService.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetCppRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetGoRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetJvmRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetNetcoreRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetPhpRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetPythonRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetRuby278RuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetRubyRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetTcpClient.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetTcpTlsClient.dll +0 -0
- package/Binaries/Native/Windows/ARM64/Utils.dll +0 -0
- package/Binaries/Native/Windows/ARM64/version.txt +0 -0
- package/Binaries/Native/Windows/X64/JavonetActivationService.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetClrRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetCppRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetGoRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetJvmRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetNetcoreRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetNodejs1816RuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetNodejsRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetPerl540RuntimeNativeAuxiliary.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetPerlRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetPhpRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetPython2RuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetPythonRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetRuby278RuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetRubyRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetTcpClient.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetTcpTlsClient.dll +0 -0
- package/Binaries/Native/Windows/X64/Utils.dll +0 -0
- package/Binaries/Native/Windows/X64/python27.dll +0 -0
- package/Binaries/Native/Windows/X64/version.txt +1 -1
- package/Binaries/Native/Windows/X64/x64-ucrt-ruby340.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetActivationService.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetClrRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetCppRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetGoRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetJvmRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetNetcoreRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetPhpRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetPython2RuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetPythonRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetTcpClient.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetTcpTlsClient.dll +0 -0
- package/Binaries/Native/Windows/X86/Utils.dll +0 -0
- package/Binaries/Native/Windows/X86/version.txt +1 -1
- package/Binaries/Netcore/Javonet.Netcore.Core.dll +0 -0
- package/Binaries/Netcore/Javonet.Netcore.Utils.dll +0 -0
- package/Binaries/Nodejs/lib/core/interpreter/Interpreter.js +4 -0
- package/Binaries/Nodejs/lib/core/protocol/CommandDeserializer.js +30 -14
- package/Binaries/Nodejs/lib/core/protocol/CommandSerializer.js +38 -25
- package/Binaries/Nodejs/lib/core/protocol/TypeSerializer.js +1 -1
- package/Binaries/Nodejs/lib/core/webSocketClient/WebSocketClient.js +51 -46
- package/Binaries/Nodejs/lib/sdk/ConfigRuntimeFactory.js +10 -0
- package/Binaries/Nodejs/lib/sdk/InvocationContext.js +3 -5
- package/Binaries/Nodejs/lib/sdk/Javonet.js +1 -1
- package/Binaries/Nodejs/lib/sdk/RuntimeContext.js +2 -4
- package/Binaries/Nodejs/lib/sdk/RuntimeFactory.js +9 -0
- package/Binaries/Nodejs/lib/utils/RuntimeName.js +2 -0
- package/Binaries/Nodejs/lib/utils/RuntimeNameHandler.js +4 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/Module/Runtime.pm +227 -222
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/Path/Tiny.pm +74 -15
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Attribute-Util-1.07/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Attribute-Util-1.07/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Capture-Tiny-0.50/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Capture-Tiny-0.50/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Class-Load-0.25/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Class-Load-0.25/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Class-Load-XS-0.10/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Class-Load-XS-0.10/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Data-Cmp-0.010/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Data-Cmp-0.010/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Data-OptList-0.114/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Data-OptList-0.114/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Data-UUID-1.227/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Data-UUID-1.227/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Devel-GlobalDestruction-0.14/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Devel-GlobalDestruction-0.14/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Devel-OverloadInfo-0.007/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Devel-OverloadInfo-0.007/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Devel-StackTrace-2.05/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Devel-StackTrace-2.05/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Dist-CheckConflicts-0.11/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Dist-CheckConflicts-0.11/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Eval-Closure-0.14/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Eval-Closure-0.14/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/ExtUtils-Config-0.010/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/ExtUtils-Config-0.010/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/ExtUtils-Helpers-0.028/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/ExtUtils-Helpers-0.028/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/ExtUtils-InstallPaths-0.014/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/ExtUtils-InstallPaths-0.014/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/FFI-CheckLib-0.31/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/FFI-CheckLib-0.31/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/FFI-Platypus-2.10/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/FFI-Platypus-2.10/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/File-Which-1.27/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/File-Which-1.27/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/IPC-System-Simple-1.30/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/IPC-System-Simple-1.30/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/MRO-Compat-0.15/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/MRO-Compat-0.15/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Build-Tiny-0.051/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Build-Tiny-0.051/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Implementation-0.09/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Implementation-0.09/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Runtime-0.018/MYMETA.json +83 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Runtime-0.018/install.json +1 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Runtime-Conflicts-0.003/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Runtime-Conflicts-0.003/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Moose-2.2207/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Moose-2.2207/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Nice-Try-v1.3.15/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Nice-Try-v1.3.15/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/PPI-1.281/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/PPI-1.281/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/PPI-XS-0.910/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/PPI-XS-0.910/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Package-DeprecationManager-0.18/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Package-DeprecationManager-0.18/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Package-Stash-0.40/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Package-Stash-0.40/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Package-Stash-XS-0.30/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Package-Stash-XS-0.30/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Params-Util-1.102/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Params-Util-1.102/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/{Path-Tiny-0.146 → Path-Tiny-0.148}/MYMETA.json +11 -7
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Path-Tiny-0.148/install.json +1 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Safe-Isa-1.000010/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Safe-Isa-1.000010/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Scalar-Util-Numeric-0.40/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Scalar-Util-Numeric-0.40/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Scope-Guard-0.21/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Scope-Guard-0.21/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Sub-Exporter-0.991/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Sub-Exporter-0.991/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Sub-Exporter-Progressive-0.001013/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Sub-Exporter-Progressive-0.001013/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Sub-Install-0.929/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Sub-Install-0.929/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Task-Weaken-1.06/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Task-Weaken-1.06/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Test-Fatal-0.017/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Test-Fatal-0.017/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Try-Tiny-0.32/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Try-Tiny-0.32/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Want-0.29/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Want-0.29/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/YAML-PP-v0.39.0/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/YAML-PP-v0.39.0/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/aliased-0.34/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/aliased-0.34/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/autobox-v3.0.2/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/autobox-v3.0.2/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Class/Load/XS/XS.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Data/UUID/UUID.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/FFI/Platypus/Platypus.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Moose/Moose.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/PPI/XS/XS.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Package/Stash/XS/XS.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Params/Util/Util.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Scalar/Util/Numeric/Numeric.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Want/Want.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/autobox/autobox.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/perllocal.pod +92 -114
- package/Binaries/Perl/Linux/X64/lib/Javonet/Core/Handler/CommandHandler/ResolveInstanceHandler.pm +1 -1
- package/Binaries/Perl/Linux/X64/lib/Javonet/Core/Handler/HandlerDictionary.pm +2 -0
- package/Binaries/Perl/Linux/X64/lib/Javonet/Core/Handler/ReferencesCache.pm +2 -0
- package/Binaries/Perl/Linux/X64/lib/Javonet/Core/Interpreter/Interpreter.pm +7 -6
- package/Binaries/Perl/Linux/X64/lib/Javonet/Core/Protocol/CommandDeserializer.pm +26 -25
- package/Binaries/Perl/Linux/X64/lib/Javonet/Core/Protocol/CommandSerializer.pm +6 -4
- package/Binaries/Perl/Linux/X64/lib/Javonet/Core/Protocol/TypeDeserializer.pm +15 -0
- package/Binaries/Perl/Linux/X64/lib/Javonet/Core/Protocol/TypeSerializer.pm +6 -3
- package/Binaries/Perl/Linux/X64/lib/Javonet/Core/Receiver/Receiver.pm +7 -4
- package/Binaries/Perl/Linux/X64/lib/Javonet/Core/Transmitter/PerlTransmitter.pm +11 -10
- package/Binaries/Perl/Linux/X64/lib/Javonet/Core/Transmitter/PerlTransmitterWrapper.pm +11 -8
- package/Binaries/Perl/Linux/X64/lib/Javonet/Javonet.pm +9 -7
- package/Binaries/Perl/Linux/X64/lib/Javonet/Sdk/Core/PerlCommandType.pm +2 -0
- package/Binaries/Perl/Linux/X64/lib/Javonet/Sdk/Core/RuntimeLib.pm +5 -1
- package/Binaries/Perl/Linux/X64/lib/Javonet/Sdk/Core/RuntimeLogger.pm +6 -3
- package/Binaries/Perl/Linux/X64/lib/Javonet/Sdk/Core/StringEncodingMode.pm +2 -0
- package/Binaries/Perl/Linux/X64/lib/Javonet/Sdk/Core/Type.pm +2 -0
- package/Binaries/Perl/Linux/X64/lib/Javonet/Sdk/Internal/Abstract/AbstractRuntimeFactory.pm +2 -0
- package/Binaries/Perl/Linux/X64/lib/Javonet/Sdk/Internal/RuntimeContext.pm +1 -1
- package/Binaries/Perl/Linux/X64/lib/Javonet/Sdk/Internal/RuntimeFactory.pm +10 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Attribute-Util-1.07/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Data-Cmp-0.010/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Data-UUID-1.227/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Nice-Try-v1.3.15/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/PPI-1.281/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/PPI-XS-0.910/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Safe-Isa-1.000010/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Scalar-Util-Numeric-0.40/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Test-Fatal-0.017/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Want-0.29/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/YAML-PP-v0.39.0/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/autobox-v3.0.2/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Data/UUID/UUID.xs.dll +0 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/PPI/XS/XS.xs.dll +0 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Scalar/Util/Numeric/Numeric.xs.dll +0 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Want/Want.xs.dll +0 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/autobox/autobox.xs.dll +0 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/perllocal.pod +25 -25
- package/Binaries/Perl/Windows/X64/lib/Javonet/Core/Handler/CommandHandler/ResolveInstanceHandler.pm +1 -1
- package/Binaries/Perl/Windows/X64/lib/Javonet/Core/Handler/HandlerDictionary.pm +2 -0
- package/Binaries/Perl/Windows/X64/lib/Javonet/Core/Handler/ReferencesCache.pm +2 -0
- package/Binaries/Perl/Windows/X64/lib/Javonet/Core/Interpreter/Interpreter.pm +7 -6
- package/Binaries/Perl/Windows/X64/lib/Javonet/Core/Protocol/CommandDeserializer.pm +26 -25
- package/Binaries/Perl/Windows/X64/lib/Javonet/Core/Protocol/CommandSerializer.pm +6 -4
- package/Binaries/Perl/Windows/X64/lib/Javonet/Core/Protocol/TypeDeserializer.pm +15 -0
- package/Binaries/Perl/Windows/X64/lib/Javonet/Core/Protocol/TypeSerializer.pm +6 -3
- package/Binaries/Perl/Windows/X64/lib/Javonet/Core/Receiver/Receiver.pm +7 -4
- package/Binaries/Perl/Windows/X64/lib/Javonet/Core/Transmitter/PerlTransmitter.pm +11 -10
- package/Binaries/Perl/Windows/X64/lib/Javonet/Core/Transmitter/PerlTransmitterWrapper.pm +11 -8
- package/Binaries/Perl/Windows/X64/lib/Javonet/Javonet.pm +9 -7
- package/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Core/PerlCommandType.pm +2 -0
- package/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Core/RuntimeLib.pm +5 -1
- package/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Core/RuntimeLogger.pm +6 -3
- package/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Core/StringEncodingMode.pm +2 -0
- package/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Core/Type.pm +2 -0
- package/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Internal/Abstract/AbstractRuntimeFactory.pm +2 -0
- package/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Internal/RuntimeContext.pm +1 -1
- package/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Internal/RuntimeFactory.pm +10 -0
- package/Binaries/Python/javonet/core/handler/GetTypeHandler.py +1 -1
- package/Binaries/Python/javonet/core/handler/LoadLibraryHandler.py +14 -5
- package/Binaries/Python/javonet/core/interpreter/Interpreter.py +1 -2
- package/Binaries/Python/javonet/core/protocol/CommandDeserializer.py +28 -11
- package/Binaries/Python/javonet/core/protocol/CommandSerializer.py +18 -17
- package/Binaries/Python/javonet/core/receiver/Receiver.py +1 -0
- package/Binaries/Python/javonet/core/transmitter/TransmitterWrapper.py +44 -46
- package/Binaries/Python/javonet/utils/Command.py +1 -1
- package/Binaries/Python/javonet/utils/RuntimeName.py +2 -0
- package/Binaries/Python/javonet/utils/RuntimeNameHandler.py +4 -0
- package/Binaries/Python/javonet/utils/exception/ExceptionSerializer.py +21 -15
- package/Binaries/Python/javonet/utils/exception/ExceptionThrower.py +43 -39
- package/Binaries/Python2/javonet/__init__.py +32 -0
- package/Binaries/Python2/javonet/core/__init__.py +1 -0
- package/Binaries/Python2/javonet/core/callback/__init__.py +4 -0
- package/Binaries/Python2/javonet/core/callback/callbackFunc.py +20 -0
- package/Binaries/Python2/javonet/core/delegateCache/DelegatesCache.py +73 -0
- package/Binaries/Python2/javonet/core/delegateCache/__init__.py +4 -0
- package/Binaries/Python2/javonet/core/handler/AbstractCommandHandler.py +45 -0
- package/Binaries/Python2/javonet/core/handler/AbstractHandler.py +9 -0
- package/Binaries/Python2/javonet/core/handler/ArrayGetItemHandler.py +51 -0
- package/Binaries/Python2/javonet/core/handler/ArrayGetRankHandler.py +41 -0
- package/Binaries/Python2/javonet/core/handler/ArrayGetSizeHandler.py +45 -0
- package/Binaries/Python2/javonet/core/handler/ArrayHandler.py +25 -0
- package/Binaries/Python2/javonet/core/handler/ArraySetItemHandler.py +60 -0
- package/Binaries/Python2/javonet/core/handler/CastingHandler.py +11 -0
- package/Binaries/Python2/javonet/core/handler/CreateClassInstanceHandler.py +39 -0
- package/Binaries/Python2/javonet/core/handler/DestructReferenceHandler.py +25 -0
- package/Binaries/Python2/javonet/core/handler/EnableNamespaceHandler.py +43 -0
- package/Binaries/Python2/javonet/core/handler/EnableTypeHandler.py +43 -0
- package/Binaries/Python2/javonet/core/handler/GetEnumItemHandler.py +54 -0
- package/Binaries/Python2/javonet/core/handler/GetEnumNameHandler.py +44 -0
- package/Binaries/Python2/javonet/core/handler/GetEnumValueHandler.py +36 -0
- package/Binaries/Python2/javonet/core/handler/GetInstanceFieldHandler.py +40 -0
- package/Binaries/Python2/javonet/core/handler/GetInstanceMethodAsDelegateHandler.py +43 -0
- package/Binaries/Python2/javonet/core/handler/GetStaticFieldHandler.py +41 -0
- package/Binaries/Python2/javonet/core/handler/GetStaticMethodAsDelegateHandler.py +43 -0
- package/Binaries/Python2/javonet/core/handler/GetTypeHandler.py +115 -0
- package/Binaries/Python2/javonet/core/handler/Handler.py +152 -0
- package/Binaries/Python2/javonet/core/handler/HandlerDictionary.py +23 -0
- package/Binaries/Python2/javonet/core/handler/InvokeDelegateHandler.py +56 -0
- package/Binaries/Python2/javonet/core/handler/InvokeGlobalFunctionHandler.py +78 -0
- package/Binaries/Python2/javonet/core/handler/InvokeInstanceMethodHandler.py +45 -0
- package/Binaries/Python2/javonet/core/handler/InvokeStaticMethodHandler.py +45 -0
- package/Binaries/Python2/javonet/core/handler/LoadLibraryHandler.py +62 -0
- package/Binaries/Python2/javonet/core/handler/PassDelegateHandler.py +36 -0
- package/Binaries/Python2/javonet/core/handler/ResolveInstanceHandler.py +33 -0
- package/Binaries/Python2/javonet/core/handler/SetInstanceFieldHandler.py +42 -0
- package/Binaries/Python2/javonet/core/handler/SetStaticFieldHandler.py +43 -0
- package/Binaries/Python2/javonet/core/handler/ValueHandler.py +27 -0
- package/Binaries/Python2/javonet/core/handler/__init__.py +1 -0
- package/Binaries/Python2/javonet/core/interpreter/Interpreter.py +36 -0
- package/Binaries/Python2/javonet/core/namespaceCache/NamespaceCache.py +69 -0
- package/Binaries/Python2/javonet/core/namespaceCache/__init__.py +4 -0
- package/Binaries/Python2/javonet/core/protocol/CommandDeserializer.py +237 -0
- package/Binaries/Python2/javonet/core/protocol/CommandSerializer.py +56 -0
- package/Binaries/Python2/javonet/core/protocol/TypeDeserializer.py +154 -0
- package/Binaries/Python2/javonet/core/protocol/TypeSerializer.py +187 -0
- package/Binaries/Python2/javonet/core/receiver/Receiver.py +35 -0
- package/Binaries/Python2/javonet/core/receiver/__init__.py +1 -0
- package/Binaries/Python2/javonet/core/referenceCache/ReferencesCache.py +57 -0
- package/Binaries/Python2/javonet/core/transmitter/Transmitter.py +59 -0
- package/Binaries/Python2/javonet/core/transmitter/TransmitterWrapper.py +102 -0
- package/Binaries/Python2/javonet/core/typeCache/TypeCache.py +69 -0
- package/Binaries/Python2/javonet/core/typeCache/__init__.py +4 -0
- package/Binaries/Python2/javonet/core/webSocketClient/WebSocketClient.py +39 -0
- package/Binaries/Python2/javonet/utils/Command.py +170 -0
- package/Binaries/Python2/javonet/utils/CommandType.py +154 -0
- package/Binaries/Python2/javonet/utils/ConnectionType.py +36 -0
- package/Binaries/Python2/javonet/utils/ExceptionType.py +95 -0
- package/Binaries/Python2/javonet/utils/PythonStringBuilder.py +38 -0
- package/Binaries/Python2/javonet/utils/RuntimeLogger.py +50 -0
- package/Binaries/Python2/javonet/utils/RuntimeName.py +120 -0
- package/Binaries/Python2/javonet/utils/RuntimeNameHandler.py +47 -0
- package/Binaries/Python2/javonet/utils/StringEncodingMode.py +38 -0
- package/Binaries/Python2/javonet/utils/Type.py +68 -0
- package/Binaries/Python2/javonet/utils/UtilsConst.py +38 -0
- package/Binaries/Python2/javonet/utils/__init__.py +4 -0
- package/Binaries/Python2/javonet/utils/connectionData/IConnectionData.py +45 -0
- package/Binaries/Python2/javonet/utils/connectionData/InMemoryConnectionData.py +32 -0
- package/Binaries/Python2/javonet/utils/connectionData/TcpConnectionData.py +142 -0
- package/Binaries/Python2/javonet/utils/connectionData/WsConnectionData.py +75 -0
- package/Binaries/Python2/javonet/utils/connectionData/__init__.py +4 -0
- package/Binaries/Python2/javonet/utils/exception/ExceptionSerializer.py +94 -0
- package/Binaries/Python2/javonet/utils/exception/ExceptionThrower.py +85 -0
- package/Binaries/Python2/javonet/utils/exception/JavonetException.py +31 -0
- package/Binaries/Python2/javonet/utils/exception/__init__.py +4 -0
- package/Binaries/Ruby/Linux/X64/core/handler/get_type_handler.rb +10 -9
- package/Binaries/Ruby/Linux/X64/core/namespace_cache/namespace_cache.rb +18 -16
- package/Binaries/Ruby/Linux/X64/core/protocol/command_deserializer.rb +41 -30
- package/Binaries/Ruby/Linux/X64/core/protocol/command_serializer.rb +17 -19
- package/Binaries/Ruby/Linux/X64/core/protocol/type_deserializer.rb +72 -11
- package/Binaries/Ruby/Linux/X64/core/protocol/type_serializer.rb +181 -20
- package/Binaries/Ruby/Linux/X64/core/receiver/receiver.rb +1 -1
- package/Binaries/Ruby/Linux/X64/core/reference_cache/references_cache.rb +14 -8
- package/Binaries/Ruby/Linux/X64/core/type_cache/type_cache.rb +14 -12
- package/Binaries/Ruby/Linux/X64/utils/runtime_name.rb +2 -0
- package/Binaries/Ruby/Linux/X64/utils/runtime_name_handler.rb +6 -0
- package/Binaries/Ruby/MacOs/X64/core/handler/get_type_handler.rb +10 -9
- package/Binaries/Ruby/MacOs/X64/core/namespace_cache/namespace_cache.rb +18 -16
- package/Binaries/Ruby/MacOs/X64/core/protocol/command_deserializer.rb +41 -30
- package/Binaries/Ruby/MacOs/X64/core/protocol/command_serializer.rb +17 -19
- package/Binaries/Ruby/MacOs/X64/core/protocol/type_deserializer.rb +72 -11
- package/Binaries/Ruby/MacOs/X64/core/protocol/type_serializer.rb +181 -20
- package/Binaries/Ruby/MacOs/X64/core/receiver/receiver.rb +1 -1
- package/Binaries/Ruby/MacOs/X64/core/reference_cache/references_cache.rb +14 -8
- package/Binaries/Ruby/MacOs/X64/core/type_cache/type_cache.rb +14 -12
- package/Binaries/Ruby/MacOs/X64/utils/runtime_name.rb +2 -0
- package/Binaries/Ruby/MacOs/X64/utils/runtime_name_handler.rb +6 -0
- package/Binaries/Ruby/Windows/X64/core/handler/get_type_handler.rb +10 -9
- package/Binaries/Ruby/Windows/X64/core/namespace_cache/namespace_cache.rb +18 -16
- package/Binaries/Ruby/Windows/X64/core/protocol/command_deserializer.rb +41 -30
- package/Binaries/Ruby/Windows/X64/core/protocol/command_serializer.rb +17 -19
- package/Binaries/Ruby/Windows/X64/core/protocol/type_deserializer.rb +72 -11
- package/Binaries/Ruby/Windows/X64/core/protocol/type_serializer.rb +181 -20
- package/Binaries/Ruby/Windows/X64/core/receiver/receiver.rb +1 -1
- package/Binaries/Ruby/Windows/X64/core/reference_cache/references_cache.rb +14 -8
- package/Binaries/Ruby/Windows/X64/core/type_cache/type_cache.rb +14 -12
- package/Binaries/Ruby/Windows/X64/utils/runtime_name.rb +2 -0
- package/Binaries/Ruby/Windows/X64/utils/runtime_name_handler.rb +6 -0
- package/Binaries/version.txt +1 -1
- package/dist/Javonet.d.ts +74 -50
- package/dist/lib/core/interpreter/Interpreter.js +4 -0
- package/dist/lib/core/protocol/CommandDeserializer.js +30 -14
- package/dist/lib/core/protocol/CommandSerializer.js +38 -25
- package/dist/lib/core/protocol/TypeSerializer.js +1 -1
- package/dist/lib/core/webSocketClient/WebSocketClient.js +51 -46
- package/dist/lib/sdk/ConfigRuntimeFactory.js +10 -0
- package/dist/lib/sdk/InvocationContext.js +3 -5
- package/dist/lib/sdk/Javonet.js +1 -1
- package/dist/lib/sdk/RuntimeContext.js +2 -4
- package/dist/lib/sdk/RuntimeFactory.js +9 -0
- package/dist/lib/utils/RuntimeName.js +2 -0
- package/dist/lib/utils/RuntimeNameHandler.js +4 -0
- package/lib/core/webSocketClient/WebSocketClient.js +51 -46
- package/lib/sdk/ConfigRuntimeFactory.js +10 -0
- package/lib/sdk/Javonet.js +1 -1
- package/package.json +1 -1
- package/Binaries/Native/Linux/ARM64/libJavonetRuby278RuntimeNative.so +0 -0
- package/Binaries/Native/Linux/ARM64/libpython3.12.so.1.0 +0 -0
- package/Binaries/Native/Linux/X64/NativeUtilsUnitTests.xml +0 -33
- package/Binaries/Native/Linux/X64/libperl.so.5.30.0 +0 -0
- package/Binaries/Native/Linux/X64/libpython3.11.so.1.0 +0 -0
- package/Binaries/Native/Linux/X64/openssl3/libJavonetActivationService.so +0 -0
- package/Binaries/Native/Linux/X64/openssl3/libJavonetTcpTlsClient.so +0 -0
- package/Binaries/Native/Linux/X64/openssl3/libUtils.so +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetPerlRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libpython3.11.dylib +0 -0
- package/Binaries/Native/Windows/ARM64/python312.dll +0 -0
- package/Binaries/Native/Windows/X64/python312.dll +0 -0
- package/Binaries/Native/Windows/X86/python312.dll +0 -0
- package/Binaries/Perl/Linux/X64/deps/bin/config_data +0 -249
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/Module/Build.pm +0 -1097
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Clone-0.47/MYMETA.json +0 -54
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Clone-0.47/install.json +0 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Build-0.4234/MYMETA.json +0 -161
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Build-0.4234/install.json +0 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Runtime-0.016/MYMETA.json +0 -62
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Runtime-0.016/install.json +0 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Path-Tiny-0.146/install.json +0 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Scalar-List-Utils-1.68/MYMETA.json +0 -58
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Scalar-List-Utils-1.68/install.json +0 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/Clone.pm +0 -99
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util/XS.pm +0 -42
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm +0 -836
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/Scalar/List/Utils.pm +0 -43
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/Scalar/Util.pm +0 -390
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/Sub/Util.pm +0 -153
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Clone/.packlist +0 -4
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Clone/Clone.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Clone/autosplit.ix +0 -3
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/List/Util/.packlist +0 -11
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/List/Util/Util.so +0 -0
- package/Binaries/Python/javonet/core/generator/handler/AbstractGeneretatorHandler.py +0 -8
- package/Binaries/Python/javonet/core/generator/handler/CreateInstanceGeneratorHandler.py +0 -44
- package/Binaries/Python/javonet/core/generator/handler/GeneratorHandler.py +0 -65
- package/Binaries/Python/javonet/core/generator/handler/GetInstanceFieldGeneratorHandler.py +0 -36
- package/Binaries/Python/javonet/core/generator/handler/GetStaticFieldGeneratorHandler.py +0 -39
- package/Binaries/Python/javonet/core/generator/handler/GetTypeGeneratorHandler.py +0 -92
- package/Binaries/Python/javonet/core/generator/handler/Handlers.py +0 -59
- package/Binaries/Python/javonet/core/generator/handler/InvokeInstanceMethodGeneratorHandler.py +0 -53
- package/Binaries/Python/javonet/core/generator/handler/InvokeStaticMethodGeneratorHandler.py +0 -54
- package/Binaries/Python/javonet/core/generator/handler/shared/SharedArgumentNameHandler.py +0 -12
- package/Binaries/Python/javonet/core/generator/handler/shared/SharedClassInstanceHandler.py +0 -12
- package/Binaries/Python/javonet/core/generator/handler/shared/SharedClassNameHandler.py +0 -31
- package/Binaries/Python/javonet/core/generator/handler/shared/SharedMethodNameHandler.py +0 -30
- package/Binaries/Python/javonet/core/generator/handler/shared/SharedModifierHandler.py +0 -21
- package/Binaries/Python/javonet/core/generator/handler/shared/SharedReturnTypeHandler.py +0 -13
- package/Binaries/Python/javonet/core/generator/handler/shared/SharedTypeHandler.py +0 -57
- package/Binaries/Python/javonet/core/generator/handler/shared/body/SharedBodyHandler.py +0 -10
- package/Binaries/Python/javonet/core/generator/handler/shared/body/SharedCreateInstanceBodyHandler.py +0 -21
- package/Binaries/Python/javonet/core/generator/handler/shared/body/SharedGetInstanceFieldBodyHandler.py +0 -16
- package/Binaries/Python/javonet/core/generator/handler/shared/body/SharedGetStaticFieldBodyHandler.py +0 -22
- package/Binaries/Python/javonet/core/generator/handler/shared/body/SharedGetTypeBodyHandler.py +0 -16
- package/Binaries/Python/javonet/core/generator/handler/shared/body/SharedInvokeInstanceMethodBodyHandler.py +0 -47
- package/Binaries/Python/javonet/core/generator/handler/shared/body/SharedInvokeStaticMethodBodyHandler.py +0 -55
- package/Binaries/Python/javonet/core/generator/internal/CommonGenerator.py +0 -23
- package/Binaries/Python/javonet/core/generator/internal/PythonStringBuilder.py +0 -15
- package/Binaries/Python/javonet/core/generator/internal/SharedHandlerType.py +0 -12
- package/Binaries/Ruby/Linux/X64/external_lib/random/formatter.rb +0 -373
- package/Binaries/Ruby/Linux/X64/external_lib/securerandom.rb +0 -96
- package/Binaries/Ruby/Linux/X64/external_lib/singleton.rb +0 -172
- package/Binaries/Ruby/MacOs/X64/external_lib/random/formatter.rb +0 -373
- package/Binaries/Ruby/MacOs/X64/external_lib/securerandom.rb +0 -96
- package/Binaries/Ruby/MacOs/X64/external_lib/singleton.rb +0 -172
- package/Binaries/Ruby/Windows/X64/external_lib/random/formatter.rb +0 -373
- package/Binaries/Ruby/Windows/X64/external_lib/securerandom.rb +0 -96
- package/Binaries/Ruby/Windows/X64/external_lib/singleton.rb +0 -172
- /package/Binaries/Native/Windows/X64/{JavonetPerlRuntimeNativeAuxiliary.dll → JavonetPerl532RuntimeNativeAuxiliary.dll} +0 -0
- /package/Binaries/{Python/javonet/core/generator → Python2/javonet/core/interpreter}/__init__.py +0 -0
- /package/Binaries/{Python/javonet/core/generator/handler → Python2/javonet/core/protocol}/__init__.py +0 -0
- /package/Binaries/{Python/javonet/core/generator/handler/shared → Python2/javonet/core/referenceCache}/__init__.py +0 -0
- /package/Binaries/{Python/javonet/core/generator/handler/shared/body → Python2/javonet/core/transmitter}/__init__.py +0 -0
- /package/Binaries/{Python/javonet/core/generator/internal → Python2/javonet/core/webSocketClient}/__init__.py +0 -0
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
"""
|
|
2
|
+
The ExceptionType class represents exception types used in Javonet.
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
class ExceptionType(object):
|
|
6
|
+
def __init__(self, value):
|
|
7
|
+
self.value = value
|
|
8
|
+
|
|
9
|
+
def __eq__(self, other):
|
|
10
|
+
if isinstance(other, ExceptionType):
|
|
11
|
+
return self.value == other.value
|
|
12
|
+
return False
|
|
13
|
+
|
|
14
|
+
def __hash__(self):
|
|
15
|
+
return hash(self.value)
|
|
16
|
+
|
|
17
|
+
def __str__(self):
|
|
18
|
+
return self._name_map.get(self.value, str(self.value))
|
|
19
|
+
|
|
20
|
+
def __repr__(self):
|
|
21
|
+
return "ExceptionType." + str(self)
|
|
22
|
+
|
|
23
|
+
Exception = None
|
|
24
|
+
IOException = None
|
|
25
|
+
FileNotFoundException = None
|
|
26
|
+
RuntimeException = None
|
|
27
|
+
ArithemticException = None
|
|
28
|
+
IllegalArgumentException = None
|
|
29
|
+
IndexOutOfBoundsException = None
|
|
30
|
+
NullPointerException = None
|
|
31
|
+
ZeroDivisionException = None
|
|
32
|
+
|
|
33
|
+
_name_map = {
|
|
34
|
+
0: 'Exception',
|
|
35
|
+
1: 'IOException',
|
|
36
|
+
2: 'FileNotFoundException',
|
|
37
|
+
3: 'RuntimeException',
|
|
38
|
+
4: 'ArithemticException',
|
|
39
|
+
5: 'IllegalArgumentException',
|
|
40
|
+
6: 'IndexOutOfBoundsException',
|
|
41
|
+
7: 'NullPointerException',
|
|
42
|
+
8: 'ZeroDivisionException'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@staticmethod
|
|
46
|
+
def to_enum(exception_name):
|
|
47
|
+
if exception_name == "Exception":
|
|
48
|
+
return ExceptionType.Exception.value
|
|
49
|
+
if exception_name == "IOError":
|
|
50
|
+
return ExceptionType.IOException.value
|
|
51
|
+
if exception_name == "IOError": # In Python 2 FileNotFoundError is IOError
|
|
52
|
+
return ExceptionType.FileNotFoundException.value
|
|
53
|
+
if exception_name == "RuntimeError":
|
|
54
|
+
return ExceptionType.RuntimeException.value
|
|
55
|
+
if exception_name == "ArithmeticError":
|
|
56
|
+
return ExceptionType.ArithemticException.value
|
|
57
|
+
if exception_name == "IndexError":
|
|
58
|
+
return ExceptionType.IndexOutOfBoundsException.value
|
|
59
|
+
if exception_name == "AttributeError":
|
|
60
|
+
return ExceptionType.NullPointerException.value
|
|
61
|
+
if exception_name == "ZeroDivisionError":
|
|
62
|
+
return ExceptionType.ZeroDivisionException.value
|
|
63
|
+
else:
|
|
64
|
+
return ExceptionType.Exception.value
|
|
65
|
+
|
|
66
|
+
@staticmethod
|
|
67
|
+
def to_exception(exception_enum):
|
|
68
|
+
if exception_enum == ExceptionType.Exception.value:
|
|
69
|
+
return Exception
|
|
70
|
+
if exception_enum == ExceptionType.IOException.value:
|
|
71
|
+
return IOError
|
|
72
|
+
if exception_enum == ExceptionType.FileNotFoundException.value:
|
|
73
|
+
return IOError # In Python 2 we use IOError instead of FileNotFoundError
|
|
74
|
+
if exception_enum == ExceptionType.RuntimeException.value:
|
|
75
|
+
return RuntimeError
|
|
76
|
+
if exception_enum == ExceptionType.ArithemticException.value:
|
|
77
|
+
return ArithmeticError
|
|
78
|
+
if exception_enum == ExceptionType.IndexOutOfBoundsException.value:
|
|
79
|
+
return IndexError
|
|
80
|
+
if exception_enum == ExceptionType.NullPointerException.value:
|
|
81
|
+
return AttributeError
|
|
82
|
+
if exception_enum == ExceptionType.ZeroDivisionException.value:
|
|
83
|
+
return ZeroDivisionError
|
|
84
|
+
else:
|
|
85
|
+
return Exception
|
|
86
|
+
|
|
87
|
+
ExceptionType.Exception = ExceptionType(0)
|
|
88
|
+
ExceptionType.IOException = ExceptionType(1)
|
|
89
|
+
ExceptionType.FileNotFoundException = ExceptionType(2)
|
|
90
|
+
ExceptionType.RuntimeException = ExceptionType(3)
|
|
91
|
+
ExceptionType.ArithemticException = ExceptionType(4)
|
|
92
|
+
ExceptionType.IllegalArgumentException = ExceptionType(5)
|
|
93
|
+
ExceptionType.IndexOutOfBoundsException = ExceptionType(6)
|
|
94
|
+
ExceptionType.NullPointerException = ExceptionType(7)
|
|
95
|
+
ExceptionType.ZeroDivisionException = ExceptionType(8)
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
"""
|
|
3
|
+
The PythonStringBuilder class provides string building functionality similar to StringBuilder in other languages.
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
from StringIO import StringIO
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class PythonStringBuilder(object):
|
|
10
|
+
"""
|
|
11
|
+
Class for building strings efficiently in Python 2.
|
|
12
|
+
"""
|
|
13
|
+
|
|
14
|
+
def __init__(self):
|
|
15
|
+
"""
|
|
16
|
+
Initializes a new string builder.
|
|
17
|
+
"""
|
|
18
|
+
self._file_str = StringIO()
|
|
19
|
+
|
|
20
|
+
def append(self, string):
|
|
21
|
+
"""
|
|
22
|
+
Appends a string to the builder.
|
|
23
|
+
|
|
24
|
+
:param string: String to append
|
|
25
|
+
:return: Self for method chaining
|
|
26
|
+
:rtype: PythonStringBuilder
|
|
27
|
+
"""
|
|
28
|
+
self._file_str.write(unicode(string))
|
|
29
|
+
return self
|
|
30
|
+
|
|
31
|
+
def __str__(self):
|
|
32
|
+
"""
|
|
33
|
+
Returns the built string.
|
|
34
|
+
|
|
35
|
+
:return: The complete string
|
|
36
|
+
:rtype: str
|
|
37
|
+
"""
|
|
38
|
+
return self._file_str.getvalue()
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import platform
|
|
2
|
+
import os
|
|
3
|
+
import sys
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class RuntimeLogger(object):
|
|
7
|
+
"""
|
|
8
|
+
Class for logging runtime environment information.
|
|
9
|
+
"""
|
|
10
|
+
not_logged_yet = True
|
|
11
|
+
|
|
12
|
+
@staticmethod
|
|
13
|
+
def get_runtime_info():
|
|
14
|
+
"""
|
|
15
|
+
Gets information about the runtime environment.
|
|
16
|
+
|
|
17
|
+
:return: Runtime environment information
|
|
18
|
+
:rtype: str
|
|
19
|
+
"""
|
|
20
|
+
try:
|
|
21
|
+
return (
|
|
22
|
+
"Python Managed Runtime Info:\n"
|
|
23
|
+
"Python Version: {0}\n"
|
|
24
|
+
"Python executable path: {1}\n"
|
|
25
|
+
"Python Path: {2}\n"
|
|
26
|
+
"Python Implementation: {3}\n"
|
|
27
|
+
"OS Version: {4} {5}\n"
|
|
28
|
+
"Process Architecture: {6}\n"
|
|
29
|
+
"Current Working Directory: {7}\n"
|
|
30
|
+
).format(
|
|
31
|
+
platform.python_version(),
|
|
32
|
+
sys.executable,
|
|
33
|
+
sys.path,
|
|
34
|
+
platform.python_implementation(),
|
|
35
|
+
platform.system(),
|
|
36
|
+
platform.version(),
|
|
37
|
+
platform.machine(),
|
|
38
|
+
os.getcwd()
|
|
39
|
+
)
|
|
40
|
+
except Exception as e:
|
|
41
|
+
return "Python Managed Runtime Info: Error while fetching runtime info"
|
|
42
|
+
|
|
43
|
+
@staticmethod
|
|
44
|
+
def display_runtime_info():
|
|
45
|
+
"""
|
|
46
|
+
Displays information about the runtime environment (only once).
|
|
47
|
+
"""
|
|
48
|
+
if RuntimeLogger.not_logged_yet:
|
|
49
|
+
print(RuntimeLogger.get_runtime_info()) # In Python 2 print is not a function
|
|
50
|
+
RuntimeLogger.not_logged_yet = False
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
"""
|
|
2
|
+
The RuntimeName class represents available runtime environments in Javonet.
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
# -*- coding: utf-8 -*-
|
|
6
|
+
|
|
7
|
+
# RuntimeName enumeration with the same values as in Python 3 version
|
|
8
|
+
class RuntimeName(object):
|
|
9
|
+
"""
|
|
10
|
+
Enumeration of runtime names.
|
|
11
|
+
"""
|
|
12
|
+
# Keep the exact same values as in the original
|
|
13
|
+
clr = 0
|
|
14
|
+
go = 1
|
|
15
|
+
jvm = 2
|
|
16
|
+
netcore = 3
|
|
17
|
+
perl = 4
|
|
18
|
+
python = 5
|
|
19
|
+
ruby = 6
|
|
20
|
+
nodejs = 7
|
|
21
|
+
cpp = 8
|
|
22
|
+
php = 9
|
|
23
|
+
python27 = 10
|
|
24
|
+
|
|
25
|
+
# Static instances to mimic Enum behavior
|
|
26
|
+
CLR = 0
|
|
27
|
+
GO = 1
|
|
28
|
+
JVM = 2
|
|
29
|
+
NETCORE = 3
|
|
30
|
+
PERL = 4
|
|
31
|
+
PYTHON = 5
|
|
32
|
+
RUBY = 6
|
|
33
|
+
NODEJS = 7
|
|
34
|
+
CPP = 8
|
|
35
|
+
PHP = 9
|
|
36
|
+
PYTHON27 = 10
|
|
37
|
+
|
|
38
|
+
def __init__(self, value=None):
|
|
39
|
+
"""
|
|
40
|
+
Initialize with a value.
|
|
41
|
+
|
|
42
|
+
:param value: Runtime value
|
|
43
|
+
"""
|
|
44
|
+
self.value = value
|
|
45
|
+
|
|
46
|
+
# Map of names to values
|
|
47
|
+
_name_map = {
|
|
48
|
+
'clr': 0,
|
|
49
|
+
'go': 1,
|
|
50
|
+
'jvm': 2,
|
|
51
|
+
'netcore': 3,
|
|
52
|
+
'perl': 4,
|
|
53
|
+
'python': 5,
|
|
54
|
+
'ruby': 6,
|
|
55
|
+
'nodejs': 7,
|
|
56
|
+
'cpp': 8,
|
|
57
|
+
'php': 9,
|
|
58
|
+
'python27': 10
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
# Map of values to names
|
|
62
|
+
_value_map = {
|
|
63
|
+
0: 'clr',
|
|
64
|
+
1: 'go',
|
|
65
|
+
2: 'jvm',
|
|
66
|
+
3: 'netcore',
|
|
67
|
+
4: 'perl',
|
|
68
|
+
5: 'python',
|
|
69
|
+
6: 'ruby',
|
|
70
|
+
7: 'nodejs',
|
|
71
|
+
8: 'cpp',
|
|
72
|
+
9: 'php',
|
|
73
|
+
10: 'python27'
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
@classmethod
|
|
77
|
+
def from_name(cls, name):
|
|
78
|
+
"""
|
|
79
|
+
Get runtime by name.
|
|
80
|
+
|
|
81
|
+
:param name: Runtime name
|
|
82
|
+
:return: Runtime value
|
|
83
|
+
"""
|
|
84
|
+
return cls._name_map.get(name.lower())
|
|
85
|
+
|
|
86
|
+
@classmethod
|
|
87
|
+
def to_name(cls, value):
|
|
88
|
+
"""
|
|
89
|
+
Get name by runtime value.
|
|
90
|
+
|
|
91
|
+
:param value: Runtime value
|
|
92
|
+
:return: Runtime name
|
|
93
|
+
"""
|
|
94
|
+
return cls._value_map.get(value)
|
|
95
|
+
|
|
96
|
+
def __eq__(self, other):
|
|
97
|
+
if isinstance(other, RuntimeName):
|
|
98
|
+
return self.value == other.value
|
|
99
|
+
return False
|
|
100
|
+
|
|
101
|
+
def __hash__(self):
|
|
102
|
+
return hash(self.value)
|
|
103
|
+
|
|
104
|
+
def __str__(self):
|
|
105
|
+
return self._name_map.get(self.value, str(self.value))
|
|
106
|
+
|
|
107
|
+
def __repr__(self):
|
|
108
|
+
return "RuntimeName." + str(self)
|
|
109
|
+
|
|
110
|
+
RuntimeName.clr = RuntimeName(0)
|
|
111
|
+
RuntimeName.go = RuntimeName(1)
|
|
112
|
+
RuntimeName.jvm = RuntimeName(2)
|
|
113
|
+
RuntimeName.netcore = RuntimeName(3)
|
|
114
|
+
RuntimeName.perl = RuntimeName(4)
|
|
115
|
+
RuntimeName.python = RuntimeName(5)
|
|
116
|
+
RuntimeName.ruby = RuntimeName(6)
|
|
117
|
+
RuntimeName.nodejs = RuntimeName(7)
|
|
118
|
+
RuntimeName.cpp = RuntimeName(8)
|
|
119
|
+
RuntimeName.php = RuntimeName(9)
|
|
120
|
+
RuntimeName.python27 = RuntimeName(10)
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"""
|
|
2
|
+
The RuntimeNameHandler class handles Javonet runtime environment names.
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
from javonet.utils.RuntimeName import RuntimeName
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class RuntimeNameHandler(object):
|
|
9
|
+
"""
|
|
10
|
+
Class for handling runtime environment names.
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
@staticmethod
|
|
14
|
+
def get_name(runtime_name):
|
|
15
|
+
"""
|
|
16
|
+
Returns the runtime environment name as a string.
|
|
17
|
+
|
|
18
|
+
:param runtime_name: RuntimeName object representing the runtime environment
|
|
19
|
+
:type runtime_name: RuntimeName
|
|
20
|
+
:return: Runtime environment name as a string
|
|
21
|
+
:rtype: str
|
|
22
|
+
:raises Exception: When the provided runtime name is invalid
|
|
23
|
+
"""
|
|
24
|
+
if isinstance(runtime_name, RuntimeName):
|
|
25
|
+
if runtime_name == RuntimeName.clr:
|
|
26
|
+
return "clr"
|
|
27
|
+
elif runtime_name == RuntimeName.go:
|
|
28
|
+
return "go"
|
|
29
|
+
elif runtime_name == RuntimeName.jvm:
|
|
30
|
+
return "jvm"
|
|
31
|
+
elif runtime_name == RuntimeName.netcore:
|
|
32
|
+
return "netcore"
|
|
33
|
+
elif runtime_name == RuntimeName.perl:
|
|
34
|
+
return "perl"
|
|
35
|
+
elif runtime_name == RuntimeName.python:
|
|
36
|
+
return "python"
|
|
37
|
+
elif runtime_name == RuntimeName.ruby:
|
|
38
|
+
return "ruby"
|
|
39
|
+
elif runtime_name == RuntimeName.nodejs:
|
|
40
|
+
return "nodejs"
|
|
41
|
+
elif runtime_name == RuntimeName.cpp:
|
|
42
|
+
return "cpp"
|
|
43
|
+
elif runtime_name == RuntimeName.php:
|
|
44
|
+
return "php"
|
|
45
|
+
elif runtime_name == RuntimeName.python27:
|
|
46
|
+
return "python27"
|
|
47
|
+
raise Exception("Invalid runtime name.")
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"""
|
|
2
|
+
The StringEncodingMode class represents character encoding modes used in Javonet.
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
class StringEncodingMode(object):
|
|
6
|
+
def __init__(self, value):
|
|
7
|
+
self.value = value
|
|
8
|
+
|
|
9
|
+
def __eq__(self, other):
|
|
10
|
+
if isinstance(other, StringEncodingMode):
|
|
11
|
+
return self.value == other.value
|
|
12
|
+
return False
|
|
13
|
+
|
|
14
|
+
def __hash__(self):
|
|
15
|
+
return hash(self.value)
|
|
16
|
+
|
|
17
|
+
def __str__(self):
|
|
18
|
+
return self._name_map.get(self.value, str(self.value))
|
|
19
|
+
|
|
20
|
+
def __repr__(self):
|
|
21
|
+
return "StringEncodingMode." + str(self)
|
|
22
|
+
|
|
23
|
+
ASCII = None
|
|
24
|
+
UTF8 = None
|
|
25
|
+
UTF16 = None
|
|
26
|
+
UTF32 = None
|
|
27
|
+
|
|
28
|
+
_name_map = {
|
|
29
|
+
0: 'ASCII',
|
|
30
|
+
1: 'UTF8',
|
|
31
|
+
2: 'UTF16',
|
|
32
|
+
3: 'UTF32'
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
StringEncodingMode.ASCII = StringEncodingMode(0)
|
|
36
|
+
StringEncodingMode.UTF8 = StringEncodingMode(1)
|
|
37
|
+
StringEncodingMode.UTF16 = StringEncodingMode(2)
|
|
38
|
+
StringEncodingMode.UTF32 = StringEncodingMode(3)
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"""
|
|
2
|
+
The Type class represents data types used in Javonet.
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class Type(object):
|
|
7
|
+
"""
|
|
8
|
+
Class representing data types used in Javonet.
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
def __init__(self, value):
|
|
13
|
+
self.value = value
|
|
14
|
+
|
|
15
|
+
def __eq__(self, other):
|
|
16
|
+
if isinstance(other, Type):
|
|
17
|
+
return self.value == other.value
|
|
18
|
+
return False
|
|
19
|
+
|
|
20
|
+
def __hash__(self):
|
|
21
|
+
return hash(self.value)
|
|
22
|
+
|
|
23
|
+
def __str__(self):
|
|
24
|
+
return self._name_map.get(self.value, str(self.value))
|
|
25
|
+
|
|
26
|
+
def __repr__(self):
|
|
27
|
+
return "Type." + str(self)
|
|
28
|
+
|
|
29
|
+
Command = None
|
|
30
|
+
JavonetString = None
|
|
31
|
+
JavonetInteger = None
|
|
32
|
+
JavonetBoolean = None
|
|
33
|
+
JavonetFloat = None
|
|
34
|
+
JavonetByte = None
|
|
35
|
+
JavonetChar = None
|
|
36
|
+
JavonetLongLong = None
|
|
37
|
+
JavonetDouble = None
|
|
38
|
+
JavonetUnsignedLongLong = None
|
|
39
|
+
JavonetUnsignedInteger = None
|
|
40
|
+
JavonetNoneType = None
|
|
41
|
+
|
|
42
|
+
_name_map = {
|
|
43
|
+
0: 'Command',
|
|
44
|
+
1: 'JavonetString',
|
|
45
|
+
2: 'JavonetInteger',
|
|
46
|
+
3: 'JavonetBoolean',
|
|
47
|
+
4: 'JavonetFloat',
|
|
48
|
+
5: 'JavonetByte',
|
|
49
|
+
6: 'JavonetChar',
|
|
50
|
+
7: 'JavonetLongLong',
|
|
51
|
+
8: 'JavonetDouble',
|
|
52
|
+
9: 'JavonetUnsignedLongLong',
|
|
53
|
+
10: 'JavonetUnsignedInteger',
|
|
54
|
+
11: 'JavonetNoneType'
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
Type.Command = Type(0)
|
|
58
|
+
Type.JavonetString = Type(1)
|
|
59
|
+
Type.JavonetInteger = Type(2)
|
|
60
|
+
Type.JavonetBoolean = Type(3)
|
|
61
|
+
Type.JavonetFloat = Type(4)
|
|
62
|
+
Type.JavonetByte = Type(5)
|
|
63
|
+
Type.JavonetChar = Type(6)
|
|
64
|
+
Type.JavonetLongLong = Type(7)
|
|
65
|
+
Type.JavonetDouble = Type(8)
|
|
66
|
+
Type.JavonetUnsignedLongLong = Type(9)
|
|
67
|
+
Type.JavonetUnsignedInteger = Type(10)
|
|
68
|
+
Type.JavonetNoneType = Type(11)
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import os
|
|
2
|
+
|
|
3
|
+
class UtilsConst:
|
|
4
|
+
_javonet_working_directory = os.path.abspath(os.getcwd()) + "/"
|
|
5
|
+
_config_source = ""
|
|
6
|
+
_license_key = "License key not set"
|
|
7
|
+
|
|
8
|
+
@staticmethod
|
|
9
|
+
def set_javonet_working_directory(path):
|
|
10
|
+
path = path.replace("\\", "/")
|
|
11
|
+
if not path.endswith("/"):
|
|
12
|
+
path = path + "/"
|
|
13
|
+
if not os.path.exists(path):
|
|
14
|
+
os.makedirs(path)
|
|
15
|
+
os.chmod(path, 0o700)
|
|
16
|
+
UtilsConst._javonet_working_directory = path
|
|
17
|
+
|
|
18
|
+
@staticmethod
|
|
19
|
+
def get_javonet_working_directory():
|
|
20
|
+
return UtilsConst._javonet_working_directory
|
|
21
|
+
|
|
22
|
+
@staticmethod
|
|
23
|
+
def set_config_source(value):
|
|
24
|
+
UtilsConst._config_source = value
|
|
25
|
+
|
|
26
|
+
@staticmethod
|
|
27
|
+
def get_config_source():
|
|
28
|
+
return UtilsConst._config_source
|
|
29
|
+
|
|
30
|
+
@staticmethod
|
|
31
|
+
def set_license_key(value):
|
|
32
|
+
if not value or value == "" or value == "your-license-key":
|
|
33
|
+
return
|
|
34
|
+
UtilsConst._license_key = value
|
|
35
|
+
|
|
36
|
+
@staticmethod
|
|
37
|
+
def get_license_key():
|
|
38
|
+
return UtilsConst._license_key
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
"""
|
|
3
|
+
The IConnectionData interface defines a contract for classes handling connection data.
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
from abc import ABCMeta, abstractmethod
|
|
7
|
+
|
|
8
|
+
from javonet.utils.ConnectionType import ConnectionType
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class IConnectionData(object):
|
|
12
|
+
"""
|
|
13
|
+
Interface for classes handling connection data.
|
|
14
|
+
"""
|
|
15
|
+
__metaclass__ = ABCMeta
|
|
16
|
+
|
|
17
|
+
@abstractmethod
|
|
18
|
+
def connection_type(self):
|
|
19
|
+
"""
|
|
20
|
+
Returns the connection type.
|
|
21
|
+
|
|
22
|
+
:return: Connection type
|
|
23
|
+
:rtype: ConnectionType
|
|
24
|
+
"""
|
|
25
|
+
pass
|
|
26
|
+
|
|
27
|
+
@abstractmethod
|
|
28
|
+
def hostname(self):
|
|
29
|
+
"""
|
|
30
|
+
Returns the host name.
|
|
31
|
+
|
|
32
|
+
:return: Host name
|
|
33
|
+
:rtype: str
|
|
34
|
+
"""
|
|
35
|
+
pass
|
|
36
|
+
|
|
37
|
+
@abstractmethod
|
|
38
|
+
def serialize_connection_data(self):
|
|
39
|
+
"""
|
|
40
|
+
Serializes the connection data.
|
|
41
|
+
|
|
42
|
+
:return: Serialized connection data
|
|
43
|
+
:rtype: str
|
|
44
|
+
"""
|
|
45
|
+
pass
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
|
|
3
|
+
from javonet.utils.ConnectionType import ConnectionType
|
|
4
|
+
from javonet.utils.connectionData.IConnectionData import IConnectionData
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class InMemoryConnectionData(IConnectionData):
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
@property
|
|
11
|
+
def connection_type(self):
|
|
12
|
+
|
|
13
|
+
return ConnectionType.InMemory
|
|
14
|
+
|
|
15
|
+
@property
|
|
16
|
+
def hostname(self):
|
|
17
|
+
|
|
18
|
+
return ""
|
|
19
|
+
|
|
20
|
+
def serialize_connection_data(self):
|
|
21
|
+
|
|
22
|
+
return [self.connection_type.value, 0, 0, 0, 0, 0, 0]
|
|
23
|
+
|
|
24
|
+
def __eq__(self, other):
|
|
25
|
+
|
|
26
|
+
return isinstance(other, InMemoryConnectionData)
|
|
27
|
+
|
|
28
|
+
def __hash__(self):
|
|
29
|
+
|
|
30
|
+
hash_code = 593727026
|
|
31
|
+
hash_code = hash_code * -1521134295 + hash(self.connection_type)
|
|
32
|
+
return hash_code
|