Sha256: a029c5e24b37e0ad8897c1292cc38cf009f13f5a56e4259de5d914a246ca6cd9
Contents?: true
Size: 1.31 KB
Versions: 2
Compression:
Stored size: 1.31 KB
Contents
package Javonet::Sdk::Core::PerlCommandType; use strict; use warnings; use Exporter; our @ISA = qw(Exporter); our @EXPORT = qw(get_command_type); my %command_type = ( 'Response' => 0, 'LoadLibrary' => 1, 'InvokeStaticMethod' => 2, 'GetStaticField' => 3, 'SetStaticField' => 4, 'CreateClassInstance' => 5, 'GetType' => 6, 'Reference' => 7, 'GetModule' => 8, 'InvokeInstanceMethod' => 9, 'Exception' => 10, 'HeartBeat' => 11, 'Cast' => 12, 'GetInstanceField' => 13, 'Optimize' => 14, 'GenerateLib' => 15, 'InvokeGlobalMethod' => 16, 'DestructReference' => 17, 'Array' => 18, 'ArrayGetItem' => 19, 'ArrayGetSize' => 20, 'ArrayGetRank' => 21, 'ArraySetItem' => 22, 'Array' => 23, 'RetrieveArray' => 24, 'SetInstanceField' => 25, 'InvokeGenericStaticMethod' => 26, 'InvokeGenericMethod' => 27, ); sub get_command_type { my $command = shift; return $command_type{$command}; } 1;
Version data entries
2 entries across 1 versions & 1 rubygems