---
name: "POE::Component::Jabber::ProtocolFactory"
section: "3pm"
platform: "linux"
package: "libpoe-component-jabber-perl"
version: "3.00-6"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/POE::Component::Jabber::ProtocolFactory"
---

# POE::Component::Jabber::ProtocolFactory(3pm)

protected helper class to handle different protocols

## NAME

POE::Component::Jabber::ProtocolFactory - protected helper class to handle different protocols

## SYNOPSIS

PCJ::ProtocolFactory is a protected helper class used to instantiate specific  Protocols based on exported constants

## DESCRIPTION

PCJ 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.

## FUNCTIONS

By 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.

## CONSTANTS

Below are the constants that are exported. Their names are rather  self-explanatory:

- XMPP

  - LEGACY

  - JABBERD14\_COMPONENT

  - JABBERD20\_COMPONENT

  ## NOTES

All 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.
