Query: poe::component::jabber::protocolfactory
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
POE::Component::Jabber::ProtocolFactory(3pm) User Contributed Perl Documentation POE::Component::Jabber::ProtocolFactory(3pm)NAMEPOE::Component::Jabber::ProtocolFactory - protected helper class to handle different protocolsSYNOPSISPCJ::ProtocolFactory is a protected helper class used to instantiate specific Protocols based on exported constantsDESCRIPTIONPCJ internally uses PCJ::ProtocolFactory to turn the ConnectionType argument into a Protocol object used to implement the various supported dialects. This is why the accepted arguments are exported as constants upon use.FUNCTIONSBy default no functions are exported beyond the accepted arguments. Only a package function is available: get_guts [Protected] get_guts takes a single argument and that is a defined constant exported by this module. It returns a PCJ::Protocol object. See PCJ::Protocol for details on its methods and implementing different Protocols.CONSTANTSBelow are the constants that are exported. Their names are rather self-explanatory: XMPP LEGACY JABBERD14_COMPONENT JABBERD20_COMPONENTNOTESAll supported Protocol types are implemented herein. get_guts will confess if it receives an invalid argument.AUTHOR(c) Copyright 2007-2009 Nicholas Perez. Released under the GPL. perl v5.12.4 2011-08-09 POE::Component::Jabber::ProtocolFactory(3pm)