class documentation

class WrappingFactory(ClientFactory): (source)

Known subclasses: twisted.protocols.haproxy._wrapper.HAProxyWrappingFactory, twisted.protocols.policies.LimitConnectionsByPeer, twisted.protocols.policies.SpewingFactory, twisted.protocols.policies.ThrottlingFactory, twisted.protocols.policies.TimeoutFactory, twisted.protocols.policies.TrafficLoggingFactory, twisted.protocols.tls.TLSMemoryBIOFactory

View In Hierarchy

Wraps a factory and its protocols, and keeps track of them.
Method __init__ Undocumented
Method build​Protocol Undocumented
Method client​Connection​Failed Undocumented
Method client​Connection​Lost Undocumented
Method do​Start Undocumented
Method do​Stop Undocumented
Method log​Prefix Generate a log prefix mentioning both the wrapped factory and this one.
Method register​Protocol Called by protocol to register itself.
Method started​Connecting Undocumented
Method unregister​Protocol Called by protocols when they go away.
Instance Variable protocols Undocumented
Instance Variable wrapped​Factory Undocumented
def clientConnectionFailed(self, connector, reason): (source)

Undocumented

def clientConnectionLost(self, connector, reason): (source)

Undocumented

def doStart(self): (source)

Undocumented

def doStop(self): (source)

Undocumented

def logPrefix(self): (source)
Generate a log prefix mentioning both the wrapped factory and this one.
def registerProtocol(self, p): (source)
Called by protocol to register itself.
def startedConnecting(self, connector): (source)

Undocumented

def unregisterProtocol(self, p): (source)
protocols: dict = (source)

Undocumented

wrappedFactory = (source)

Undocumented