Backend/Connector.pm

filter: Statementstmt 100% 8 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 10 / 10 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
__ANON__
1.0
CRAP 1.0
« Backend/Role/HasWheel.pm ↑ Summary Backend/Listener.pm »
1 package POEx::IRC::Backend::Connector;
2 2 $POEx::IRC::Backend::Connector::VERSION = '0.030002';
3 2 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 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 1 ▶ default => sub { '' },
Subroutine __ANON__: called CC=1 SCAR=0.0
12 2 );
13  
14 2 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<POEx::IRC::Backend> outgoing connector sockets.
28  
29 This class consumes the following roles:
30  
31 L<POEx::IRC::Backend::Role::Socket>
32  
33 L<POEx::IRC::Backend::Role::HasEndpoint>
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<has_bindaddr>
42  
43 =head1 AUTHOR
44  
45 Jon Portnoy <avenj@cobaltirc.org>
46  
47 =cut
« Backend/Role/HasWheel.pm ↑ Summary Backend/Listener.pm »