line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package PLS::Server::Response::Cancelled; |
2
|
|
|
|
|
|
|
|
3
|
9
|
|
|
9
|
|
45
|
use strict; |
|
9
|
|
|
|
|
19
|
|
|
9
|
|
|
|
|
255
|
|
4
|
9
|
|
|
9
|
|
46
|
use warnings; |
|
9
|
|
|
|
|
19
|
|
|
9
|
|
|
|
|
193
|
|
5
|
|
|
|
|
|
|
|
6
|
9
|
|
|
9
|
|
44
|
use parent q(PLS::Server::Response); |
|
9
|
|
|
|
|
18
|
|
|
9
|
|
|
|
|
36
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
=head1 NAME |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
PLS::Server::Response::Cancelled |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 DESCRIPTION |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
This is a message from the server to the client indicating that |
15
|
|
|
|
|
|
|
a request has been cancelled. |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=cut |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub new |
20
|
|
|
|
|
|
|
{ |
21
|
1
|
|
|
1
|
0
|
6
|
my ($class, %args) = @_; |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
return |
24
|
|
|
|
|
|
|
bless { |
25
|
|
|
|
|
|
|
id => $args{id}, |
26
|
1
|
|
|
|
|
31
|
error => {code => -32800, message => 'Request cancelled.'} |
27
|
|
|
|
|
|
|
}, $class; |
28
|
|
|
|
|
|
|
} ## end sub new |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
1; |