POEx::IRC::Backend::Role::Connector
A Moo::Role defining some basic common attributes for listening/connecting sockets.
This role is consumed by POEx::IRC::Backend::Connector and POEx::IRC::Backend::Listener objects; it defines some basic attributes shared by listening/connecting sockets.
The local address we are bound to.
The local port we are listening on.
set_port can be used to alter the current port attribute. This won't trigger any automatic "wheel" changes (at this time), but it is useful when creating a listener on port 0.
The Internet protocol version for this listener (4 or 6).
Boolean value indicating whether connections should be SSLified.
The POE::Wheel::SocketFactory instance for this listener.
Can be cleared via clear_wheel; use has_wheel to determine if this listener's wheel has been cleared.
Can be replaced via set_wheel (although whether this is a good idea or not is debatable; better to spawn a new instance of your class)
The POE ID of the last known "wheel".
Jon Portnoy <avenj@cobaltirc.org>
To install POEx::IRC::Backend, copy and paste the appropriate command in to your terminal.
cpanm
cpanm POEx::IRC::Backend
CPAN shell
perl -MCPAN -e shell install POEx::IRC::Backend
For more information on module installation, please visit the detailed CPAN module installation guide.