class documentation

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

View In Hierarchy

A proxy for a Protocol to provide connectionLost notification to a client connection service, in support of reconnecting when connections are lost.

Method __init__ Create a _ReconnectingProtocolProxy.
Method connectionLost The connection was lost. Relay this information.
Method __getattr__ Undocumented
Method __repr__ Undocumented
Instance Variable _protocol Undocumented
Instance Variable _lostNotification Undocumented
def __init__(self, protocol, lostNotification): (source)

Create a _ReconnectingProtocolProxy.

Parametersprotocolthe application-provided interfaces.IProtocol provider. (type: provider of interfaces.IProtocol which may additionally provide interfaces.IHalfCloseableProtocol and interfaces.IFileDescriptorReceiver.)
lostNotificationa 1-argument callable to invoke with the reason when the connection is lost.
_protocol = (source)

Undocumented

_lostNotification = (source)

Undocumented

def connectionLost(self, reason): (source)

The connection was lost. Relay this information.

ParametersreasonThe reason the connection was lost.
Returnsthe underlying protocol's result
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.