Why not adopt me?
NAME
POEx::IRC::Backend::Connect - Connected socket wheel details
SYNOPSIS
Typically created by POEx::IRC::Backend to represent an established connection.
DESCRIPTION
These objects contain details regarding connected socket POE::Wheel::ReadWrite wheels managed by POEx::IRC::Backend.
alarm_id
Connected socket wheels normally have a POE alarm ID attached for an idle timer. Writable attribute.
compressed
Set to true if the Zlib filter has been added.
Use set_compressed to change.
idle
Idle time used for connection check alarms.
is_disconnecting
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")
is_client
Boolean true if the connection wheel has been marked as a client.
is_peer
Boolean true if the connection wheel has been marked as a peer.
is_pending_compress
Boolean true if the Wheel needs a Zlib filter.
$obj->is_pending_compress(1)
peeraddr
The remote peer address.
peerport
The remote peer port.
protocol
The protocol in use (4 or 6).
seen
Timestamp; should be updated when traffic is seen from this Connect:
## In an input handler
$obj->seen( time )
sockaddr
Our socket address.
sockport
Our socket port.
wheel
The POE::Wheel::ReadWrite wheel instance.
wheel_id
The (last known) wheel ID.
AUTHOR
Jon Portnoy <avenj@cobaltirc.org>