1AnyEvent::XMPP::Ext::DiUssceor::CIonnftor(i3b)uted PerlADnoycEuvmeenntt:a:tXiMoPnP::Ext::Disco::Info(3)
2
3
4
6 AnyEvent::XMPP::Ext::Disco::Info - Service discovery info
7
10 This class represents the result of a disco info request sent by a
11 "AnyEvent::XMPP::Ext::Disco" handler.
12
14 xml_node ()
15 Returns the AnyEvent::XMPP::Node object of the IQ query.
16
17 jid ()
18 Returns the JID these items belong to.
19
20 node ()
21 Returns the node these items belong to (may be undef).
22
23 identities ()
24 Returns a list of hashrefs which contain following keys:
25
26 category, type, name, xml_node
27
28 "category" is the category of the identity. "type" is the type of
29 the identity. "name" is the human readable name of the identity and
30 might be undef. "xml_node" is the AnyEvent::XMPP::Node object of
31 the <identity/> node.
32
33 "category" and "type" may be one of those defined on:
34
35 http://www.xmpp.org/registrar/disco-categories.html
36
37 features ()
38 Returns a hashref of key/value pairs where the key is the feature
39 name as listed on:
40
41 http://www.xmpp.org/registrar/disco-features.html
42
43 and the value is a AnyEvent::XMPP::Node object for the <feature/>
44 node.
45
46 debug_dump ()
47 Prints the information of this Info object to stdout.
48
50 Robin Redeker, "<elmex at ta-sa.org>", JID: "<elmex at jabber.org>"
51
53 Copyright 2007, 2008 Robin Redeker, all rights reserved.
54
55 This program is free software; you can redistribute it and/or modify it
56 under the same terms as Perl itself.
57
58
59
60perl v5.34.0 2022-01-20AnyEvent::XMPP::Ext::Disco::Info(3)