line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package PLS::Server::Request::Progress; |
2
|
|
|
|
|
|
|
|
3
|
9
|
|
|
9
|
|
53
|
use strict; |
|
9
|
|
|
|
|
11
|
|
|
9
|
|
|
|
|
225
|
|
4
|
9
|
|
|
9
|
|
45
|
use warnings; |
|
9
|
|
|
|
|
10
|
|
|
9
|
|
|
|
|
205
|
|
5
|
|
|
|
|
|
|
|
6
|
9
|
|
|
9
|
|
36
|
use parent 'PLS::Server::Request'; |
|
9
|
|
|
|
|
27
|
|
|
9
|
|
|
|
|
38
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
=head1 NAME |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
PLS::Server::Request::Progress |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 DESCRIPTION |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
This is a generic notification, sent from server to client, |
15
|
|
|
|
|
|
|
used to report any kind of progress. |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=cut |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub new |
20
|
|
|
|
|
|
|
{ |
21
|
13
|
|
|
13
|
0
|
594
|
my ($class, %args) = @_; |
22
|
|
|
|
|
|
|
|
23
|
13
|
|
|
|
|
53
|
my $token = delete $args{token}; |
24
|
|
|
|
|
|
|
|
25
|
13
|
|
|
|
|
199
|
my $self = { |
26
|
|
|
|
|
|
|
method => '$/progress', |
27
|
|
|
|
|
|
|
params => {token => $token, value => \%args}, |
28
|
|
|
|
|
|
|
notification => 1 |
29
|
|
|
|
|
|
|
}; |
30
|
|
|
|
|
|
|
|
31
|
13
|
|
|
|
|
167
|
return bless $self, $class; |
32
|
|
|
|
|
|
|
} ## end sub new |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
1; |