class documentation

class twisted.protocols.policies.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
Instance Variable wrappedFactory Undocumented
Instance Variable protocols Undocumented
Method logPrefix Generate a log prefix mentioning both the wrapped factory and this one.
Method doStart Undocumented
Method doStop Undocumented
Method startedConnecting Undocumented
Method clientConnectionFailed Undocumented
Method clientConnectionLost Undocumented
Method buildProtocol Undocumented
Method registerProtocol Called by protocol to register itself.
Method unregisterProtocol Called by protocols when they go away.
wrappedFactory = (source)

Undocumented

protocols = (source)

Undocumented

(type: dict)
def logPrefix(self): (source)

Generate a log prefix mentioning both the wrapped factory and this one.

def doStart(self): (source)

Undocumented

def doStop(self): (source)

Undocumented

def startedConnecting(self, connector): (source)

Undocumented

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

Undocumented

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

Undocumented

def registerProtocol(self, p): (source)

Called by protocol to register itself.

def unregisterProtocol(self, p): (source)
API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.