SYNOPSIS

PCJ::Legacy is a Protocol implementation for the legacy (ie. Pre-XMPP) Jabber protocol.

DESCRIPTION

PCJ::Legacy implements the simple iq:auth authentication mechanism defined in the deprecated \s-1XEP\s0 at http://www.xmpp.org/extensions/xep-0078.html. This Protocol class is mainly used for connecting to legacy jabber servers that do not conform the to \s-1XMPP1\s0.0 \s-1RFC\s0.

METHODS

Please see PCJ::Protocol for what methods this class supports.

EVENTS

Listed below are the exported events that end up in \s-1PCJ\s0's main session:

set_auth

This handles construction and sending of the iq:auth query.

init_input_handler

This is our main entry point. This is used by \s-1PCJ\s0 to deliver all input events until we are finished. Also handles responses to authentication.

NOTES AND BUGS

Ideally, this class wouldn't be necessary, but there is a large unmoving mass of entrenched users and administrators that refuse to migrate to \s-1XMPP\s0. It largely doesn't help that debian still ships jabberd 1.4.3 which does \s-1NOT\s0 support \s-1XMPP\s0.

The underlying backend has changed this release to now use a new Node implementation based on XML::LibXML::Element. Please see POE::Filter::XML::Node documentation for the relevant \s-1API\s0 changes.

AUTHOR

Copyright (c) 2003-2009 Nicholas Perez. Distributed under the \s-1GPL\s0.