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