logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

AnyEvent::XMPP::Extendable - Extendable baseclass

Author

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

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.

Name

       AnyEvent::XMPP::Extendable - Extendable baseclass

See Also