javonet-ruby-sdk 2.4.4 → 2.4.6
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/Windows/X64/Javonet.Clr.Utils.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Clr/Windows/X64/JavonetClrRuntime.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Jvm/Linux/X64/JavonetJvmRuntime.jar +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Jvm/MacOs/X64/JavonetJvmRuntime.jar +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Jvm/Windows/X64/JavonetJvmRuntime.jar +0 -0
- 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/libJavonetRubyRuntimeNative.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/openssl3/libJavonetActivationService.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/libJavonetRubyRuntimeNative.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/version.txt +1 -1
- 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/JavonetPerlRuntimeNativeAuxiliary.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/JavonetRubyRuntimeNative.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/Netcore/Linux/X64/Javonet.Netcore.Core.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Netcore/Linux/X64/Javonet.Netcore.Utils.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Netcore/MacOs/X64/Javonet.Netcore.Core.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Netcore/MacOs/X64/Javonet.Netcore.Utils.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Netcore/Windows/X64/Javonet.Netcore.Core.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Netcore/Windows/X64/Javonet.Netcore.Utils.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Linux/X64/core/handler/DestructReferenceHandler.js +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Linux/X64/core/handler/EnableNamespaceHandler.js +37 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Linux/X64/core/handler/EnableTypeHandler.js +37 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Linux/X64/core/handler/GetTypeHandler.js +21 -5
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Linux/X64/core/handler/Handler.js +10 -7
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Linux/X64/core/handler/LoadLibraryHandler.js +11 -2
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Linux/X64/core/handler/ResolveReferenceHandler.js +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Linux/X64/core/namespaceCache/NamespaceCache.js +39 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Linux/X64/core/typeCache/TypeCache.js +39 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Linux/X64/utils/CommandType.js +3 -1
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/DestructReferenceHandler.js +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/EnableNamespaceHandler.js +37 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/EnableTypeHandler.js +37 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/GetTypeHandler.js +21 -5
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/Handler.js +10 -7
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/LoadLibraryHandler.js +11 -2
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/ResolveReferenceHandler.js +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/namespaceCache/NamespaceCache.js +39 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/typeCache/TypeCache.js +39 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/utils/CommandType.js +3 -1
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/DestructReferenceHandler.js +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/EnableNamespaceHandler.js +37 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/EnableTypeHandler.js +37 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/GetTypeHandler.js +21 -5
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/Handler.js +10 -7
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/LoadLibraryHandler.js +11 -2
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/ResolveReferenceHandler.js +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/namespaceCache/NamespaceCache.js +39 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/typeCache/TypeCache.js +39 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/utils/CommandType.js +3 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/ExtUtils/Helpers/Unix.pm +14 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/ExtUtils/Helpers/VMS.pm +4 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/ExtUtils/Helpers/Windows.pm +58 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/ExtUtils/Helpers.pm +2 -13
- 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 +93 -93
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/ExtUtils/Helpers/Unix.pm +14 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/ExtUtils/Helpers/VMS.pm +4 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/ExtUtils/Helpers/Windows.pm +58 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/ExtUtils/Helpers.pm +2 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/Class/Load/XS/XS.bundle +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/Clone/Clone.bundle +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/Data/UUID/UUID.bundle +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/FFI/Platypus/Platypus.bundle +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/Moose/Moose.bundle +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/PPI/XS/XS.bundle +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/Package/Stash/XS/XS.bundle +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/Params/Util/Util.bundle +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/Scalar/Util/Numeric/Numeric.bundle +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/Want/Want.bundle +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/autobox/autobox.bundle +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/share/dist/FFI-Platypus/lib/libplfill.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/perllocal.pod +94 -94
- 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 +18 -18
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/handler/{CommandHandler/ArrayGetItemHandler.py → ArrayGetItemHandler.py} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/{MacOs/X64/javonet/core/handler/CommandHandler → Linux/X64/javonet/core/handler}/ArrayGetRankHandler.py +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/handler/{CommandHandler/ArrayGetSizeHandler.py → ArrayGetSizeHandler.py} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/{MacOs/X64/javonet/core/handler/CommandHandler → Linux/X64/javonet/core/handler}/ArrayHandler.py +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/{MacOs/X64/javonet/core/handler/CommandHandler → Linux/X64/javonet/core/handler}/ArraySetItemHandler.py +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/{MacOs/X64/javonet/core/handler/CommandHandler → Linux/X64/javonet/core/handler}/CastingHandler.py +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/{MacOs/X64/javonet/core/handler/CommandHandler → Linux/X64/javonet/core/handler}/CreateClassInstanceHandler.py +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/{MacOs/X64/javonet/core/handler/CommandHandler → Linux/X64/javonet/core/handler}/DestructReferenceHandler.py +2 -2
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/handler/EnableNamespaceHandler.py +28 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/handler/EnableTypeHandler.py +28 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/handler/{CommandHandler/GetEnumItemHandler.py → GetEnumItemHandler.py} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/{MacOs/X64/javonet/core/handler/CommandHandler → Linux/X64/javonet/core/handler}/GetEnumNameHandler.py +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/handler/{CommandHandler/GetEnumValueHandler.py → GetEnumValueHandler.py} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/handler/{CommandHandler/GetInstanceFieldHandler.py → GetInstanceFieldHandler.py} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/handler/{CommandHandler/GetStaticFieldHandler.py → GetStaticFieldHandler.py} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/handler/GetTypeHandler.py +56 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/handler/Handler.py +26 -24
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet/core/handler/CommandHandler → Linux/X64/javonet/core/handler}/InvokeInstanceMethodHandler.py +31 -31
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/handler/{CommandHandler/InvokeStaticMethodHandler.py → InvokeStaticMethodHandler.py} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/handler/{CommandHandler/LoadLibraryHandler.py → LoadLibraryHandler.py} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/handler/{CommandHandler/ResolveInstanceHandler.py → ResolveInstanceHandler.py} +2 -2
- data/lib/javonet-ruby-sdk/Binaries/Python/{MacOs/X64/javonet/core/handler/CommandHandler → Linux/X64/javonet/core/handler}/SetInstanceFieldHandler.py +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/{MacOs/X64/javonet/core/handler/CommandHandler → Linux/X64/javonet/core/handler}/SetStaticFieldHandler.py +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/handler/{CommandHandler/ValueHandler.py → ValueHandler.py} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/namespaceCache/NamespaceCache.py +44 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/receiver/Receiver.py +4 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/referenceCache/ReferencesCache.py +38 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/typeCache/TypeCache.py +44 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/utils/CommandType.py +2 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/{CommandHandler/ArrayGetItemHandler.py → ArrayGetItemHandler.py} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet/core/handler/CommandHandler → MacOs/X64/javonet/core/handler}/ArrayGetRankHandler.py +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/{CommandHandler/ArrayGetSizeHandler.py → ArrayGetSizeHandler.py} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet/core/handler/CommandHandler → MacOs/X64/javonet/core/handler}/ArrayHandler.py +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet/core/handler/CommandHandler → MacOs/X64/javonet/core/handler}/ArraySetItemHandler.py +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet/core/handler/CommandHandler → MacOs/X64/javonet/core/handler}/CastingHandler.py +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet/core/handler/CommandHandler → MacOs/X64/javonet/core/handler}/CreateClassInstanceHandler.py +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet/core/handler/CommandHandler → MacOs/X64/javonet/core/handler}/DestructReferenceHandler.py +2 -2
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/EnableNamespaceHandler.py +28 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/EnableTypeHandler.py +28 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/{CommandHandler/GetEnumItemHandler.py → GetEnumItemHandler.py} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet/core/handler/CommandHandler → MacOs/X64/javonet/core/handler}/GetEnumNameHandler.py +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/{CommandHandler/GetEnumValueHandler.py → GetEnumValueHandler.py} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/{CommandHandler/GetInstanceFieldHandler.py → GetInstanceFieldHandler.py} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/{CommandHandler/GetStaticFieldHandler.py → GetStaticFieldHandler.py} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/GetTypeHandler.py +56 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/Handler.py +26 -24
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/{CommandHandler/InvokeInstanceMethodHandler.py → InvokeInstanceMethodHandler.py} +5 -5
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/{CommandHandler/InvokeStaticMethodHandler.py → InvokeStaticMethodHandler.py} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/{CommandHandler/LoadLibraryHandler.py → LoadLibraryHandler.py} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/{CommandHandler/ResolveInstanceHandler.py → ResolveInstanceHandler.py} +2 -2
- data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet/core/handler/CommandHandler → MacOs/X64/javonet/core/handler}/SetInstanceFieldHandler.py +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet/core/handler/CommandHandler → MacOs/X64/javonet/core/handler}/SetStaticFieldHandler.py +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/{CommandHandler/ValueHandler.py → ValueHandler.py} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/namespaceCache/NamespaceCache.py +44 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/namespaceCache/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/receiver/Receiver.py +4 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/referenceCache/ReferencesCache.py +38 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/referenceCache/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/typeCache/TypeCache.py +44 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/typeCache/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/utils/CommandType.py +2 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/__pycache__/PythonStringBuilder.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/ArrayGetItemHandler.py → ArrayGetItemHandler.py} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/ArrayGetRankHandler.py → ArrayGetRankHandler.py} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/ArrayGetSizeHandler.py → ArrayGetSizeHandler.py} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/ArrayHandler.py → ArrayHandler.py} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/ArraySetItemHandler.py → ArraySetItemHandler.py} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/CastingHandler.py → CastingHandler.py} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/CreateClassInstanceHandler.py → CreateClassInstanceHandler.py} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/DestructReferenceHandler.py → DestructReferenceHandler.py} +2 -2
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/EnableNamespaceHandler.py +28 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/EnableTypeHandler.py +28 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/GetEnumItemHandler.py → GetEnumItemHandler.py} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/GetEnumNameHandler.py → GetEnumNameHandler.py} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/GetEnumValueHandler.py → GetEnumValueHandler.py} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/GetInstanceFieldHandler.py → GetInstanceFieldHandler.py} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/GetStaticFieldHandler.py → GetStaticFieldHandler.py} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/GetTypeHandler.py +56 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/Handler.py +26 -24
- data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet/core/handler/CommandHandler → Windows/X64/javonet/core/handler}/InvokeInstanceMethodHandler.py +31 -31
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/InvokeStaticMethodHandler.py → InvokeStaticMethodHandler.py} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/LoadLibraryHandler.py → LoadLibraryHandler.py} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/ResolveInstanceHandler.py → ResolveInstanceHandler.py} +2 -2
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/SetInstanceFieldHandler.py → SetInstanceFieldHandler.py} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/SetStaticFieldHandler.py → SetStaticFieldHandler.py} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/ValueHandler.py → ValueHandler.py} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/__pycache__ → __pycache__}/AbstractCommandHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/AbstractHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/__pycache__ → __pycache__}/ArrayGetItemHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/__pycache__ → __pycache__}/ArrayGetRankHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/__pycache__ → __pycache__}/ArrayGetSizeHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/__pycache__ → __pycache__}/ArrayHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/__pycache__ → __pycache__}/ArraySetItemHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/CastingHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/CreateClassInstanceHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/DestructReferenceHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/EnableNamespaceHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/EnableTypeHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/__pycache__ → __pycache__}/GetEnumItemHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/__pycache__ → __pycache__}/GetEnumNameHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/__pycache__ → __pycache__}/GetEnumValueHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/__pycache__ → __pycache__}/GetInstanceFieldHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/__pycache__ → __pycache__}/GetStaticFieldHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/GetTypeHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/Handler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/HandlerDictionary.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/InvokeInstanceMethodHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/__pycache__ → __pycache__}/InvokeStaticMethodHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/__pycache__ → __pycache__}/LoadLibraryHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/ResolveInstanceHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/__pycache__ → __pycache__}/SetInstanceFieldHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/__pycache__ → __pycache__}/SetStaticFieldHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/ValueHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/interpreter/__pycache__/Interpreter.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/interpreter/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/namespaceCache/NamespaceCache.py +44 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/namespaceCache/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/namespaceCache/__pycache__/NamespaceCache.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/namespaceCache/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/protocol/__pycache__/CommandDeserializer.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/protocol/__pycache__/CommandSerializer.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/protocol/__pycache__/TypeDeserializer.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/protocol/__pycache__/TypeSerializer.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/protocol/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/receiver/Receiver.py +4 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/receiver/__pycache__/Receiver.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/receiver/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/referenceCache/ReferencesCache.py +38 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/referenceCache/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/referenceCache/__pycache__/ReferencesCache.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/referenceCache/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/typeCache/TypeCache.py +44 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/typeCache/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/typeCache/__pycache__/TypeCache.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/typeCache/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/CommandType.py +2 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/Command.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/CommandType.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/ConnectionType.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/ExceptionType.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/RuntimeName.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/StringEncodingMode.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/TcpConnectionData.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/Type.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/exception/__pycache__/ExceptionSerializer.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/exception/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/{command_handler/abstract_command_handler.rb → abstract_command_handler.rb} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Ruby/{MacOs/X64/core/handler/command_handler → Linux/X64/core/handler}/destruct_reference_handler.rb +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/enable_namespace_handler.rb +31 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/enable_type_handler.rb +32 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/{MacOs/X64/core/handler/command_handler → Linux/X64/core/handler}/get_instance_field_handler.rb +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Ruby/{MacOs/X64/core/handler/command_handler → Linux/X64/core/handler}/get_static_field_handler.rb +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/get_type_handler.rb +59 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/handler.rb +30 -24
- data/lib/javonet-ruby-sdk/Binaries/Ruby/{MacOs/X64/core/handler/command_handler → Linux/X64/core/handler}/resolve_instance_handler.rb +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/namespace_cache/namespace_cache.rb +40 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/reference_cache/references_cache.rb +33 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/type_cache/type_cache.rb +40 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/external_lib/random/formatter.rb +373 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/external_lib/securerandom.rb +29 -266
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/external_lib/singleton.rb +172 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/utils/command_type.rb +11 -3
- data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/{command_handler/abstract_command_handler.rb → abstract_command_handler.rb} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Ruby/{Linux/X64/core/handler/command_handler → MacOs/X64/core/handler}/destruct_reference_handler.rb +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/enable_namespace_handler.rb +31 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/enable_type_handler.rb +32 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/{Linux/X64/core/handler/command_handler → MacOs/X64/core/handler}/get_instance_field_handler.rb +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Ruby/{Linux/X64/core/handler/command_handler → MacOs/X64/core/handler}/get_static_field_handler.rb +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/get_type_handler.rb +59 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/handler.rb +30 -24
- data/lib/javonet-ruby-sdk/Binaries/Ruby/{Linux/X64/core/handler/command_handler → MacOs/X64/core/handler}/resolve_instance_handler.rb +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/namespace_cache/namespace_cache.rb +40 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/reference_cache/references_cache.rb +33 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/type_cache/type_cache.rb +40 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/external_lib/random/formatter.rb +373 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/external_lib/securerandom.rb +29 -266
- data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/external_lib/singleton.rb +172 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/utils/command_type.rb +11 -3
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/{command_handler/abstract_command_handler.rb → abstract_command_handler.rb} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/{command_handler/destruct_reference_handler.rb → destruct_reference_handler.rb} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/enable_namespace_handler.rb +31 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/enable_type_handler.rb +32 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/{command_handler/get_instance_field_handler.rb → get_instance_field_handler.rb} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/{command_handler/get_static_field_handler.rb → get_static_field_handler.rb} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/get_type_handler.rb +59 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/handler.rb +30 -24
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/{command_handler/resolve_instance_handler.rb → resolve_instance_handler.rb} +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/namespace_cache/namespace_cache.rb +40 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/reference_cache/references_cache.rb +33 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/type_cache/type_cache.rb +40 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/external_lib/random/formatter.rb +373 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/external_lib/securerandom.rb +29 -266
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/external_lib/singleton.rb +172 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/utils/command_type.rb +11 -3
- data/lib/javonet-ruby-sdk/Binaries/version.txt +1 -1
- data/lib/javonet-ruby-sdk/core/handler/{command_handler/abstract_command_handler.rb → abstract_command_handler.rb} +1 -1
- data/lib/javonet-ruby-sdk/core/handler/{command_handler/destruct_reference_handler.rb → destruct_reference_handler.rb} +1 -1
- data/lib/javonet-ruby-sdk/core/handler/enable_namespace_handler.rb +31 -0
- data/lib/javonet-ruby-sdk/core/handler/enable_type_handler.rb +32 -0
- data/lib/javonet-ruby-sdk/core/handler/{command_handler/get_instance_field_handler.rb → get_instance_field_handler.rb} +1 -1
- data/lib/javonet-ruby-sdk/core/handler/{command_handler/get_static_field_handler.rb → get_static_field_handler.rb} +1 -1
- data/lib/javonet-ruby-sdk/core/handler/get_type_handler.rb +59 -0
- data/lib/javonet-ruby-sdk/core/handler/handler.rb +30 -24
- data/lib/javonet-ruby-sdk/core/handler/{command_handler/resolve_instance_handler.rb → resolve_instance_handler.rb} +1 -1
- data/lib/javonet-ruby-sdk/core/namespace_cache/namespace_cache.rb +40 -0
- data/lib/javonet-ruby-sdk/core/reference_cache/references_cache.rb +33 -0
- data/lib/javonet-ruby-sdk/core/type_cache/type_cache.rb +40 -0
- data/lib/javonet-ruby-sdk/external_lib/random/formatter.rb +373 -0
- data/lib/javonet-ruby-sdk/external_lib/securerandom.rb +29 -266
- data/lib/javonet-ruby-sdk/external_lib/singleton.rb +172 -0
- data/lib/javonet-ruby-sdk/utils/command_type.rb +11 -3
- metadata +243 -181
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/handler/CommandHandler/GetTypeHandler.py +0 -28
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/handler/ReferencesCache.py +0 -35
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/CommandHandler/GetTypeHandler.py +0 -28
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/ReferencesCache.py +0 -35
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/GetTypeHandler.py +0 -28
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/__pycache__/CastingHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/__pycache__/CreateClassInstanceHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/__pycache__/DestructReferenceHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/__pycache__/GetTypeHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/__pycache__/InvokeInstanceMethodHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/__pycache__/ResolveInstanceHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/__pycache__/ValueHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/ReferencesCache.py +0 -35
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/ReferencesCache.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/command_handler/get_type_handler.rb +0 -22
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/references_cache.rb +0 -35
- data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/command_handler/get_type_handler.rb +0 -22
- data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/references_cache.rb +0 -35
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/command_handler/get_type_handler.rb +0 -22
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/references_cache.rb +0 -35
- data/lib/javonet-ruby-sdk/core/handler/command_handler/get_type_handler.rb +0 -22
- data/lib/javonet-ruby-sdk/core/handler/references_cache.rb +0 -35
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/Linux/X64/core/{handler → referenceCache}/ReferencesCache.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/{handler → referenceCache}/ReferencesCache.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/{handler → referenceCache}/ReferencesCache.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/handler/{CommandHandler/AbstractCommandHandler.py → AbstractCommandHandler.py} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/{handler/CommandHandler → namespaceCache}/__init__.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{MacOs/X64/javonet/core/handler/CommandHandler → Linux/X64/javonet/core/referenceCache}/__init__.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet/core/handler/CommandHandler → Linux/X64/javonet/core/typeCache}/__init__.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/{CommandHandler/AbstractCommandHandler.py → AbstractCommandHandler.py} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/{CommandHandler/AbstractCommandHandler.py → AbstractCommandHandler.py} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/{command_handler/array_get_item_handler.rb → array_get_item_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/{command_handler/array_get_rank_handler.rb → array_get_rank_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/{command_handler/array_get_size_handler.rb → array_get_size_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/{command_handler/array_handler.rb → array_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/{command_handler/array_set_item_handler.rb → array_set_item_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/{command_handler/casting_handler.rb → casting_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/{command_handler/create_class_instance_handler.rb → create_class_instance_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/{command_handler/invoke_instance_method_handler.rb → invoke_instance_method_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/{command_handler/invoke_static_method_handler.rb → invoke_static_method_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/{command_handler/load_library_handler.rb → load_library_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/{command_handler/set_instance_field_handler.rb → set_instance_field_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/{command_handler/set_static_field_handler.rb → set_static_field_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/{command_handler/value_handler.rb → value_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/{command_handler/array_get_item_handler.rb → array_get_item_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/{command_handler/array_get_rank_handler.rb → array_get_rank_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/{command_handler/array_get_size_handler.rb → array_get_size_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/{command_handler/array_handler.rb → array_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/{command_handler/array_set_item_handler.rb → array_set_item_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/{command_handler/casting_handler.rb → casting_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/{command_handler/create_class_instance_handler.rb → create_class_instance_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/{command_handler/invoke_instance_method_handler.rb → invoke_instance_method_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/{command_handler/invoke_static_method_handler.rb → invoke_static_method_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/{command_handler/load_library_handler.rb → load_library_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/{command_handler/set_instance_field_handler.rb → set_instance_field_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/{command_handler/set_static_field_handler.rb → set_static_field_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/{command_handler/value_handler.rb → value_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/{command_handler/array_get_item_handler.rb → array_get_item_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/{command_handler/array_get_rank_handler.rb → array_get_rank_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/{command_handler/array_get_size_handler.rb → array_get_size_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/{command_handler/array_handler.rb → array_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/{command_handler/array_set_item_handler.rb → array_set_item_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/{command_handler/casting_handler.rb → casting_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/{command_handler/create_class_instance_handler.rb → create_class_instance_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/{command_handler/invoke_instance_method_handler.rb → invoke_instance_method_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/{command_handler/invoke_static_method_handler.rb → invoke_static_method_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/{command_handler/load_library_handler.rb → load_library_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/{command_handler/set_instance_field_handler.rb → set_instance_field_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/{command_handler/set_static_field_handler.rb → set_static_field_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/{command_handler/value_handler.rb → value_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/core/handler/{command_handler/array_get_item_handler.rb → array_get_item_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/core/handler/{command_handler/array_get_rank_handler.rb → array_get_rank_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/core/handler/{command_handler/array_get_size_handler.rb → array_get_size_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/core/handler/{command_handler/array_handler.rb → array_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/core/handler/{command_handler/array_set_item_handler.rb → array_set_item_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/core/handler/{command_handler/casting_handler.rb → casting_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/core/handler/{command_handler/create_class_instance_handler.rb → create_class_instance_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/core/handler/{command_handler/invoke_instance_method_handler.rb → invoke_instance_method_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/core/handler/{command_handler/invoke_static_method_handler.rb → invoke_static_method_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/core/handler/{command_handler/load_library_handler.rb → load_library_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/core/handler/{command_handler/set_instance_field_handler.rb → set_instance_field_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/core/handler/{command_handler/set_static_field_handler.rb → set_static_field_handler.rb} +0 -0
- /data/lib/javonet-ruby-sdk/core/handler/{command_handler/value_handler.rb → value_handler.rb} +0 -0
@@ -16,15 +16,24 @@ class LoadLibraryHandler extends AbstractHandler {
|
|
16
16
|
let pathArray = lib.split(/[/\\]/)
|
17
17
|
let libraryName = pathArray.length > 1 ? pathArray[pathArray.length - 1] : pathArray[0]
|
18
18
|
libraryName = libraryName.replace('.js', '')
|
19
|
+
|
20
|
+
let moduleExports
|
21
|
+
|
19
22
|
try {
|
20
|
-
|
23
|
+
moduleExports = require(lib)
|
21
24
|
} catch (error) {
|
22
25
|
try {
|
23
|
-
|
26
|
+
moduleExports = require(`${process.cwd()}/${lib}`)
|
24
27
|
} catch (error) {
|
25
28
|
throw this.process_stack_trace(error, this.constructor.name)
|
26
29
|
}
|
27
30
|
}
|
31
|
+
global[libraryName] = moduleExports
|
32
|
+
|
33
|
+
for (const [key, value] of Object.entries(moduleExports)) {
|
34
|
+
// Here, `key` is the name of the export, and `value` is the exported type itself.
|
35
|
+
global[key] = value
|
36
|
+
}
|
28
37
|
return 0
|
29
38
|
}
|
30
39
|
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
class NamespaceCache {
|
2
|
+
static _instance = null;
|
3
|
+
namespaceCache = [];
|
4
|
+
|
5
|
+
constructor() {
|
6
|
+
if (NamespaceCache._instance === null) {
|
7
|
+
NamespaceCache._instance = this;
|
8
|
+
}
|
9
|
+
return NamespaceCache._instance;
|
10
|
+
}
|
11
|
+
|
12
|
+
cacheNamespace(namespaceRegex) {
|
13
|
+
this.namespaceCache.push(namespaceRegex);
|
14
|
+
}
|
15
|
+
|
16
|
+
isNamespaceCacheEmpty() {
|
17
|
+
return this.namespaceCache.length === 0;
|
18
|
+
}
|
19
|
+
|
20
|
+
isTypeAllowed(typeToCheck) {
|
21
|
+
for (let pattern of this.namespaceCache) {
|
22
|
+
if (new RegExp(pattern).test(typeToCheck.constructor.name)) {
|
23
|
+
return true;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
return false;
|
27
|
+
}
|
28
|
+
|
29
|
+
getCachedNamespaces() {
|
30
|
+
return this.namespaceCache;
|
31
|
+
}
|
32
|
+
|
33
|
+
clearCache() {
|
34
|
+
this.namespaceCache = [];
|
35
|
+
return 0;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
module.exports = NamespaceCache;
|
@@ -0,0 +1,39 @@
|
|
1
|
+
class TypeCache {
|
2
|
+
static _instance = null;
|
3
|
+
typeCache = [];
|
4
|
+
|
5
|
+
constructor() {
|
6
|
+
if (TypeCache._instance === null) {
|
7
|
+
TypeCache._instance = this;
|
8
|
+
}
|
9
|
+
return TypeCache._instance;
|
10
|
+
}
|
11
|
+
|
12
|
+
cacheType(typRegex) {
|
13
|
+
this.typeCache.push(typRegex);
|
14
|
+
}
|
15
|
+
|
16
|
+
isTypeCacheEmpty() {
|
17
|
+
return this.typeCache.length === 0;
|
18
|
+
}
|
19
|
+
|
20
|
+
isTypeAllowed(typeToCheck) {
|
21
|
+
for (let pattern of this.typeCache) {
|
22
|
+
if (new RegExp(pattern).test(typeToCheck.name)) {
|
23
|
+
return true;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
return false;
|
27
|
+
}
|
28
|
+
|
29
|
+
getCachedTypes() {
|
30
|
+
return this.typeCache;
|
31
|
+
}
|
32
|
+
|
33
|
+
clearCache() {
|
34
|
+
this.typeCache = [];
|
35
|
+
return 0;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
module.exports = TypeCache;
|
@@ -0,0 +1,37 @@
|
|
1
|
+
const AbstractHandler = require("./AbstractHandler");
|
2
|
+
const NamespaceCache = require("../namespaceCache/NamespaceCache");
|
3
|
+
|
4
|
+
class EnableNamespaceHandler extends AbstractHandler {
|
5
|
+
|
6
|
+
constructor() {
|
7
|
+
super()
|
8
|
+
this.requiredParametersCount = 1
|
9
|
+
}
|
10
|
+
|
11
|
+
process(command) {
|
12
|
+
try {
|
13
|
+
if (command.payload.length < this.requiredParametersCount) {
|
14
|
+
throw new Error(this.constructor.name + " parameters mismatch")
|
15
|
+
}
|
16
|
+
const namespace_cache = new NamespaceCache();
|
17
|
+
|
18
|
+
for (let payload of command.payload) {
|
19
|
+
if (typeof payload === 'string') {
|
20
|
+
namespace_cache.cacheNamespace(payload);
|
21
|
+
}
|
22
|
+
if (Array.isArray(payload)) {
|
23
|
+
for (let namespace_to_enable of payload) {
|
24
|
+
namespace_cache.cacheNamespace(namespace_to_enable);
|
25
|
+
}
|
26
|
+
}
|
27
|
+
}
|
28
|
+
return 0;
|
29
|
+
|
30
|
+
} catch (error) {
|
31
|
+
throw this.process_stack_trace(error, this.constructor.name)
|
32
|
+
}
|
33
|
+
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
module.exports = new EnableNamespaceHandler()
|
@@ -0,0 +1,37 @@
|
|
1
|
+
const AbstractHandler = require("./AbstractHandler");
|
2
|
+
const TypeCache = require("../typeCache/TypeCache");
|
3
|
+
|
4
|
+
class EnableTypeHandler extends AbstractHandler {
|
5
|
+
requiredParametersCount = 1
|
6
|
+
|
7
|
+
constructor() {
|
8
|
+
super()
|
9
|
+
}
|
10
|
+
|
11
|
+
process(command) {
|
12
|
+
try {
|
13
|
+
if (command.payload.length < this.requiredParametersCount) {
|
14
|
+
throw new Error("Get Type parameters mismatch")
|
15
|
+
}
|
16
|
+
const typeCache = new TypeCache();
|
17
|
+
|
18
|
+
for (let payload of command.payload) {
|
19
|
+
if (typeof payload === 'string') {
|
20
|
+
typeCache.cacheType(payload);
|
21
|
+
}
|
22
|
+
if (Array.isArray(payload)) {
|
23
|
+
for (let namespace_to_enable of payload) {
|
24
|
+
typeCache.cacheType(namespace_to_enable);
|
25
|
+
}
|
26
|
+
}
|
27
|
+
}
|
28
|
+
return 0;
|
29
|
+
|
30
|
+
} catch (error) {
|
31
|
+
throw this.process_stack_trace(error, this.constructor.name)
|
32
|
+
}
|
33
|
+
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
module.exports = new EnableTypeHandler()
|
@@ -1,10 +1,14 @@
|
|
1
1
|
const AbstractHandler = require("./AbstractHandler");
|
2
|
+
const NamespaceCache = require("../namespaceCache/NamespaceCache");
|
3
|
+
const TypeCache = require("../typeCache/TypeCache");
|
2
4
|
|
3
5
|
class GetTypeHandler extends AbstractHandler {
|
4
|
-
requiredParametersCount = 1
|
5
6
|
|
6
7
|
constructor() {
|
7
8
|
super()
|
9
|
+
this.requiredParametersCount = 1
|
10
|
+
this.namespaceCache = new NamespaceCache();
|
11
|
+
this.typeCache = new TypeCache();
|
8
12
|
}
|
9
13
|
|
10
14
|
process(command) {
|
@@ -15,12 +19,24 @@ class GetTypeHandler extends AbstractHandler {
|
|
15
19
|
const {payload} = command
|
16
20
|
let typeName = payload[0]
|
17
21
|
typeName = typeName.replace(".js", "")
|
18
|
-
let
|
19
|
-
if (
|
20
|
-
throw new Error(`
|
22
|
+
let typeToReturn = global[typeName]
|
23
|
+
if (typeToReturn === undefined) {
|
24
|
+
throw new Error(`Type ${typeName} not found`)
|
25
|
+
}
|
26
|
+
|
27
|
+
if (
|
28
|
+
(this.namespaceCache.isNamespaceCacheEmpty() && this.typeCache.isTypeCacheEmpty()) || // both caches are empty
|
29
|
+
this.namespaceCache.isTypeAllowed(typeToReturn) || // namespace is allowed
|
30
|
+
this.typeCache.isTypeAllowed(typeToReturn) // type is allowed
|
31
|
+
) {
|
32
|
+
// continue - type is allowed
|
21
33
|
} else {
|
22
|
-
|
34
|
+
let allowed_namespaces = this.namespaceCache.getCachedNamespaces().join(", ");
|
35
|
+
let allowed_types = this.typeCache.getCachedTypes().join(", ");
|
36
|
+
throw new Error(`Type ${typeToReturn.name} not allowed. \nAllowed namespaces: ${allowed_namespaces}\nAllowed types: ${allowed_types}`);
|
23
37
|
}
|
38
|
+
|
39
|
+
return typeToReturn
|
24
40
|
} catch (error) {
|
25
41
|
throw this.process_stack_trace(error, this.constructor.name)
|
26
42
|
}
|
@@ -1,4 +1,8 @@
|
|
1
1
|
const CommandType = require('../../utils/CommandType')
|
2
|
+
const Command = require("../../utils/Command");
|
3
|
+
const ReferenceCache = require('../referenceCache/ReferencesCache')
|
4
|
+
const ExceptionSerializer = require('../exception/ExceptionSerializer')
|
5
|
+
|
2
6
|
const ValueHandler = require('./ValueHandler')
|
3
7
|
const LoadLibraryHandler = require('./LoadLibraryHandler')
|
4
8
|
const GetTypeHandler = require('./GetTypeHandler')
|
@@ -18,13 +22,10 @@ const ArrayGetSizeHandler = require('./ArrayGetSizeHandler')
|
|
18
22
|
const ArrayGetRankHandler = require('./ArrayGetRankHandler')
|
19
23
|
const ArraySetItemHandler = require('./ArraySetItemHandler')
|
20
24
|
const ArrayHandler = require('./ArrayHandler')
|
25
|
+
const EnableNamespaceHandler = require('./EnableNamespaceHandler')
|
26
|
+
const EnableTypeHandler = require('./EnableTypeHandler')
|
21
27
|
|
22
28
|
|
23
|
-
const ExceptionSerializer = require('../exception/ExceptionSerializer')
|
24
|
-
|
25
|
-
const ReferenceCache = require('./ReferencesCache')
|
26
|
-
const Command = require("../../utils/Command");
|
27
|
-
|
28
29
|
function isResponseSimpleType(response) {
|
29
30
|
let type = typeof (response)
|
30
31
|
return ['string', 'boolean', 'number'].includes(type)
|
@@ -53,13 +54,15 @@ const handlers = {
|
|
53
54
|
[CommandType.ArrayGetSize]: ArrayGetSizeHandler,
|
54
55
|
[CommandType.ArrayGetRank]: ArrayGetRankHandler,
|
55
56
|
[CommandType.ArraySetItem]: ArraySetItemHandler,
|
56
|
-
[CommandType.Array]: ArrayHandler
|
57
|
+
[CommandType.Array]: ArrayHandler,
|
58
|
+
[CommandType.EnableNamespace]: EnableNamespaceHandler,
|
59
|
+
[CommandType.EnableType]: EnableTypeHandler
|
57
60
|
}
|
58
61
|
|
59
62
|
class Handler {
|
60
63
|
handleCommand(command) {
|
61
64
|
try {
|
62
|
-
if (command.commandType
|
65
|
+
if (command.commandType === CommandType.RetrieveArray) {
|
63
66
|
let responseArray = handlers[CommandType.Reference].handleCommand(command.payload[0])
|
64
67
|
return Command.createArrayResponse(responseArray, command.runtimeName)
|
65
68
|
}
|
@@ -16,15 +16,24 @@ class LoadLibraryHandler extends AbstractHandler {
|
|
16
16
|
let pathArray = lib.split(/[/\\]/)
|
17
17
|
let libraryName = pathArray.length > 1 ? pathArray[pathArray.length - 1] : pathArray[0]
|
18
18
|
libraryName = libraryName.replace('.js', '')
|
19
|
+
|
20
|
+
let moduleExports
|
21
|
+
|
19
22
|
try {
|
20
|
-
|
23
|
+
moduleExports = require(lib)
|
21
24
|
} catch (error) {
|
22
25
|
try {
|
23
|
-
|
26
|
+
moduleExports = require(`${process.cwd()}/${lib}`)
|
24
27
|
} catch (error) {
|
25
28
|
throw this.process_stack_trace(error, this.constructor.name)
|
26
29
|
}
|
27
30
|
}
|
31
|
+
global[libraryName] = moduleExports
|
32
|
+
|
33
|
+
for (const [key, value] of Object.entries(moduleExports)) {
|
34
|
+
// Here, `key` is the name of the export, and `value` is the exported type itself.
|
35
|
+
global[key] = value
|
36
|
+
}
|
28
37
|
return 0
|
29
38
|
}
|
30
39
|
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
class NamespaceCache {
|
2
|
+
static _instance = null;
|
3
|
+
namespaceCache = [];
|
4
|
+
|
5
|
+
constructor() {
|
6
|
+
if (NamespaceCache._instance === null) {
|
7
|
+
NamespaceCache._instance = this;
|
8
|
+
}
|
9
|
+
return NamespaceCache._instance;
|
10
|
+
}
|
11
|
+
|
12
|
+
cacheNamespace(namespaceRegex) {
|
13
|
+
this.namespaceCache.push(namespaceRegex);
|
14
|
+
}
|
15
|
+
|
16
|
+
isNamespaceCacheEmpty() {
|
17
|
+
return this.namespaceCache.length === 0;
|
18
|
+
}
|
19
|
+
|
20
|
+
isTypeAllowed(typeToCheck) {
|
21
|
+
for (let pattern of this.namespaceCache) {
|
22
|
+
if (new RegExp(pattern).test(typeToCheck.constructor.name)) {
|
23
|
+
return true;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
return false;
|
27
|
+
}
|
28
|
+
|
29
|
+
getCachedNamespaces() {
|
30
|
+
return this.namespaceCache;
|
31
|
+
}
|
32
|
+
|
33
|
+
clearCache() {
|
34
|
+
this.namespaceCache = [];
|
35
|
+
return 0;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
module.exports = NamespaceCache;
|
@@ -0,0 +1,39 @@
|
|
1
|
+
class TypeCache {
|
2
|
+
static _instance = null;
|
3
|
+
typeCache = [];
|
4
|
+
|
5
|
+
constructor() {
|
6
|
+
if (TypeCache._instance === null) {
|
7
|
+
TypeCache._instance = this;
|
8
|
+
}
|
9
|
+
return TypeCache._instance;
|
10
|
+
}
|
11
|
+
|
12
|
+
cacheType(typRegex) {
|
13
|
+
this.typeCache.push(typRegex);
|
14
|
+
}
|
15
|
+
|
16
|
+
isTypeCacheEmpty() {
|
17
|
+
return this.typeCache.length === 0;
|
18
|
+
}
|
19
|
+
|
20
|
+
isTypeAllowed(typeToCheck) {
|
21
|
+
for (let pattern of this.typeCache) {
|
22
|
+
if (new RegExp(pattern).test(typeToCheck.name)) {
|
23
|
+
return true;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
return false;
|
27
|
+
}
|
28
|
+
|
29
|
+
getCachedTypes() {
|
30
|
+
return this.typeCache;
|
31
|
+
}
|
32
|
+
|
33
|
+
clearCache() {
|
34
|
+
this.typeCache = [];
|
35
|
+
return 0;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
module.exports = TypeCache;
|
@@ -1,13 +1,14 @@
|
|
1
1
|
package ExtUtils::Helpers::Unix;
|
2
|
-
$ExtUtils::Helpers::Unix::VERSION = '0.
|
2
|
+
$ExtUtils::Helpers::Unix::VERSION = '0.027';
|
3
3
|
use strict;
|
4
4
|
use warnings FATAL => 'all';
|
5
5
|
|
6
6
|
use Exporter 5.57 'import';
|
7
|
-
our @EXPORT = qw/make_executable detildefy/;
|
7
|
+
our @EXPORT = qw/make_executable split_like_shell detildefy/;
|
8
8
|
|
9
9
|
use Carp qw/croak/;
|
10
10
|
use Config;
|
11
|
+
use Text::ParseWords 3.24 qw/shellwords/;
|
11
12
|
|
12
13
|
my $layer = $] >= 5.008001 ? ":raw" : "";
|
13
14
|
|
@@ -30,6 +31,16 @@ sub make_executable {
|
|
30
31
|
return;
|
31
32
|
}
|
32
33
|
|
34
|
+
sub split_like_shell {
|
35
|
+
my ($string) = @_;
|
36
|
+
|
37
|
+
return if not defined $string;
|
38
|
+
$string =~ s/^\s+|\s+$//g;
|
39
|
+
return if not length $string;
|
40
|
+
|
41
|
+
return shellwords($string);
|
42
|
+
}
|
43
|
+
|
33
44
|
sub detildefy {
|
34
45
|
my $value = shift;
|
35
46
|
# tilde with optional username
|
@@ -56,7 +67,7 @@ ExtUtils::Helpers::Unix - Unix specific helper bits
|
|
56
67
|
|
57
68
|
=head1 VERSION
|
58
69
|
|
59
|
-
version 0.
|
70
|
+
version 0.027
|
60
71
|
|
61
72
|
=for Pod::Coverage make_executable
|
62
73
|
split_like_shell
|
@@ -1,11 +1,12 @@
|
|
1
1
|
package ExtUtils::Helpers::VMS;
|
2
|
-
$ExtUtils::Helpers::VMS::VERSION = '0.
|
2
|
+
$ExtUtils::Helpers::VMS::VERSION = '0.027';
|
3
3
|
use strict;
|
4
4
|
use warnings FATAL => 'all';
|
5
5
|
|
6
6
|
use Exporter 5.57 'import';
|
7
|
-
our @EXPORT = qw/make_executable detildefy/;
|
7
|
+
our @EXPORT = qw/make_executable split_like_shell detildefy/;
|
8
8
|
|
9
|
+
use ExtUtils::Helpers::Unix qw/split_like_shell/; # Probably very wrong, but whatever
|
9
10
|
use File::Copy qw/copy/;
|
10
11
|
|
11
12
|
sub make_executable {
|
@@ -88,7 +89,7 @@ ExtUtils::Helpers::VMS - VMS specific helper bits
|
|
88
89
|
|
89
90
|
=head1 VERSION
|
90
91
|
|
91
|
-
version 0.
|
92
|
+
version 0.027
|
92
93
|
|
93
94
|
=for Pod::Coverage make_executable
|
94
95
|
detildefy
|
data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/ExtUtils/Helpers/Windows.pm
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
package ExtUtils::Helpers::Windows;
|
2
|
-
$ExtUtils::Helpers::Windows::VERSION = '0.
|
2
|
+
$ExtUtils::Helpers::Windows::VERSION = '0.027';
|
3
3
|
use strict;
|
4
4
|
use warnings FATAL => 'all';
|
5
5
|
|
6
6
|
use Exporter 5.57 'import';
|
7
|
-
our @EXPORT = qw/make_executable detildefy/;
|
7
|
+
our @EXPORT = qw/make_executable split_like_shell detildefy/;
|
8
8
|
|
9
9
|
use Config;
|
10
10
|
use Carp qw/carp croak/;
|
@@ -18,6 +18,61 @@ sub make_executable {
|
|
18
18
|
return;
|
19
19
|
}
|
20
20
|
|
21
|
+
sub split_like_shell {
|
22
|
+
# As it turns out, Windows command-parsing is very different from
|
23
|
+
# Unix command-parsing. Double-quotes mean different things,
|
24
|
+
# backslashes don't necessarily mean escapes, and so on. So we
|
25
|
+
# can't use Text::ParseWords::shellwords() to break a command string
|
26
|
+
# into words. The algorithm below was bashed out by Randy and Ken
|
27
|
+
# (mostly Randy), and there are a lot of regression tests, so we
|
28
|
+
# should feel free to adjust if desired.
|
29
|
+
|
30
|
+
local ($_) = @_;
|
31
|
+
|
32
|
+
my @argv;
|
33
|
+
return @argv unless defined && length;
|
34
|
+
|
35
|
+
my $arg = '';
|
36
|
+
my ($i, $quote_mode ) = ( 0, 0 );
|
37
|
+
|
38
|
+
while ( $i < length ) {
|
39
|
+
|
40
|
+
my $ch = substr $_, $i, 1;
|
41
|
+
my $next_ch = substr $_, $i+1, 1;
|
42
|
+
|
43
|
+
if ( $ch eq '\\' && $next_ch eq '"' ) {
|
44
|
+
$arg .= '"';
|
45
|
+
$i++;
|
46
|
+
} elsif ( $ch eq '\\' && $next_ch eq '\\' ) {
|
47
|
+
$arg .= '\\';
|
48
|
+
$i++;
|
49
|
+
} elsif ( $ch eq '"' && $next_ch eq '"' && $quote_mode ) {
|
50
|
+
$quote_mode = !$quote_mode;
|
51
|
+
$arg .= '"';
|
52
|
+
$i++;
|
53
|
+
} elsif ( $ch eq '"' && $next_ch eq '"' && !$quote_mode &&
|
54
|
+
( $i + 2 == length() || substr( $_, $i + 2, 1 ) eq ' ' )
|
55
|
+
) { # for cases like: a"" => [ 'a' ]
|
56
|
+
push @argv, $arg;
|
57
|
+
$arg = '';
|
58
|
+
$i += 2;
|
59
|
+
} elsif ( $ch eq '"' ) {
|
60
|
+
$quote_mode = !$quote_mode;
|
61
|
+
} elsif ( $ch =~ /\s/ && !$quote_mode ) {
|
62
|
+
push @argv, $arg if $arg;
|
63
|
+
$arg = '';
|
64
|
+
++$i while substr( $_, $i + 1, 1 ) =~ /\s/;
|
65
|
+
} else {
|
66
|
+
$arg .= $ch;
|
67
|
+
}
|
68
|
+
|
69
|
+
$i++;
|
70
|
+
}
|
71
|
+
|
72
|
+
push @argv, $arg if defined $arg && length $arg;
|
73
|
+
return @argv;
|
74
|
+
}
|
75
|
+
|
21
76
|
sub detildefy {
|
22
77
|
my $value = shift;
|
23
78
|
$value =~ s{ ^ ~ (?= [/\\] | $ ) }[$ENV{USERPROFILE}]x if $ENV{USERPROFILE};
|
@@ -40,7 +95,7 @@ ExtUtils::Helpers::Windows - Windows specific helper bits
|
|
40
95
|
|
41
96
|
=head1 VERSION
|
42
97
|
|
43
|
-
version 0.
|
98
|
+
version 0.027
|
44
99
|
|
45
100
|
=for Pod::Coverage make_executable
|
46
101
|
split_like_shell
|
@@ -1,5 +1,5 @@
|
|
1
1
|
package ExtUtils::Helpers;
|
2
|
-
$ExtUtils::Helpers::VERSION = '0.
|
2
|
+
$ExtUtils::Helpers::VERSION = '0.027';
|
3
3
|
use strict;
|
4
4
|
use warnings FATAL => 'all';
|
5
5
|
use Exporter 5.57 'import';
|
@@ -7,7 +7,6 @@ use Exporter 5.57 'import';
|
|
7
7
|
use Config;
|
8
8
|
use File::Basename qw/basename/;
|
9
9
|
use File::Spec::Functions qw/splitpath canonpath abs2rel splitdir/;
|
10
|
-
use Text::ParseWords 3.24 ();
|
11
10
|
|
12
11
|
our @EXPORT_OK = qw/make_executable split_like_shell man1_pagename man3_pagename detildefy/;
|
13
12
|
|
@@ -19,16 +18,6 @@ BEGIN {
|
|
19
18
|
"ExtUtils::Helpers::$impl"->import();
|
20
19
|
}
|
21
20
|
|
22
|
-
sub split_like_shell {
|
23
|
-
my ($string) = @_;
|
24
|
-
|
25
|
-
return if not defined $string;
|
26
|
-
$string =~ s/^\s+|\s+$//g;
|
27
|
-
return if not length $string;
|
28
|
-
|
29
|
-
return Text::ParseWords::shellwords($string);
|
30
|
-
}
|
31
|
-
|
32
21
|
sub man1_pagename {
|
33
22
|
my $filename = shift;
|
34
23
|
return basename($filename).".$Config{man1ext}";
|
@@ -67,7 +56,7 @@ ExtUtils::Helpers - Various portability utilities for module builders
|
|
67
56
|
|
68
57
|
=head1 VERSION
|
69
58
|
|
70
|
-
version 0.
|
59
|
+
version 0.027
|
71
60
|
|
72
61
|
=head1 SYNOPSIS
|
73
62
|
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|