1AnyEvent::XMPP::Ext(3)User Contributed Perl DocumentationAnyEvent::XMPP::Ext(3)
2
3
4
6 AnyEvent::XMPP::Ext - Extension baseclass and documentation
7
9 This module also has documentation about the supported extensions and
10 also is a base class for all extensions that can be added via the
11 "add_extension" method of the classes that derive from
12 AnyEvent::XMPP::Extendable. (That are: AnyEvent::XMPP::Client,
13 AnyEvent::XMPP::Connection and AnyEvent::XMPP::IM::Connection)
14
16 disco_feature
17 This method can be overwritten by the extension and should return a
18 list of namespace URIs of the features that the extension enables.
19
21 This is the list of supported XMPP extensions:
22
23 XEP-0004 - Data Forms (Version 2.8)
24 This extension handles data forms as described in XEP-0004.
25 AnyEvent::XMPP::Ext::DataForm allows you to construct, receive and
26 answer data forms. This is neccessary for all sorts of things in
27 XMPP. For example XEP-0055 (Jabber Search) or also In-band
28 registration.
29
30 XEP-0030 - Service Discovery (Version 2.3)
31 This extension allows you to send service discovery requests and
32 define a set of discoverable information. See also
33 AnyEvent::XMPP::Ext::Disco.
34
35 XEP-0054 - vcard-temp (Version 1.1)
36 This extension allows the retrieval and storage of XMPP vcards as
37 defined in XEP-0054. It is implemented by
38 AnyEvent::XMPP::Ext::VCard.
39
40 XEP-0066 - Out of Band Data (Version 1.5)
41 This extension allows to receive and send out of band data URLs and
42 provides helper functions to handle jabber:x:oob data. See also
43 AnyEvent::XMPP::Ext::OOB.
44
45 XEP-0077 - In-Band Registration (Version 2.2)
46 This extension lets you register new accounts "in-band". For
47 details please take a look at AnyEvent::XMPP::Ext::Registration.
48
49 XEP-0078 - Non-SASL Authentication (Version 2.3)
50 After lots of sweat and curses I implemented finally iq auth.
51 Unfortunately the XEP-0078 specifies things that are not
52 implemented, in fact the only server that worked was openfire and
53 psyced.org.
54
55 So I de-analyzed the iq auth and now it just barfs the IQ set out
56 on the stream with the username and the password.
57
58 If you insist on XEP-0078 behaviour enable the "anal_iq_auth"
59 option when creating the stream.
60
61 You can also completely disable iq auth, well, just see the
62 documentation of AnyEvent::XMPP::Connection
63
64 XEP-0082 - XMPP Date and Time Profiles (Version 1.0)
65 Implemented some functions to deal with XMPP timestamps, see
66 AnyEvent::XMPP::Util "to_xmpp_time", "to_xmpp_datetime",
67 "from_xmpp_datetime".
68
69 They are meant as simple formatters for you, you will still need to
70 handle timezone stuff and such yourself.
71
72 XEP-0086 - Error Condition Mappings (Version 1.0)
73 "A mapping to enable legacy entities to correctly handle errors from XMPP-aware entities."
74
75 This extension will enable sending of the old error codes when
76 generating a stanza error with for example the "write_error_tag"
77 method of AnyEvent::XMPP::Writer.
78
79 Also if only the old numeric codes are supplied the
80 AnyEvent::XMPP::Error::Stanza class tries to map the numeric codes
81 to the new error conditions if possible.
82
83 XEP-0091 - Delayed Delivery (Version 1.3)
84 See also XEP-0203 below.
85
86 XEP-0092 - Software Version (Version 1.1)
87 The ability to answer to software version, name and operating
88 system requests and being able to send such requests is implemented
89 in AnyEvent::XMPP::Ext::Version.
90
91 XEP-0114 - Jabber Component Protocol (Version 1.5)
92 This extension allows you to connect to a server as a component and
93 makes it possible to implement services like pubsub, muc, or
94 whatever you can imagine (even gateways). See documentation of
95 AnyEvent::XMPP::Component and the example
96 "samples/simple_component".
97
98 XEP-0153 - vCard-Based Avatars (Version 1.0)
99 This extension allows to store and retrive avatars from vcards. On
100 top of that it will also signal others that you support avatars and
101 that they might have changed. See AnyEvent::XMPP::Ext::VCard.
102
103 XEP-0199 - XMPP Ping (Version 1.0)
104 You can send ping requests to other entities and also are able to
105 reply to them. On top of that the AnyEvent::XMPP::Ext::Ping
106 extension implements a connection timeout mechanism based on this.
107
108 XEP-0203 - Delayed Delivery (Version 1.0)
109 Both delayed delivery XEPs are supported and are implemented by
110 AnyEvent::XMPP::IM::Delayed which is a super class of
111 AnyEvent::XMPP::IM::Message and AnyEvent::XMPP::IM::Presence.
112
113 If you need to fetch delay from stanzas you caught yourself in an
114 event you can use a AnyEvent::XMPP::IM::Delayed object to
115 parse/fetch the delay out of the AnyEvent::XMPP::Node.
116
117 Use the functions described above in the XEP-0082 item to decode
118 the timestamps of delays.
119
121 Robin Redeker, "<elmex at ta-sa.org>", JID: "<elmex at jabber.org>"
122
124 Copyright 2007, 2008 Robin Redeker, all rights reserved.
125
126 This program is free software; you can redistribute it and/or modify it
127 under the same terms as Perl itself.
128
129
130
131perl v5.34.0 2022-01-20 AnyEvent::XMPP::Ext(3)