line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# -*- perl -*- |
2
|
|
|
|
|
|
|
# |
3
|
|
|
|
|
|
|
# Net::Server::Single - Net::Server personality |
4
|
|
|
|
|
|
|
# |
5
|
|
|
|
|
|
|
# Copyright (C) 2001-2017 |
6
|
|
|
|
|
|
|
# |
7
|
|
|
|
|
|
|
# Paul Seamons |
8
|
|
|
|
|
|
|
# |
9
|
|
|
|
|
|
|
# This package may be distributed under the terms of either the |
10
|
|
|
|
|
|
|
# GNU General Public License |
11
|
|
|
|
|
|
|
# or the |
12
|
|
|
|
|
|
|
# Perl Artistic License |
13
|
|
|
|
|
|
|
# |
14
|
|
|
|
|
|
|
# All rights reserved. |
15
|
|
|
|
|
|
|
# |
16
|
|
|
|
|
|
|
################################################################ |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
package Net::Server::Single; |
19
|
|
|
|
|
|
|
|
20
|
4
|
|
|
4
|
|
379
|
use strict; |
|
4
|
|
|
|
|
5
|
|
|
4
|
|
|
|
|
188
|
|
21
|
4
|
|
|
4
|
|
20
|
use base qw(Net::Server); |
|
4
|
|
|
|
|
6
|
|
|
4
|
|
|
|
|
811
|
|
22
|
|
|
|
|
|
|
|
23
|
4
|
|
|
4
|
0
|
13
|
sub net_server_type { __PACKAGE__ } |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
### this module is simple a place holder so that |
26
|
|
|
|
|
|
|
### Net::Server::MultiType can ask for Single as one of |
27
|
|
|
|
|
|
|
### the fall back methods (which it does any way). |
28
|
|
|
|
|
|
|
### Essentially all we are doing here is providing parallelism. |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
1; |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
__END__ |