Scroll to navigation

POE::Component::Jabber::J14(3pm) User Contributed Perl Documentation POE::Component::Jabber::J14(3pm)

NAME

POE::Component::Jabber::J14 - connect to the jabberd14 router as a service

SYNOPSIS

PCJ::J14 is a Protocol implementation that connects as a service to a jabberd14 server.

DESCRIPTION

PCJ::J14 authenticates with the server backend using the method outlined in XEP-114 (Jabber Component Protocol) [http://www.xmpp.org/extensions/xep-0114.html]

METHODS

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

EVENTS

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

This event constructs and sends the <handshake/> element for authentication.
This is out main entry point that PCJ uses to send us all of the input. It handles the authentication response.

NOTES AND BUGS

This only implements the jabber:component:accept namespace (ie. the component initiates the connection to the server).

Also be aware that before this protocol was documented as an XEP, it was widely implemented with loose rules. I conform to this document. If there is a problem with the implementation against older server implementations, 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 API changes.

AUTHOR

Copyright (c) 2003-2009 Nicholas Perez. Distributed under the GPL.

2022-06-17 perl v5.34.0