class twisted.application.internet._ReconnectingProtocolProxy: (source)
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 |
Create a _ReconnectingProtocolProxy
.
Parameters | protocol | the application-provided interfaces.IProtocol provider. (type: provider of interfaces.IProtocol which may additionally provide interfaces.IHalfCloseableProtocol and interfaces.IFileDescriptorReceiver .) |
lostNotification | a 1-argument callable to invoke with the reason when the connection is lost. |
The connection was lost. Relay this information.
Parameters | reason | The reason the connection was lost. |
Returns | the underlying protocol's result |