---
name: "AnyEvent::XMPP::Extendable"
section: "3pm"
platform: "linux"
package: "perl-anyevent-xmpp"
version: "0.55-7"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/AnyEvent::XMPP::Extendable"
---

# AnyEvent::XMPP::Extendable(3pm)

Extendable baseclass

## NAME

AnyEvent::XMPP::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 AnyEvent::XMPP::Event!

Please see AnyEvent::XMPP::Ext for more information about this mechanism.

- **add\_extension ($ext)**

  This method extends the current object with a AnyEvent::XMPP::Ext object. `$ext` must be an instance of AnyEvent::XMPP::Ext.

  Basically `"add_extension"` makes the extension an event receiver for all events that the extended object receives.

- **remove\_extension ($ext)**

  This method removes the extension `$ext`.

## AUTHOR

Robin Redeker, `"<elmex at ta-sa.org>"`, JID: `"<elmex at jabber.org>"`

## COPYRIGHT & LICENSE

Copyright 2007, 2008 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.
