| 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 | ||