twisted.internet.protocolView Source (View In Hierarchy)
Factory used by ClientCreator.
|Instance Variable||pending||After a connection attempt succeeds or fails, a delayed call which will
|Method||buildProtocol||Return the pre-constructed protocol instance and arrange to fire the
|Method||clientConnectionFailed||Arrange to fire the waiting
Inherited from ClientFactory:
|Method||startedConnecting||Called when a connection has been started.|
|Method||clientConnectionLost||Called when an established connection is lost.|
|Class Method||forProtocol||Create a factory for the given protocol.|
|Method||logPrefix||Describe this factory for log messages.|
|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.|
Deferredwhich represents this connection attempt and which will be fired when it succeeds or fails.
Deferredrepresenting this connection attempt.
Arrange to fire the waiting
the given failure to indicate the connection could not be established.
self.pending to avoid a reference cycle and then
invoke func with the value.