t.w.p.j.x.XMPPHandlerCollection(object) : class documentation

Part of twisted.words.protocols.jabber.xmlstream View Source View In Hierarchy

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 VariableshandlersList of protocol handlers. (type: list of objects providing IXMPPHandler )
Method __init__ Undocumented
Method __iter__ Act as a container for handlers.
Method addHandler Add protocol handler.
Method removeHandler Remove protocol handler.
def __init__(self): (source)
def __iter__(self): (source)
Act as a container for handlers.
def addHandler(self, handler): (source)

Add protocol handler.

Protocol handlers are expected to provide ijabber.IXMPPHandler.
def removeHandler(self, handler): (source)
Remove protocol handler.
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:12:41.