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
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.
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
API Documentation for Twisted, generated by pydoctor at 2018-07-14 04:53:34.