Hinrik Örn Sigurðsson > App-Bondage-0.4.11 > App::Bondage::Client

Download:
App-Bondage-0.4.11.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 1.3   Source  

NAME ^

App::Bondage::Client - A PoCo-IRC plugin which handles a proxy client.

SYNOPSIS ^

 use App::Bondage::Client;

 $irc->plugin_add('Client_1', App::Bondage::Client->new(Socket => $socket));

DESCRIPTION ^

App::Bondage::Client is a POE::Component::IRC plugin. It handles a input/output and disconnects from a proxy client.

This plugin requires the IRC component to be POE::Component::IRC::State or a subclass thereof.

METHODS ^

new

One argument:

'Socket', the socket of the proxy client.

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

put

One argument:

An IRC protocol line

Sends an IRC protocol line to the client

AUTHOR ^

Hinrik Örn Sigurðsson, hinrik.sig@gmail.com

syntax highlighting: