line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
use strict; |
3
|
9
|
|
|
9
|
|
54
|
use warnings; |
|
9
|
|
|
|
|
18
|
|
|
9
|
|
|
|
|
197
|
|
4
|
9
|
|
|
9
|
|
36
|
|
|
9
|
|
|
|
|
17
|
|
|
9
|
|
|
|
|
171
|
|
5
|
|
|
|
|
|
|
use parent 'PLS::Server::Request'; |
6
|
9
|
|
|
9
|
|
35
|
|
|
9
|
|
|
|
|
17
|
|
|
9
|
|
|
|
|
37
|
|
7
|
|
|
|
|
|
|
use PLS::Server::State; |
8
|
9
|
|
|
9
|
|
408
|
|
|
9
|
|
|
|
|
17
|
|
|
9
|
|
|
|
|
758
|
|
9
|
|
|
|
|
|
|
=head1 NAME |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
PLS::Server::Request::Exit |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=head1 DESCRIPTION |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
This is a notification message from the client to the server requesting |
16
|
|
|
|
|
|
|
that the server exits. |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=cut |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
{ |
21
|
|
|
|
|
|
|
my ($self, $server) = @_; |
22
|
|
|
|
|
|
|
|
23
|
2
|
|
|
2
|
0
|
31
|
my $exit_code = $PLS::Server::State::SHUTDOWN ? 0 : 1; |
24
|
|
|
|
|
|
|
$server->stop($exit_code); |
25
|
2
|
100
|
|
|
|
17
|
|
26
|
2
|
|
|
|
|
29
|
return; |
27
|
|
|
|
|
|
|
} ## end sub service |
28
|
2
|
|
|
|
|
8
|
|
29
|
|
|
|
|
|
|
1; |