line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package HH::Unispool::Config::Entry::Device::6; |
2
|
|
|
|
|
|
|
|
3
|
6
|
|
|
6
|
|
858
|
use 5.006; |
|
6
|
|
|
|
|
22
|
|
|
6
|
|
|
|
|
260
|
|
4
|
6
|
|
|
6
|
|
35
|
use base qw( HH::Unispool::Config::Entry::Device ); |
|
6
|
|
|
|
|
14
|
|
|
6
|
|
|
|
|
755
|
|
5
|
6
|
|
|
6
|
|
35
|
use strict; |
|
6
|
|
|
|
|
12
|
|
|
6
|
|
|
|
|
202
|
|
6
|
6
|
|
|
6
|
|
30
|
use warnings; |
|
6
|
|
|
|
|
10
|
|
|
6
|
|
|
|
|
193
|
|
7
|
6
|
|
|
6
|
|
32
|
use AutoLoader qw(AUTOLOAD); |
|
6
|
|
|
|
|
11
|
|
|
6
|
|
|
|
|
43
|
|
8
|
6
|
|
|
6
|
|
215
|
use Error qw(:try); |
|
6
|
|
|
|
|
13
|
|
|
6
|
|
|
|
|
44
|
|
9
|
6
|
|
|
6
|
|
1591
|
use HH::Unispool::Config::ExecPri; |
|
6
|
|
|
|
|
10
|
|
|
6
|
|
|
|
|
1551
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
# Used by _value_is_allowed |
12
|
|
|
|
|
|
|
our %ALLOW_ISA = ( |
13
|
|
|
|
|
|
|
'execution_priority' => [ 'HH::Unispool::Config::ExecPri' ], |
14
|
|
|
|
|
|
|
); |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
# Used by _value_is_allowed |
17
|
|
|
|
|
|
|
our %ALLOW_REF = ( |
18
|
|
|
|
|
|
|
); |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
# Used by _value_is_allowed |
21
|
|
|
|
|
|
|
our %ALLOW_RX = ( |
22
|
|
|
|
|
|
|
'block_delay' => [ '^\d*$' ], |
23
|
|
|
|
|
|
|
'connect_retry' => [ '^\d+$' ], |
24
|
|
|
|
|
|
|
'device_password' => [ '^.*$' ], |
25
|
|
|
|
|
|
|
'header_name' => [ '^.*$' ], |
26
|
|
|
|
|
|
|
'profile_name' => [ '^.*$' ], |
27
|
|
|
|
|
|
|
'remote_node_name' => [ '^.+$' ], |
28
|
|
|
|
|
|
|
'server_tcp_port' => [ '^.*$' ], |
29
|
|
|
|
|
|
|
'trailer_name' => [ '^.*$' ], |
30
|
|
|
|
|
|
|
); |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
# Used by _value_is_allowed |
33
|
|
|
|
|
|
|
our %ALLOW_VALUE = ( |
34
|
|
|
|
|
|
|
'protocol' => { |
35
|
|
|
|
|
|
|
'LPD' => 1, |
36
|
|
|
|
|
|
|
'PJL' => 1, |
37
|
|
|
|
|
|
|
'TCP' => 1, |
38
|
|
|
|
|
|
|
'XPP' => 1, |
39
|
|
|
|
|
|
|
}, |
40
|
|
|
|
|
|
|
); |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
# Used by _initialize |
43
|
|
|
|
|
|
|
our %DEFAULT_VALUE = ( |
44
|
|
|
|
|
|
|
'block_delay' => 0, |
45
|
|
|
|
|
|
|
'connect_retry' => 0, |
46
|
|
|
|
|
|
|
'execution_priority' => HH::Unispool::Config::ExecPri->new( { execution_priority => '' } ), |
47
|
|
|
|
|
|
|
'initially_spooled' => 1, |
48
|
|
|
|
|
|
|
'networkwide' => 1, |
49
|
|
|
|
|
|
|
'protocol' => 'TCP', |
50
|
|
|
|
|
|
|
'save_printfile' => 0, |
51
|
|
|
|
|
|
|
'server_tcp_port' => 9100, |
52
|
|
|
|
|
|
|
); |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
# Package version |
55
|
|
|
|
|
|
|
our ($VERSION) = '$Revision: 0.3 $' =~ /\$Revision:\s+([^\s]+)/; |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
1; |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
__END__ |