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
|
|
740
|
use strict; |
|
4
|
|
|
|
|
9
|
|
|
4
|
|
|
|
|
243
|
|
21
|
4
|
|
|
4
|
|
36
|
use base qw(Net::Server); |
|
4
|
|
|
|
|
10
|
|
|
4
|
|
|
|
|
2854
|
|
22
|
|
|
|
|
|
|
|
23
|
4
|
|
|
4
|
0
|
16
|
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__ |