class documentation
class _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 | __getattr__ |
Undocumented |
Method | __init__ |
Create a _ReconnectingProtocolProxy . |
Method | __repr__ |
Undocumented |
Method | connection |
The connection was lost. Relay this information. |
Instance Variable | _lost |
Undocumented |
Instance Variable | _protocol |
Undocumented |
Create a _ReconnectingProtocolProxy
.
Parameters | |
protocol:provider of interfaces.IProtocol which may additionally provide interfaces.IHalfCloseableProtocol and interfaces.IFileDescriptorReceiver . | the application-provided interfaces.IProtocol provider. |
lost | a 1-argument callable to invoke with the reason when the connection is lost. |