Sha256: 290206c8d594e7e0addb1fe7b50cd2bb44ee3428192aad981fc2b647f9d38e6a
Contents?: true
Size: 865 Bytes
Versions: 4
Compression:
Stored size: 865 Bytes
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 ); sub get_command_type { my $command = shift; return $command_type{$command}; } 1;
Version data entries
4 entries across 2 versions & 1 rubygems