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
@@ -0,0 +1,172 @@
|
|
1
|
+
# frozen_string_literal: false
|
2
|
+
|
3
|
+
# The Singleton module implements the Singleton pattern.
|
4
|
+
#
|
5
|
+
# == Usage
|
6
|
+
#
|
7
|
+
# To use Singleton, include the module in your class.
|
8
|
+
#
|
9
|
+
# class Klass
|
10
|
+
# include Singleton
|
11
|
+
# # ...
|
12
|
+
# end
|
13
|
+
#
|
14
|
+
# This ensures that only one instance of Klass can be created.
|
15
|
+
#
|
16
|
+
# a,b = Klass.instance, Klass.instance
|
17
|
+
#
|
18
|
+
# a == b
|
19
|
+
# # => true
|
20
|
+
#
|
21
|
+
# Klass.new
|
22
|
+
# # => NoMethodError - new is private ...
|
23
|
+
#
|
24
|
+
# The instance is created at upon the first call of Klass.instance().
|
25
|
+
#
|
26
|
+
# class OtherKlass
|
27
|
+
# include Singleton
|
28
|
+
# # ...
|
29
|
+
# end
|
30
|
+
#
|
31
|
+
# ObjectSpace.each_object(OtherKlass){}
|
32
|
+
# # => 0
|
33
|
+
#
|
34
|
+
# OtherKlass.instance
|
35
|
+
# ObjectSpace.each_object(OtherKlass){}
|
36
|
+
# # => 1
|
37
|
+
#
|
38
|
+
#
|
39
|
+
# This behavior is preserved under inheritance and cloning.
|
40
|
+
#
|
41
|
+
# == Implementation
|
42
|
+
#
|
43
|
+
# This above is achieved by:
|
44
|
+
#
|
45
|
+
# * Making Klass.new and Klass.allocate private.
|
46
|
+
#
|
47
|
+
# * Overriding Klass.inherited(sub_klass) and Klass.clone() to ensure that the
|
48
|
+
# Singleton properties are kept when inherited and cloned.
|
49
|
+
#
|
50
|
+
# * Providing the Klass.instance() method that returns the same object each
|
51
|
+
# time it is called.
|
52
|
+
#
|
53
|
+
# * Overriding Klass._load(str) to call Klass.instance().
|
54
|
+
#
|
55
|
+
# * Overriding Klass#clone and Klass#dup to raise TypeErrors to prevent
|
56
|
+
# cloning or duping.
|
57
|
+
#
|
58
|
+
# == Singleton and Marshal
|
59
|
+
#
|
60
|
+
# By default Singleton's #_dump(depth) returns the empty string. Marshalling by
|
61
|
+
# default will strip state information, e.g. instance variables from the instance.
|
62
|
+
# Classes using Singleton can provide custom _load(str) and _dump(depth) methods
|
63
|
+
# to retain some of the previous state of the instance.
|
64
|
+
#
|
65
|
+
# require 'singleton'
|
66
|
+
#
|
67
|
+
# class Example
|
68
|
+
# include Singleton
|
69
|
+
# attr_accessor :keep, :strip
|
70
|
+
# def _dump(depth)
|
71
|
+
# # this strips the @strip information from the instance
|
72
|
+
# Marshal.dump(@keep, depth)
|
73
|
+
# end
|
74
|
+
#
|
75
|
+
# def self._load(str)
|
76
|
+
# instance.keep = Marshal.load(str)
|
77
|
+
# instance
|
78
|
+
# end
|
79
|
+
# end
|
80
|
+
#
|
81
|
+
# a = Example.instance
|
82
|
+
# a.keep = "keep this"
|
83
|
+
# a.strip = "get rid of this"
|
84
|
+
#
|
85
|
+
# stored_state = Marshal.dump(a)
|
86
|
+
#
|
87
|
+
# a.keep = nil
|
88
|
+
# a.strip = nil
|
89
|
+
# b = Marshal.load(stored_state)
|
90
|
+
# p a == b # => true
|
91
|
+
# p a.keep # => "keep this"
|
92
|
+
# p a.strip # => nil
|
93
|
+
#
|
94
|
+
module Singleton
|
95
|
+
VERSION = "0.2.0"
|
96
|
+
|
97
|
+
# Raises a TypeError to prevent cloning.
|
98
|
+
def clone
|
99
|
+
raise TypeError, "can't clone instance of singleton #{self.class}"
|
100
|
+
end
|
101
|
+
|
102
|
+
# Raises a TypeError to prevent duping.
|
103
|
+
def dup
|
104
|
+
raise TypeError, "can't dup instance of singleton #{self.class}"
|
105
|
+
end
|
106
|
+
|
107
|
+
# By default, do not retain any state when marshalling.
|
108
|
+
def _dump(depth = -1)
|
109
|
+
''
|
110
|
+
end
|
111
|
+
|
112
|
+
module SingletonClassMethods # :nodoc:
|
113
|
+
|
114
|
+
def clone # :nodoc:
|
115
|
+
Singleton.__init__(super)
|
116
|
+
end
|
117
|
+
|
118
|
+
# By default calls instance(). Override to retain singleton state.
|
119
|
+
def _load(str)
|
120
|
+
instance
|
121
|
+
end
|
122
|
+
|
123
|
+
def instance # :nodoc:
|
124
|
+
@singleton__instance__ || @singleton__mutex__.synchronize { @singleton__instance__ ||= new }
|
125
|
+
end
|
126
|
+
|
127
|
+
private
|
128
|
+
|
129
|
+
def inherited(sub_klass)
|
130
|
+
super
|
131
|
+
Singleton.__init__(sub_klass)
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
135
|
+
class << Singleton # :nodoc:
|
136
|
+
def __init__(klass) # :nodoc:
|
137
|
+
klass.instance_eval {
|
138
|
+
@singleton__instance__ = nil
|
139
|
+
@singleton__mutex__ = Thread::Mutex.new
|
140
|
+
}
|
141
|
+
klass
|
142
|
+
end
|
143
|
+
|
144
|
+
private
|
145
|
+
|
146
|
+
# extending an object with Singleton is a bad idea
|
147
|
+
undef_method :extend_object
|
148
|
+
|
149
|
+
def append_features(mod)
|
150
|
+
# help out people counting on transitive mixins
|
151
|
+
unless mod.instance_of?(Class)
|
152
|
+
raise TypeError, "Inclusion of the OO-Singleton module in module #{mod}"
|
153
|
+
end
|
154
|
+
super
|
155
|
+
end
|
156
|
+
|
157
|
+
def included(klass)
|
158
|
+
super
|
159
|
+
klass.private_class_method :new, :allocate
|
160
|
+
klass.extend SingletonClassMethods
|
161
|
+
Singleton.__init__(klass)
|
162
|
+
end
|
163
|
+
end
|
164
|
+
|
165
|
+
##
|
166
|
+
# :singleton-method: _load
|
167
|
+
# By default calls instance(). Override to retain singleton state.
|
168
|
+
|
169
|
+
##
|
170
|
+
# :singleton-method: instance
|
171
|
+
# Returns the singleton instance.
|
172
|
+
end
|
@@ -33,6 +33,8 @@ class CommandType
|
|
33
33
|
AS_REF = 31
|
34
34
|
AS_OUT = 32
|
35
35
|
GET_REF_VALUE = 33
|
36
|
+
ENABLE_NAMESPACE = 34
|
37
|
+
ENABLE_TYPE = 35
|
36
38
|
|
37
39
|
def self.get_name(command_number)
|
38
40
|
case command_number
|
@@ -99,11 +101,17 @@ class CommandType
|
|
99
101
|
when 30
|
100
102
|
return 'GET_ENUM_VALUE'
|
101
103
|
when 31
|
102
|
-
|
104
|
+
return 'AS_REF'
|
103
105
|
when 32
|
104
|
-
|
106
|
+
return 'AS_OUT'
|
105
107
|
when 33
|
106
|
-
|
108
|
+
return 'GET_REF_VALUE'
|
109
|
+
when 34
|
110
|
+
return 'ENABLE_NAMESPACE'
|
111
|
+
when 35
|
112
|
+
return 'ENABLE_TYPE'
|
113
|
+
else
|
114
|
+
raise 'Unknown command type'
|
107
115
|
end
|
108
116
|
end
|
109
117
|
end
|
@@ -1 +1 @@
|
|
1
|
-
2.4.
|
1
|
+
2.4.6
|
@@ -0,0 +1,31 @@
|
|
1
|
+
require_relative 'abstract_command_handler'
|
2
|
+
require_relative '../namespace_cache/namespace_cache'
|
3
|
+
|
4
|
+
class EnableNamespaceHandler < AbstractCommandHandler
|
5
|
+
def initialize
|
6
|
+
@required_parameters_count = 1
|
7
|
+
end
|
8
|
+
|
9
|
+
def process(command)
|
10
|
+
begin
|
11
|
+
if command.payload.length < @required_parameters_count
|
12
|
+
raise ArgumentError.new "#{self.class.name} parameters mismatch"
|
13
|
+
end
|
14
|
+
namespace_cache = NamespaceCache.instance
|
15
|
+
|
16
|
+
command.payload.each do |payload|
|
17
|
+
if payload.is_a? String
|
18
|
+
namespace_cache.cache_namespace(payload)
|
19
|
+
elsif payload.is_a? Array
|
20
|
+
payload.each do |type_to_enable|
|
21
|
+
namespace_cache.cache_namespace(type_to_enable)
|
22
|
+
cache_namespace
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
0
|
27
|
+
rescue Exception => e
|
28
|
+
return e
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
require_relative 'abstract_command_handler'
|
2
|
+
require_relative '../type_cache/type_cache'
|
3
|
+
|
4
|
+
class EnableTypeHandler < AbstractCommandHandler
|
5
|
+
def initialize
|
6
|
+
@required_parameters_count = 1
|
7
|
+
end
|
8
|
+
|
9
|
+
def process(command)
|
10
|
+
begin
|
11
|
+
if command.payload.length < @required_parameters_count
|
12
|
+
raise "#{self.class.name} parameters mismatch!"
|
13
|
+
end
|
14
|
+
|
15
|
+
type_cache = TypeCache.instance
|
16
|
+
|
17
|
+
command.payload.each do |payload|
|
18
|
+
if payload.is_a? String
|
19
|
+
type_cache.cache_type(payload)
|
20
|
+
elsif payload.is_a? Array
|
21
|
+
payload.each do |type_to_enable|
|
22
|
+
type_cache.cache_type(type_to_enable)
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
end
|
27
|
+
0
|
28
|
+
end
|
29
|
+
rescue Exception => e
|
30
|
+
return e
|
31
|
+
end
|
32
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
require_relative 'abstract_command_handler'
|
2
|
+
require_relative '../namespace_cache/namespace_cache'
|
3
|
+
require_relative '../type_cache/type_cache'
|
4
|
+
|
5
|
+
class GetTypeHandler < AbstractCommandHandler
|
6
|
+
def initialize
|
7
|
+
@required_parameters_count = 1
|
8
|
+
@namespace_cache = NamespaceCache.instance
|
9
|
+
@type_cache = TypeCache.instance
|
10
|
+
end
|
11
|
+
|
12
|
+
def process(command)
|
13
|
+
begin
|
14
|
+
if command.payload.length < @required_parameters_count
|
15
|
+
raise "#{self.class.name} parameters mismatch!"
|
16
|
+
end
|
17
|
+
|
18
|
+
type_to_return = _get_type_from_payload(command)
|
19
|
+
|
20
|
+
if type_to_return.nil?
|
21
|
+
raise "Type #{command.payload[0]} not found"
|
22
|
+
end
|
23
|
+
|
24
|
+
if (@namespace_cache.is_namespace_cache_empty? && @type_cache.is_type_cache_empty?) || # both caches are empty
|
25
|
+
@namespace_cache.is_type_allowed(type_to_return) || # namespace is allowed
|
26
|
+
@type_cache.is_type_allowed(type_to_return)
|
27
|
+
# continue - type is allowed
|
28
|
+
else
|
29
|
+
allowed_namespaces = @namespace_cache.get_cached_namespaces.join(", ")
|
30
|
+
allowed_types = @type_cache.get_cached_types.join(", ")
|
31
|
+
raise "Type #{type_to_return.name} not allowed. \nAllowed namespaces: #{allowed_namespaces}\nAllowed types: #{allowed_types}"
|
32
|
+
end
|
33
|
+
|
34
|
+
type_to_return
|
35
|
+
rescue Exception => e
|
36
|
+
return e
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
private
|
41
|
+
|
42
|
+
def _get_type_from_payload(command)
|
43
|
+
if command.payload.length == 1
|
44
|
+
type_name = command.payload[0].split("::")
|
45
|
+
if type_name.length == 1
|
46
|
+
return Object::const_get(type_name[0])
|
47
|
+
else
|
48
|
+
return _get_type_from_nested_payload(type_name)
|
49
|
+
end
|
50
|
+
else
|
51
|
+
return _get_type_from_nested_payload(command.payload)
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
def _get_type_from_nested_payload(payload)
|
56
|
+
loaded_module = Object::const_get(payload[0..-2].join("::"))
|
57
|
+
loaded_module.const_get(payload[-1])
|
58
|
+
end
|
59
|
+
end
|
@@ -1,26 +1,28 @@
|
|
1
1
|
require_relative '../../utils/runtime_name'
|
2
2
|
require_relative '../../utils/command_type'
|
3
|
-
require_relative '../../core/handler/abstract_handler'
|
4
|
-
require_relative '../../core/handler/command_handler/value_handler'
|
5
|
-
require_relative '../../core/handler/command_handler/load_library_handler'
|
6
|
-
require_relative '../../core/handler/command_handler/invoke_static_method_handler'
|
7
|
-
require_relative '../../core/handler/command_handler/get_static_field_handler'
|
8
|
-
require_relative '../../core/handler/command_handler/get_instance_field_handler'
|
9
|
-
require_relative '../../core/handler/command_handler/set_instance_field_handler'
|
10
|
-
require_relative '../../core/handler/command_handler/create_class_instance_handler'
|
11
|
-
require_relative '../../core/handler/command_handler/set_static_field_handler'
|
12
|
-
require_relative '../../core/handler/command_handler/get_type_handler'
|
13
|
-
require_relative '../../core/handler/command_handler/invoke_instance_method_handler'
|
14
|
-
require_relative '../../core/handler/command_handler/resolve_instance_handler'
|
15
|
-
require_relative '../../core/handler/command_handler/casting_handler'
|
16
|
-
require_relative '../../core/handler/command_handler/destruct_reference_handler'
|
17
|
-
require_relative '../../core/handler/command_handler/array_get_item_handler'
|
18
|
-
require_relative '../../core/handler/command_handler/array_get_size_handler'
|
19
|
-
require_relative '../../core/handler/command_handler/array_get_rank_handler'
|
20
|
-
require_relative '../../core/handler/command_handler/array_set_item_handler'
|
21
|
-
require_relative '../../core/handler/command_handler/array_handler'
|
22
|
-
require_relative '../../core/handler/references_cache'
|
23
3
|
require_relative '../../core/handler/handler_dictionary'
|
4
|
+
require_relative '../../core/handler/abstract_handler'
|
5
|
+
require_relative '../../core/handler/value_handler'
|
6
|
+
require_relative '../../core/handler/load_library_handler'
|
7
|
+
require_relative '../../core/handler/invoke_static_method_handler'
|
8
|
+
require_relative '../../core/handler/get_static_field_handler'
|
9
|
+
require_relative '../../core/handler/get_instance_field_handler'
|
10
|
+
require_relative '../../core/handler/set_instance_field_handler'
|
11
|
+
require_relative '../../core/handler/create_class_instance_handler'
|
12
|
+
require_relative '../../core/handler/set_static_field_handler'
|
13
|
+
require_relative '../../core/handler/get_type_handler'
|
14
|
+
require_relative '../../core/handler/invoke_instance_method_handler'
|
15
|
+
require_relative '../../core/handler/resolve_instance_handler'
|
16
|
+
require_relative '../../core/handler/casting_handler'
|
17
|
+
require_relative '../../core/handler/destruct_reference_handler'
|
18
|
+
require_relative '../../core/handler/array_get_item_handler'
|
19
|
+
require_relative '../../core/handler/array_get_size_handler'
|
20
|
+
require_relative '../../core/handler/array_get_rank_handler'
|
21
|
+
require_relative '../../core/handler/array_set_item_handler'
|
22
|
+
require_relative '../../core/handler/array_handler'
|
23
|
+
require_relative '../../core/handler/enable_namespace_handler'
|
24
|
+
require_relative '../../core/handler/enable_type_handler'
|
25
|
+
require_relative '../../core/reference_cache/references_cache'
|
24
26
|
require_relative '../../core/exceptions/exception_serializer'
|
25
27
|
|
26
28
|
|
@@ -46,6 +48,8 @@ class Handler < AbstractHandler
|
|
46
48
|
array_get_rank_handler = ArrayGetRankHandler.new
|
47
49
|
array_set_item_handler = ArraySetItemHandler.new
|
48
50
|
array_handler = ArrayHandler.new
|
51
|
+
enable_namespace_handler = EnableNamespaceHandler.new
|
52
|
+
enable_type_handler = EnableTypeHandler.new
|
49
53
|
|
50
54
|
|
51
55
|
$handler_dict[CommandType::VALUE] = value_handler
|
@@ -66,6 +70,8 @@ class Handler < AbstractHandler
|
|
66
70
|
$handler_dict[CommandType::ARRAY_GET_RANK] = array_get_rank_handler
|
67
71
|
$handler_dict[CommandType::ARRAY_SET_ITEM] = array_set_item_handler
|
68
72
|
$handler_dict[CommandType::ARRAY] = array_handler
|
73
|
+
$handler_dict[CommandType::ENABLE_NAMESPACE] = enable_namespace_handler
|
74
|
+
$handler_dict[CommandType::ENABLE_TYPE] = enable_type_handler
|
69
75
|
end
|
70
76
|
|
71
77
|
|
@@ -76,22 +82,22 @@ class Handler < AbstractHandler
|
|
76
82
|
end
|
77
83
|
response = $handler_dict[command.command_type].handle_command(command)
|
78
84
|
if is_response_simple_type(response)
|
79
|
-
|
85
|
+
Command.create_response(response, command.runtime_name)
|
80
86
|
elsif response.is_a? Exception
|
81
87
|
return ExceptionSerializer.serialize_exception(response, command)
|
82
88
|
else
|
83
89
|
reference_cache = ReferencesCache.instance
|
84
90
|
guid = reference_cache.cache_reference(response)
|
85
|
-
|
91
|
+
Command.create_reference(guid, command.runtime_name)
|
86
92
|
end
|
87
93
|
end
|
88
94
|
|
89
95
|
def is_response_simple_type(response)
|
90
|
-
|
96
|
+
(response.is_a? String or response.is_a? Float or response.is_a? Integer or response.is_a? TrueClass or response.is_a? FalseClass)
|
91
97
|
end
|
92
98
|
|
93
99
|
def is_response_array(response)
|
94
|
-
|
100
|
+
response.is_a? Array
|
95
101
|
end
|
96
102
|
|
97
103
|
|
@@ -0,0 +1,40 @@
|
|
1
|
+
require_relative './../../external_lib/singleton'
|
2
|
+
|
3
|
+
class NamespaceCache
|
4
|
+
include Singleton
|
5
|
+
|
6
|
+
attr_accessor :namespace_cache
|
7
|
+
|
8
|
+
def initialize
|
9
|
+
@namespace_cache = []
|
10
|
+
end
|
11
|
+
|
12
|
+
def cache_namespace(namespace_regex)
|
13
|
+
@namespace_cache << namespace_regex
|
14
|
+
end
|
15
|
+
|
16
|
+
def is_namespace_cache_empty?
|
17
|
+
@namespace_cache.empty?
|
18
|
+
end
|
19
|
+
|
20
|
+
def is_type_allowed(type_to_check)
|
21
|
+
if type_to_check.is_a?(Module)
|
22
|
+
name_to_check = type_to_check.name
|
23
|
+
else
|
24
|
+
name_to_check = "#{type_to_check.class.name}"
|
25
|
+
end
|
26
|
+
|
27
|
+
@namespace_cache.any? do |pattern|
|
28
|
+
/#{pattern}/.match?(name_to_check)
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
def get_cached_namespaces
|
33
|
+
@namespace_cache
|
34
|
+
end
|
35
|
+
|
36
|
+
def clear_cache
|
37
|
+
@namespace_cache.clear
|
38
|
+
0
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
require_relative './../../external_lib/singleton'
|
2
|
+
require_relative './../../external_lib/securerandom'
|
3
|
+
|
4
|
+
class ReferencesCache
|
5
|
+
include Singleton
|
6
|
+
|
7
|
+
def initialize
|
8
|
+
@references_cache = Hash.new
|
9
|
+
end
|
10
|
+
|
11
|
+
def cache_reference(object_reference)
|
12
|
+
uuid_ = SecureRandom.uuid
|
13
|
+
@references_cache[uuid_] = object_reference
|
14
|
+
uuid_
|
15
|
+
end
|
16
|
+
|
17
|
+
def resolve_reference(guid)
|
18
|
+
if @references_cache[guid].nil?
|
19
|
+
raise 'Unable to resolve reference with id: ' + guid.to_s
|
20
|
+
else
|
21
|
+
@references_cache[guid]
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
def delete_reference(guid)
|
26
|
+
if @references_cache[guid].nil?
|
27
|
+
raise 'Object not found in reference cache'
|
28
|
+
else
|
29
|
+
@references_cache.delete(guid)
|
30
|
+
0
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
require_relative './../../external_lib/singleton'
|
2
|
+
|
3
|
+
class TypeCache
|
4
|
+
include Singleton
|
5
|
+
|
6
|
+
attr_accessor :type_cache
|
7
|
+
|
8
|
+
def initialize
|
9
|
+
@type_cache = []
|
10
|
+
end
|
11
|
+
|
12
|
+
def cache_type(type_regex)
|
13
|
+
@type_cache << type_regex
|
14
|
+
end
|
15
|
+
|
16
|
+
def is_type_cache_empty?
|
17
|
+
@type_cache.empty?
|
18
|
+
end
|
19
|
+
|
20
|
+
def is_type_allowed(type_to_check)
|
21
|
+
if type_to_check.is_a?(Module)
|
22
|
+
name_to_check = type_to_check.name
|
23
|
+
else
|
24
|
+
name_to_check = "#{type_to_check.class.name}::#{type_to_check.name}"
|
25
|
+
end
|
26
|
+
|
27
|
+
@type_cache.any? do
|
28
|
+
|pattern| /#{pattern}/.match?(name_to_check)
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
def get_cached_types
|
33
|
+
@type_cache
|
34
|
+
end
|
35
|
+
|
36
|
+
def clear_cache
|
37
|
+
@type_cache.clear
|
38
|
+
0
|
39
|
+
end
|
40
|
+
end
|