| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Mail::MtPolicyd::SessionCache::Base; |
|
2
|
|
|
|
|
|
|
|
|
3
|
3
|
|
|
3
|
|
1157
|
use Moose; |
|
|
3
|
|
|
|
|
5
|
|
|
|
3
|
|
|
|
|
14
|
|
|
4
|
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = '2.02'; # VERSION |
|
6
|
|
|
|
|
|
|
# ABSTRACT: base class for session cache adapters |
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub retrieve_session { |
|
9
|
1
|
|
|
1
|
0
|
19
|
my ($self, $instance ) = @_; |
|
10
|
1
|
|
|
|
|
5
|
return {}; |
|
11
|
|
|
|
|
|
|
} |
|
12
|
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub store_session { |
|
14
|
1
|
|
|
1
|
0
|
32
|
my ($self, $session ) = @_; |
|
15
|
1
|
|
|
|
|
4
|
return; |
|
16
|
|
|
|
|
|
|
} |
|
17
|
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub init { |
|
19
|
0
|
|
|
0
|
0
|
|
my ( $self ) = @_; |
|
20
|
0
|
|
|
|
|
|
return; |
|
21
|
|
|
|
|
|
|
} |
|
22
|
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
sub shutdown { |
|
24
|
0
|
|
|
0
|
0
|
|
my ( $self ) = @_; |
|
25
|
0
|
|
|
|
|
|
return; |
|
26
|
|
|
|
|
|
|
} |
|
27
|
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
1; |
|
29
|
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
__END__ |
|
31
|
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=pod |
|
33
|
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=encoding UTF-8 |
|
35
|
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 NAME |
|
37
|
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
Mail::MtPolicyd::SessionCache::Base - base class for session cache adapters |
|
39
|
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 VERSION |
|
41
|
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
version 2.02 |
|
43
|
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 AUTHOR |
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
Markus Benning <ich@markusbenning.de> |
|
47
|
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
|
49
|
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
This software is Copyright (c) 2014 by Markus Benning <ich@markusbenning.de>. |
|
51
|
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
This is free software, licensed under: |
|
53
|
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
The GNU General Public License, Version 2, June 1991 |
|
55
|
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=cut |