POE::C...er::J14(3pm)
π POE::C...er::J14 β bestie, it's a manual page π
okay so this is POE::C...er::J14(3pm) and it lives in the User Contributed Perl Documentation section, which is giving β¨community-craftedβ¨, you know? anyway sit down, hydrate, and let me tell you about connecting to a jabberd14 router as a service π«Ά
β¨ 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. that's it, that's the whole vibe check π
π¦ DESCRIPTION π¦
PCJ::J14 authenticates with the server backend using the method outlined in XEP-114 (Jabber Component Protocol) π
the extension lives over at http://www.xmpp.org/extensions/xep-0114.html β go read it, i'll wait, it's literally iconic πβ¨
π METHODS π
lowkey this class is a whole mystery box of methods and i am NOT about to spoil it. please see PCJ::Protocol for what methods this class supports. periodt π
π₯ EVENTS π₯
listed below are the exported events that end up in PCJ's main session. main character energy only π
set_authβ this event constructs and sends the<handshake/>element for authentication. it's giving "let me in" πβ¨init_input_handlerβ this is our main entry point thatPCJuses to send us all of the input. it handles the authentication response. the way it just... catches everything for us ππ«Ά
π NOTES AND BUGS π
okay bestie, real talk, no cap, here are the fine-print vibes:
- this only implements the
jabber:component:acceptnamespace (ie. the component initiates the connection to the server). one direction only, we are the ones reaching out π
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. fr fr, tell me, i wanna know π
- the underlying backend has changed this release to now use a new Node implementation based on
XML::LibXML::Element. please seePOE::Filter::XML::Nodedocumentation for the relevant API changes. yes this is a breaking-ish glow-up, go read that page π
π AUTHOR π
Copyright (c) 2003-2009 Nicholas Perez. Distributed under the GPL. π
and that's the whole page, bestie!! you ate that reading session up π
this lil masterpiece is served to you by perl v5.36.0, dated 2023-08-26, and it is still filed under POE::C...er::J14(3pm). mwah, go write some components πβ¨π¦
π¦ where this page comes from
- debian trixie: libpoe-component-jabber-perl 3.00-6 Β· GPL-2.0-only
- ubuntu noble: libpoe-component-jabber-perl 3.00-6 Β· GPL-2.0-only
- ubuntu resolute: libpoe-component-jabber-perl 3.00-6 Β· GPL-2.0-only
- ubuntu stonking: libpoe-component-jabber-perl 3.00-6 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms