SleekXMPP/sleekxmpp/stanza
Lance Stout 1a270dc05c First pass at re-worked stream features.
Stream features now use stanza objects!

Features are given a ranking that expresses the dependency
relationships (since only one feature is negotiated at a time, the
dependency graph can be replaced by a line).

>>> xmpp.register_feature('my_feature', _my_handler,
>>>                       restart=True,   # Requires stream restart
>>>                       order=600)      # Ranking (out of ~ 10,000,
>>>                                       # lower #'s executed first)

SASL mechanisms may now be added or disabled as needed. Each mechanism
is given a priority value indicating the order in which the client
wishes for mechanisms to be tried. Higher priority numbers are executed
first.

>>> xmpp.register_sasl_mechanism('SASL-MECH', _mech_handler,
>>>                              priority=0)

Disabling a SASL mechanism:

>>> xmpp.remove_sasl_mechanism('ANONYMOUS')
2011-01-28 00:49:37 -05:00
..
__init__.py First pass at re-worked stream features. 2011-01-28 00:49:37 -05:00
atom.py More PEP8 compliance cleanups. 2010-10-06 15:12:39 -04:00
bind.py First pass at re-worked stream features. 2011-01-28 00:49:37 -05:00
error.py Underscore names by default. 2010-10-17 22:04:42 -04:00
htmlim.py Underscore names by default. 2010-10-17 22:04:42 -04:00
iq.py Add StreamError stanza and a stream_error event. 2011-01-16 13:22:52 -05:00
message.py Underscore names by default. 2010-10-17 22:04:42 -04:00
nick.py Fix namespace for Nick stanza. 2011-01-19 16:47:18 -05:00
presence.py presence no longer replies when exception is caught and tweaks to presence events 2010-10-21 16:59:15 -07:00
rootstanza.py Make tests pass for catching exceptions. 2010-12-17 13:11:03 -05:00
roster.py Underscore names by default. 2010-10-17 22:04:42 -04:00
sasl.py First pass at re-worked stream features. 2011-01-28 00:49:37 -05:00
session.py First pass at re-worked stream features. 2011-01-28 00:49:37 -05:00
stream_error.py Make StreamError work properly. 2011-01-27 16:02:57 -05:00
stream_features.py First pass at re-worked stream features. 2011-01-28 00:49:37 -05:00
tls.py First pass at re-worked stream features. 2011-01-28 00:49:37 -05:00