lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Sdk/Internal/InvocationContext.pm in javonet-ruby-sdk-2.0.4 vs lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Sdk/Internal/InvocationContext.pm in javonet-ruby-sdk-2.1.0
- old
+ new
@@ -159,10 +159,11 @@
$self->build_command($command),
0
);
}
+#@override
sub set_static_field {
my ($self, @arguments) = @_;
my $command = Javonet::Sdk::Core::PerlCommand->new(
runtime => $self->{runtime_lib},
command_type => Javonet::Sdk::Core::PerlCommandType::get_command_type('SetStaticField'),
@@ -175,9 +176,72 @@
$self->build_command($command),
0
);
}
+sub get_index {
+ my ($self, @arguments) = @_;
+ my $command = Javonet::Sdk::Core::PerlCommand->new(
+ runtime => $self->{runtime_lib},
+ command_type => Javonet::Sdk::Core::PerlCommandType::get_command_type('ArrayGetItem'),
+ payload => \@arguments
+ );
+ return Javonet::Sdk::Internal::InvocationContext->new(
+ $self->{runtime_lib},
+ $self->{connection_type},
+ $self->{tcp_address},
+ $self->build_command($command),
+ 0
+ );
+}
+
+sub get_size {
+ my ($self, @arguments) = @_;
+ my $command = Javonet::Sdk::Core::PerlCommand->new(
+ runtime => $self->{runtime_lib},
+ command_type => Javonet::Sdk::Core::PerlCommandType::get_command_type('ArrayGetSize'),
+ payload => \@arguments
+ );
+ return Javonet::Sdk::Internal::InvocationContext->new(
+ $self->{runtime_lib},
+ $self->{connection_type},
+ $self->{tcp_address},
+ $self->build_command($command),
+ 0
+ );
+}
+
+sub get_rank {
+ my ($self, @arguments) = @_;
+ my $command = Javonet::Sdk::Core::PerlCommand->new(
+ runtime => $self->{runtime_lib},
+ command_type => Javonet::Sdk::Core::PerlCommandType::get_command_type('ArrayGetRank'),
+ payload => \@arguments
+ );
+ return Javonet::Sdk::Internal::InvocationContext->new(
+ $self->{runtime_lib},
+ $self->{connection_type},
+ $self->{tcp_address},
+ $self->build_command($command),
+ 0
+ );
+}
+
+sub set_index {
+ my ($self, @arguments) = @_;
+ my $command = Javonet::Sdk::Core::PerlCommand->new(
+ runtime => $self->{runtime_lib},
+ command_type => Javonet::Sdk::Core::PerlCommandType::get_command_type('ArraySetSize'),
+ payload => \@arguments
+ );
+ return Javonet::Sdk::Internal::InvocationContext->new(
+ $self->{runtime_lib},
+ $self->{connection_type},
+ $self->{tcp_address},
+ $self->build_command($command),
+ 0
+ );
+}
#@override
sub get_value {
my $self = shift;
return $self->{current_command}->{payload}[0]
\ No newline at end of file