class documentation

class twisted.application.internet._DisconnectFactory: (source)

View In Hierarchy

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
def __init__(self, protocolFactory, protocolDisconnected): (source)

Undocumented

_protocolFactory = (source)

Undocumented

_protocolDisconnected = (source)

Undocumented

def buildProtocol(self, addr): (source)

Create a _ReconnectingProtocolProxy with the disconnect-notification callback we were called with.

ParametersaddrThe address the connection is coming from.
Returnsa _ReconnectingProtocolProxy for a protocol produced by self._protocolFactory
def __getattr__(self, item): (source)

Undocumented

def __repr__(self): (source)

Undocumented

ReturnsUndocumented (type: str)
API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.