SYNOPSIS

\s-1PCJ::J2\s0 is a Protocol implementation that is used to connect to the jabberd20 router as a service.

DESCRIPTION

\s-1PCJ::J2\s0 implements the jabberd2 component spec located here: (http://jabberd.jabberstudio.org/dev/docs/component.shtml) Specifically, \s-1PCJ::J2\s0 will negotiate \s-1TLS\s0, \s-1SASL\s0, and domain binding required to establish a working connection with jabberd2 as a service.

METHODS

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

EVENTS

Listed are the exported events that make their way into the \s-1PCJ\s0 session:

set_auth

This handles the initial \s-1SASL\s0 authentication portion of the connection.

init_input_handler

This is our entry point. This is what \s-1PCJ\s0 uses to deliver events to us. It handles various responses until the connection is initialized fully.

build_tls_wheel

If \s-1TLS\s0 is required by the server, this is where that negotiation process happens.

challenge_response

This handles the subsequent \s-1SASL\s0 authentication steps.

binding

This handles the domain binding

NOTES AND BUGS

This Protocol may implement the spec, but this spec hasn't been touched in quite some time. If for some reason my implementation fails against a particular jabberd2 version, please let me know.

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.