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


App-Bondage documentation  | view source Contained in the App-Bondage distribution.

Index


NAME

Top

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

SYNOPSIS

Top

 use App::Bondage::Client;

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

DESCRIPTION

Top

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

Top

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

Top

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


App-Bondage documentation  | view source Contained in the App-Bondage distribution.