Sha256: 3fd9fd68674c1e7d8ef289ca015bd8725ccd08e5c9b90281f36893595c856cca
Contents?: true
Size: 891 Bytes
Versions: 7
Compression:
Stored size: 891 Bytes
Contents
package Javonet::Core::Receiver::Receiver; use strict; use warnings; use Config; use File::Basename; my $perlLibDirJavonet; my $perlLibDirDeps; BEGIN { my $thisFileDir = dirname(__FILE__); $perlLibDirJavonet = "$thisFileDir/../../../"; $perlLibDirDeps = "$thisFileDir/../../../../deps/lib/perl5" } use lib "$perlLibDirJavonet"; use lib "$perlLibDirDeps"; use aliased 'Javonet::Core::Interpreter::Interpreter' => 'Interpreter', qw(process); sub heart_beat { my ($self, $message_byte_array_ref) = @_; my @response_byte_array = (49, 48); return \@response_byte_array; } sub send_command { my ($self, $message_byte_array_ref) = @_; my @message_byte_array = @$message_byte_array_ref; my @response_byte_array = Javonet::Core::Interpreter::Interpreter->process(\@message_byte_array); return \@response_byte_array; } 1;
Version data entries
7 entries across 7 versions & 1 rubygems