POE::C...er::J14(3pm)

πŸ“¦
version 3.00 Β· 3 versions
, in debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– 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 that PCJ uses 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:accept namespace (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 see POE::Filter::XML::Node documentation 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 πŸŽ€βœ¨πŸ¦‹