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