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):

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):

The connection was lost. Relay this information.

ParametersreasonThe reason the connection was lost.
Returnsthe underlying protocol's result
def __getattr__(self, item):
Undocumented
def __repr__(self):
Undocumented
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.