lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Sdk/Internal/InvocationContext.pm in javonet-ruby-sdk-2.1.5 vs lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Sdk/Internal/InvocationContext.pm in javonet-ruby-sdk-2.1.6
- old
+ new
@@ -106,10 +106,27 @@
0
);
}
#@override
+sub set_instance_field {
+ my ($self, @arguments) = @_;
+ my $command = Javonet::Sdk::Core::PerlCommand->new(
+ runtime => $self->{runtime_lib},
+ command_type => Javonet::Sdk::Core::PerlCommandType::get_command_type('SetInstanceField'),
+ payload => \@arguments
+ );
+ return Javonet::Sdk::Internal::InvocationContext->new(
+ $self->{runtime_lib},
+ $self->{connection_type},
+ $self->{tcp_address},
+ $self->build_command($command),
+ 0
+ );
+}
+
+#@override
sub create_instance {
my ($self, @arguments) = @_;
my $command = Javonet::Sdk::Core::PerlCommand->new(
runtime => $self->{runtime_lib},
command_type => Javonet::Sdk::Core::PerlCommandType::get_command_type('CreateClassInstance'),
@@ -229,10 +246,10 @@
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'),
+ command_type => Javonet::Sdk::Core::PerlCommandType::get_command_type('ArraySetItem'),
payload => \@arguments
);
return Javonet::Sdk::Internal::InvocationContext->new(
$self->{runtime_lib},
$self->{connection_type},
\ No newline at end of file