Part of twisted.internet.endpoints View Source View In Hierarchy
| Instance Variables | _wrappedFactory | A provider of IProtocolFactory whose buildProtocol method will be called and whose resulting protocol will be wrapped. |
| _onConnection | An Deferred
that fires when the protocol is connected
|
| Method | __init__ | |
| Method | buildProtocol | Proxy buildProtocol to our
self._wrappedFactory or errback |
| Method | clientConnectionFailed | Errback the self._onConnection Deferred when
the |
Inherited from ClientFactory:
| Method | startedConnecting | Called when a connection has been started. |
| Method | clientConnectionLost | Called when an established connection is lost. |
Inherited from Factory (via ClientFactory):
| Method | doStart | Make sure startFactory is called. |
| Method | doStop | Make sure stopFactory is called. |
| Method | startFactory | This will be called before I begin listening on a Port or Connector. |
| Method | stopFactory | This will be called before I stop listening on all Ports/Connectors. |
| Parameters | wrappedFactory | A provider of IProtocolFactory whose buildProtocol method will be called and whose resulting protocol will be wrapped. |
| canceller | An object that will be called to cancel the self._onConnection
Deferred
|
buildProtocol to our
self._wrappedFactory or errback the
self._onConnection Deferred.| Returns | An instance of _WrappingProtocol
or None
| |