t.w.x.x.XmlStreamFactoryMixin(BootstrapMixin) : class documentation

Part of twisted.words.xish.xmlstream View Source View In Hierarchy

Known subclasses: twisted.words.xish.xmlstream.XmlStreamFactory

XmlStream factory mixin that takes care of event handlers.

All positional and keyword arguments passed to create this factory are passed on as-is to the protocol.

Instance Variable args Positional arguments passed to the protocol upon instantiation. (type: tuple.)
Instance Variable kwargs Keyword arguments passed to the protocol upon instantiation. (type: dict.)
Method __init__ Undocumented
Method buildProtocol Create an instance of XmlStream.

Inherited from BootstrapMixin:

Instance Variable bootstraps The list of registered bootstrap event observers.
Method installBootstraps Install registered bootstrap observers.
Method addBootstrap Add a bootstrap event handler.
Method removeBootstrap Remove a bootstrap event handler.
args =
Positional arguments passed to the protocol upon instantiation. (type: tuple.)
kwargs =
Keyword arguments passed to the protocol upon instantiation. (type: dict.)
def __init__(self, *args, **kwargs): (source)
Undocumented
def buildProtocol(self, addr): (source)
Create an instance of XmlStream.

The returned instance will have bootstrap event observers registered and will proceed to handle input on an incoming connection.

API Documentation for Twisted, generated by pydoctor at 2013-04-03 11:20:05.