Jon Portnoy > POEx-IRC-Backend-0.024001 > POEx::IRC::Backend::Role::HasWheel

Download:
POEx-IRC-Backend-0.024001.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.024001   Source   Latest Release: POEx-IRC-Backend-0.024006

NAME ^

POEx::IRC::Backend::Role::HasWheel

SYNOPSIS ^

A Moo::Role for classes that have associated POE::Wheel instances.

DESCRIPTION ^

wheel

A POE::Wheel instance (typically POE::Wheel::SocketFactory for listeners and connectors or POE::Wheel::ReadWrite for live connections).

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)

wheel_id

The POE ID of the last known "wheel".

AUTHOR ^

Jon Portnoy <avenj@cobaltirc.org>

syntax highlighting: