class twisted.words.protocols.jabber.xmlstream.XMPPHandlerCollection: (source)
Known subclasses: twisted.words.protocols.jabber.xmlstream.StreamManager
Implements interfaces: twisted.words.protocols.jabber.ijabber.IXMPPHandlerCollection
Collection of XMPP subprotocol handlers.
This allows for grouping of subprotocol handlers, but is not an XMPPHandler itself, so this is not recursive.
| Instance Variable | handlers | List of protocol handlers. |
| Method | __init__ | Undocumented |
| Method | __iter__ | Act as a container for handlers. |
| Method | addHandler | Add protocol handler. |
| Method | removeHandler | Remove protocol handler. |
Undocumented
Add protocol handler.
Protocol handlers are expected to provide ijabber.IXMPPHandler.