Hinrik Örn Sigurðsson > POE-Component-IRC-6.78 > POE::Component::IRC::Plugin::ISupport

Download:
POE-Component-IRC-6.78.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  4
Open  2
View/Report Bugs
Module Version: 6.78   Source   Latest Release: POE-Component-IRC-6.88

NAME ^

POE::Component::IRC::Plugin::ISupport - A PoCo-IRC plugin that handles server capabilities

DESCRIPTION ^

This handles the irc_005 messages that come from the server. They define the capabilities support by the server.

METHODS ^

new

Takes no arguments.

Returns a plugin object suitable for feeding to POE::Component::IRC's plugin_add method.

isupport

Takes one argument. the server capability to query. Returns a false value on failure or a value representing the applicable capability. A full list of capabilities is available at http://www.irc.org/tech_docs/005.html.

isupport_dump_keys

Takes no arguments, returns a list of the available server capabilities, which can be used with isupport.

INPUT ^

This module handles the following PoCo-IRC signals:

irc_005 (RPL_ISUPPORT or RPL_PROTOCTL)

Denotes the capabilities of the server.

all

Once the next signal is received that is greater than irc_005, it emits an irc_isupport signal.

OUTPUT EVENTS ^

irc_isupport

Emitted by: the first signal received after irc_005

ARG0 will be the plugin object itself for ease of use.

This is emitted when the support report has finished.

AUTHOR ^

Jeff japhy Pinyan, japhy@perlmonk.org

SEE ALSO ^

POE::Component::IRC

POE::Component::IRC::Plugin

syntax highlighting: