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
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. |
Generate a log prefix mentioning both the wrapped factory and this one.
Called by protocols when they go away.