class documentation

class XmlStreamFactoryMixin(BootstrapMixin): (source)

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

View In Hierarchy

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.

Method __init__ Undocumented
Method build​Protocol Create an instance of XmlStream.
Instance Variable args Positional arguments passed to the protocol upon instantiation.
Instance Variable kwargs Keyword arguments passed to the protocol upon instantiation.

Inherited from BootstrapMixin:

Method add​Bootstrap Add a bootstrap event handler.
Method install​Bootstraps Install registered bootstrap observers.
Method remove​Bootstrap Remove a bootstrap event handler.
Instance Variable bootstraps The list of registered bootstrap event observers.
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.

args: tuple. = (source)
Positional arguments passed to the protocol upon instantiation.
kwargs: dict. = (source)
Keyword arguments passed to the protocol upon instantiation.