POEx::IRC::Backend::Connect - A connected IRC socket
Typically created by POEx::IRC::Backend to represent an established connection.
These objects contain details regarding connected socket POE::Wheel::ReadWrite wheels managed by POEx::IRC::Backend.
Consumes POEx::IRC::Backend::Role::HasWheel and adds the following attributes:
Connected socket wheels normally have a POE alarm ID attached for an idle timer. This attribute is writable.
Predicate: has_alarm_id
Arbitrary metadata attached to this connection; by default, any args attached to a POEx::IRC::Backend::Connector that spawns a POEx::IRC::Backend::Connect are passed along.
args
Predicate: has_args
Set to true if the Zlib filter has been added.
Change the boolean value of the "compressed" attrib.
Idle time used for connection check alarms.
Boolean false if the Connect is not in a disconnecting state; if it is true, it is the disconnect message:
$obj->is_disconnecting("Client quit")
Boolean true if the connection wheel has been marked as a client.
Boolean true if the connection wheel has been marked as a peer.
Boolean true if the Wheel needs a Zlib filter.
$obj->is_pending_compress(1)
The remote peer address.
The remote peer port.
The protocol in use (4 or 6).
Timestamp; should be updated when traffic is seen from this Connect:
## In an input handler $obj->seen( time )
Our socket address.
Our socket port.
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.