NAME
Net::XMPP2::Ext - Extension baseclass and documentation
DESCRIPTION
This module has documentation about the supported extensions and also is a base class for all extensions that can be added via the add_extension
method of the classes that derive from Net::XMPP2::Extendable. (That are: Net::XMPP2::Client, Net::XMPP2::Connection and Net::XMPP2::IM::Connection)
Basically add_extension
makes the extension an event receiver for all events that the extended object receives.
Supportet extensions
This is the list of supported XMPP extensions:
- XEP-0004 - Data Forms
-
This extension handles data forms as described in XEP-0004. Net::XMPP2::Ext::DataForm allows you to construct, receive and answer data forms. This is neccessary for all sorts of things in XMPP. For example XEP-0055 (Jabber Search) or also In-band registration.
- XEP-0086 - Error Condition Mappings
-
"A mapping to enable legacy entities to correctly handle errors from XMPP-aware entities."
This extension will enable sending of the old error codes when generating a stanza error with for example the
write_error_tag
method of Net::XMPP2::Writer. - XEP-0030 - Service Discovery
-
This extension allows you to send service discovery requests and define a set of discoverable information. See also Net::XMPP2::Ext::Disco.
- XEP-0077 - In-Band Registration
-
This extension lets you register new accounts "in-band". To use this look at the description of the
register
option to thenew
method of Net::XMPP2::Connection. - XEP-0114 - Jabber Component Protocol
-
This extension allows you to connect to a server as a component and makes it possible to implement services like pubsub, muc, or whatever you can imagine (even gateways). See documentation of Net::XMPP2::Component and the example
samples/simple_component
.
AUTHOR
Robin Redeker, <elmex at ta-sa.org>
, JID: <elmex at jabber.org>
COPYRIGHT & LICENSE
Copyright 2007 Robin Redeker, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.