NAME

Net::XMPP2::Extendable - Extendable baseclass

DESCRIPTION

This class provides a mechanism to add extensions. Please note that the class that derives from this must also derive from Net::XMPP2::Event!

Please see Net::XMPP2::Ext for more information about this mechanism.

add_extension ($ext)

This method extends the current object with a Net::XMPP2::Ext object. $ext must be an instance of Net::XMPP2::Ext.

remove_extension ($ext)

This method removes the extension $ext.

disco_features

This method can be overwritten by the extension and should return a list of namespace URIs of the features that the extension enables.

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.