POE::C...Factory(3pm)
β¨ NAME β¨
POE::Component::Jabber::ProtocolFactory β it's a protected helper class that handles all the different protocols, bestie π
πΈ SYNOPSIS πΈ
PCJ::ProtocolFactory is a protected helper class and its whole job is instantiating specific Protocols based on the constants that get exported. That's it, that's the gig π
π¦ DESCRIPTION π¦
okay so here's the tea β β internally, PCJ uses PCJ::ProtocolFactory to turn that ConnectionType argument into a Protocol object, and that object is what implements all the various supported dialects. slay
and that is literally why the accepted arguments get exported as constants when you use it. no cap. π«Ά
π₯ FUNCTIONS π₯
by default, nothing gets exported beyond the accepted arguments. there's exactly one package function available:
π get_guts [Protected]
get_guts takes a single argument, and that argument is a defined constant exported by this module. it hands you back a PCJ::Protocol object. periodt. π
peep PCJ::Protocol for the details on its methods and on implementing different Protocols π
π CONSTANTS π
here are the constants that get exported. their names are kinda self-explanatory, ngl:
XMPPLEGACYJABBERD14_COMPONENTJABBERD20_COMPONENT
π NOTES π
all supported Protocol types are implemented right here in this file. and just so you know β get_guts will confess if it receives an invalid argument π so don't come at it with nonsense.
π AUTHOR π
(c) Copyright 2007-2009 Nicholas Perez. Released under the GPL. π
and that's the whole page, bestie π this was written for perl v5.36.0, dated 2023-08-26 β and it's from POE::C...Factory(3pm) (the manual name, in case you were wondering). ily, go read PCJ::Protocol next π
π¦ 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