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 Variable handlers List 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.
handlers =
List of protocol handlers. (type: list of objects providing IXMPPHandler)
def __init__(self): (source)
Undocumented
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 2012-06-04 17:20:01.