Sha256: a4a2f29a06d33ed6d27b054c2b14f1c6800e34c76f3afeb0f5df44a4f4bbe854
Contents?: true
Size: 1.05 KB
Versions: 6
Compression:
Stored size: 1.05 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, 'ArraySetSize' => 22, ); sub get_command_type { my $command = shift; return $command_type{$command}; } 1;
Version data entries
6 entries across 6 versions & 1 rubygems