9 - **Source:** :py:class:`~slixmpp.xmlstream.XMLstream`
11 Signal that a connection has been made with the XMPP server, but a session
12 has not yet been established.
15 - **Data:** ``{}`` or ``Failure Stanza`` if available
16 - **Source:** :py:class:`~slixmpp.xmlstream.XMLstream`
18 Signal that a connection can not be established after number of attempts.
21 - **Data:** :py:class:`~slixmpp.Presence`
22 - **Source:** :py:class:`~slixmpp.roster.item.RosterItem`
24 Triggered when a presence stanza is received from a JID with a show type
25 different than the last presence stanza from the same JID.
28 - **Data:** :py:class:`~slixmpp.Presence`
29 - **Source:** :py:class:`~slixmpp.BaseXMPP`
31 Triggered whenever a presence stanza with a type of ``subscribe``,
32 ``subscribed``, ``unsubscribe``, or ``unsubscribed`` is received.
34 Note that if the values ``xmpp.auto_authorize`` and ``xmpp.auto_subscribe``
35 are set to ``True`` or ``False``, and not ``None``, then Slixmpp will
36 either accept or reject all subscription requests before your event handlers
37 are called. Set these values to ``None`` if you wish to make more complex
38 subscription decisions.
61 - **Data:** :py:class:`~slixmpp.plugins.xep_0030.stanza.DiscoInfo`
62 - **Source:** :py:class:`~slixmpp.plugins.xep_0030.disco.xep_0030`
64 Triggered whenever a ``disco#info`` result stanza is received.
67 - **Data:** :py:class:`~slixmpp.plugins.xep_0030.stanza.DiscoItems`
68 - **Source:** :py:class:`~slixmpp.plugins.xep_0030.disco.xep_0030`
70 Triggered whenever a ``disco#items`` result stanza is received.
74 - **Source:** :py:class:`~slixmpp.xmlstream.XMLstream`
76 Signal that the connection with the XMPP server has been lost.
84 - **Source:** :py:class:`~slixmpp.ClientXMPP`, :py:class:`~slixmpp.plugins.xep_0078.xep_0078`
86 Signal that the server has rejected the provided login credentials.
90 - **Source:** :py:class:`~slixmpp.plugins.gmail_notify.gmail_notify`
92 Signal that there are unread emails for the Gmail account associated with the current XMPP account.
95 - **Data:** :py:class:`~slixmpp.Iq`
96 - **Source:** :py:class:`~slixmpp.plugins.gmail_notify.gmail_notify`
98 Signal that there are unread emails for the Gmail account associated with the current XMPP account.
101 - **Data:** :py:class:`~slixmpp.Presence`
102 - **Source:** :py:class:`~slixmpp.roster.item.RosterItem`
104 If a presence stanza is received from a JID which was previously marked as
105 offline, and the presence has a show type of '``chat``', '``dnd``', '``away``',
106 or '``xa``', then this event is triggered as well.
109 - **Data:** :py:class:`~slixmpp.Presence`
110 - **Source:** :py:class:`~slixmpp.roster.item.RosterItem`
112 Signal that an unavailable presence stanza has been received from a JID.
118 groupchat_direct_invite
119 - **Data:** :py:class:`~slixmpp.Message`
120 - **Source:** :py:class:`~slixmpp.plugins.xep_0249.direct`
123 - **Data:** :py:class:`~slixmpp.Message`
124 - **Source:** :py:class:`~slixmpp.plugins.xep_0045.xep_0045`
126 Triggered whenever a message is received from a multi-user chat room.
129 - **Data:** :py:class:`~slixmpp.Presence`
130 - **Source:** :py:class:`~slixmpp.plugins.xep_0045.xep_0045`
132 Triggered whenever a presence stanza is received from a user in a multi-user chat room.
135 - **Data:** :py:class:`~slixmpp.Message`
136 - **Source:** :py:class:`~slixmpp.plugins.xep_0045.xep_0045`
138 Triggered whenever the subject of a multi-user chat room is changed, or announced when joining a room.
149 - **Data:** :py:class:`~slixmpp.Message`
150 - **Source:** :py:class:`BaseXMPP <slixmpp.BaseXMPP>`
152 Makes the contents of message stanzas available whenever one is received. Be
153 sure to check the message type in order to handle error messages.
156 - **Data:** :py:class:`~slixmpp.plugins.xep_0004.Form`
157 - **Source:** :py:class:`~slixmpp.plugins.xep_0004.xep_0004`
159 Currently the same as :term:`message_xform`.
162 - **Data:** :py:class:`~slixmpp.plugins.xep_0004.Form`
163 - **Source:** :py:class:`~slixmpp.plugins.xep_0004.xep_0004`
165 Triggered whenever a data form is received inside a message.
167 muc::[room]::got_offline
171 muc::[room]::got_online
179 muc::[room]::presence
184 - **Data:** :py:class:`~slixmpp.Presence`
185 - **Source:** :py:class:`~slixmpp.BaseXMPP`
187 A presence stanza with a type of '``available``' is received.
190 - **Data:** :py:class:`~slixmpp.Presence`
191 - **Source:** :py:class:`~slixmpp.BaseXMPP`
193 A presence stanza with a type of '``error``' is received.
196 - **Data:** :py:class:`~slixmpp.plugins.xep_0004.Form`
197 - **Source:** :py:class:`~slixmpp.plugins.xep_0004.xep_0004`
199 This event is present in the XEP-0004 plugin code, but is currently not used.
202 - **Data:** :py:class:`~slixmpp.Presence`
203 - **Source:** :py:class:`~slixmpp.BaseXMPP`
205 A presence stanza with a type of '``probe``' is received.
208 - **Data:** :py:class:`~slixmpp.Presence`
209 - **Source:** :py:class:`~slixmpp.BaseXMPP`
211 A presence stanza with a type of '``subscribe``' is received.
214 - **Data:** :py:class:`~slixmpp.Presence`
215 - **Source:** :py:class:`~slixmpp.BaseXMPP`
217 A presence stanza with a type of '``subscribed``' is received.
220 - **Data:** :py:class:`~slixmpp.Presence`
221 - **Source:** :py:class:`~slixmpp.BaseXMPP`
223 A presence stanza with a type of '``unavailable``' is received.
226 - **Data:** :py:class:`~slixmpp.Presence`
227 - **Source:** :py:class:`~slixmpp.BaseXMPP`
229 A presence stanza with a type of '``unsubscribe``' is received.
231 presence_unsubscribed
232 - **Data:** :py:class:`~slixmpp.Presence`
233 - **Source:** :py:class:`~slixmpp.BaseXMPP`
235 A presence stanza with a type of '``unsubscribed``' is received.
238 - **Data:** :py:class:`~slixmpp.stanza.Roster`
239 - **Source:** :py:class:`~slixmpp.ClientXMPP`
241 An IQ result containing roster entries is received.
245 - **Source:** :py:class:`~slixmpp.roster.multi.Roster`
247 Signal that an initial presence stanza has been written to the XML stream.
251 - **Source:** :py:class:`~slixmpp.xmlstream.XMLstream`
253 Signal that a connection to the XMPP server has been lost and the current
254 stream session has ended. Currently equivalent to :term:`disconnected`, but
255 future implementation of `XEP-0198: Stream Management <http://xmpp.org/extensions/xep-0198.html>`_
256 will distinguish the two events.
258 Plugins that maintain session-based state should clear themselves when
263 - **Source:** :py:class:`ClientXMPP <slixmpp.ClientXMPP>`,
264 :py:class:`ComponentXMPP <slixmpp.ComponentXMPP>`
265 :py:class:`XEP-0078 <slixmpp.plugins.xep_0078>`
267 Signal that a connection to the XMPP server has been made and a session has been established.
270 - **Data:** ``Socket`` exception object
271 - **Source:** :py:class:`~slixmpp.xmlstream.XMLstream`
274 - **Data:** :py:class:`~slixmpp.stanza.StreamError`
275 - **Source:** :py:class:`~slixmpp.BaseXMPP`