line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package POEx::IRC::Backend::Connector; |
2
|
|
|
|
|
|
|
$POEx::IRC::Backend::Connector::VERSION = '0.030001'; |
3
|
3
|
|
|
3
|
|
15807
|
use Moo; |
|
3
|
|
|
|
|
10906
|
|
|
3
|
|
|
|
|
17
|
|
4
|
|
|
|
|
|
|
with 'POEx::IRC::Backend::Role::Socket', |
5
|
|
|
|
|
|
|
'POEx::IRC::Backend::Role::HasEndpoint'; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
has bindaddr => ( |
8
|
|
|
|
|
|
|
lazy => 1, |
9
|
|
|
|
|
|
|
is => 'ro', |
10
|
|
|
|
|
|
|
predicate => 1, |
11
|
|
|
|
|
|
|
default => sub { '' }, |
12
|
|
|
|
|
|
|
); |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
1; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=pod |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=for Pod::Coverage has_\w+ |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 NAME |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
POEx::IRC::Backend::Connector - An outgoing IRC socket connector |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 DESCRIPTION |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
These objects contain details regarding |
27
|
|
|
|
|
|
|
L outgoing connector sockets. |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
This class consumes the following roles: |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
L |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
L |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
... and adds the following attributes: |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head2 bindaddr |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
The local address this Connector should bind to. |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
Predicate: B |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head1 AUTHOR |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
Jon Portnoy |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=cut |