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::Ext::Disco::Info - Service discovery info

Author

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

Description

       This class represents the result of a disco info request sent by a "AnyEvent::XMPP::Ext::Disco" handler.

Methods

xml_node()
           Returns the AnyEvent::XMPP::Node object of the IQ query.

       jid()
           Returns the JID these items belong to.

       node()
           Returns the node these items belong to (may be undef).

       identities()
           Returns a list of hashrefs which contain following keys:

              category, type, name, xml_node

           "category"  is  the category of the identity. "type" is the type of the identity. "name" is the human
           readable name of the identity and might be undef. "xml_node" is the  AnyEvent::XMPP::Node  object  of
           the <identity/> node.

           "category" and "type" may be one of those defined on:

              http://www.xmpp.org/registrar/disco-categories.htmlfeatures()
           Returns a hashref of key/value pairs where the key is the feature name as listed on:

              http://www.xmpp.org/registrar/disco-features.html

           and the value is a AnyEvent::XMPP::Node object for the <feature/> node.

       debug_dump()
           Prints the information of this Info object to stdout.

Name

       AnyEvent::XMPP::Ext::Disco::Info - Service discovery info

Synopsis

See Also