line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Siebel::Srvrmgr::Daemon::Connection; |
2
|
|
|
|
|
|
|
|
3
|
4
|
|
|
4
|
|
2367
|
use Moose::Role; |
|
4
|
|
|
|
|
12
|
|
|
4
|
|
|
|
|
36
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = '0.29'; # VERSION |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=pod |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=head1 NAME |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
Siebel::Srvrmgr::Daemon::Connection - Moose roles for Siebel::Srvrmgr::Daemon subclasses that uses a connection |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=head1 DESCRIPTION |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
This is a L<Moose::Role> to be used by L<Siebel::Srvrmgr::Daemon> subclasses that needs a connection with the Siebel Enterprise. |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 connection |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
A reference to a L<Siebel::Srvrmgr::Connection> instance. |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
This is a read-only, required attribute for classes that applies this L<Moose::Role>. |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=cut |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
has connection => ( |
28
|
|
|
|
|
|
|
is => 'Siebel::Srvrmgr::Connection', |
29
|
|
|
|
|
|
|
is => 'ro', |
30
|
|
|
|
|
|
|
reader => 'get_conn', |
31
|
|
|
|
|
|
|
required => 1 |
32
|
|
|
|
|
|
|
); |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 METHODS |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head2 get_conn |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
Getter for the C<connection> attribute. |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 SEE ALSO |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=over |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=item * |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
L<Siebel::Srvrmgr::Connection> |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=item * |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
L<Siebel::Srvrmgr::Daemon::Heavy> |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=item * |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
L<Siebel::Srvrmgr::Daemon::Light> |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=back |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head1 AUTHOR |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
Alceu Rodrigues de Freitas Junior, E<lt>arfreitas@cpan.orgE<gt> |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
This software is copyright (c) 2012 of Alceu Rodrigues de Freitas Junior, E<lt>arfreitas@cpan.orgE<gt> |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
This file is part of Siebel Monitoring Tools. |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
Siebel Monitoring Tools is free software: you can redistribute it and/or modify |
69
|
|
|
|
|
|
|
it under the terms of the GNU General Public License as published by |
70
|
|
|
|
|
|
|
the Free Software Foundation, either version 3 of the License, or |
71
|
|
|
|
|
|
|
(at your option) any later version. |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
Siebel Monitoring Tools is distributed in the hope that it will be useful, |
74
|
|
|
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of |
75
|
|
|
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
76
|
|
|
|
|
|
|
GNU General Public License for more details. |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License |
79
|
|
|
|
|
|
|
along with Siebel Monitoring Tools. If not, see <http://www.gnu.org/licenses/>. |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=cut |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
1; |