class twisted.application.internet._DisconnectFactory: (source)
A _DisconnectFactory
is a proxy for IProtocolFactory
that catches connectionLost
notifications and relays them.
Method | __init__ | Undocumented |
Method | buildProtocol | Create a _ReconnectingProtocolProxy with the disconnect-notification callback we were called with. |
Method | __getattr__ | Undocumented |
Method | __repr__ | Undocumented |
Instance Variable | _protocolFactory | Undocumented |
Instance Variable | _protocolDisconnected | Undocumented |
Create a _ReconnectingProtocolProxy
with the disconnect-notification callback we were called with.
Parameters | addr | The address the connection is coming from. |
Returns | a _ReconnectingProtocolProxy for a protocol produced by self._protocolFactory |