t.p.t.TLSMemoryBIOFactory(WrappingFactory) : class documentation

Part of twisted.protocols.tls View Source View In Hierarchy

TLSMemoryBIOFactory adds TLS to connections.
Method __init__ Undocumented
Method logPrefix Annotate the wrapped factory's log prefix with some text indicating TLS is in use.
Instance Variable _contextFactory The TLS context factory which will be used to define certain TLS connection parameters.
Instance Variable _isClient A flag which is True if this is a client TLS connection, False if it is a server TLS connection.

Inherited from WrappingFactory:

Method doStart Make sure startFactory is called.
Method doStop Make sure stopFactory is called.
Method startedConnecting Called when a connection has been started.
Method clientConnectionFailed Called when a connection has failed to connect.
Method clientConnectionLost Called when an established connection is lost.
Method buildProtocol Create an instance of a subclass of Protocol.
Method registerProtocol Called by protocol to register itself.
Method unregisterProtocol Called by protocols when they go away.

Inherited from Factory (via WrappingFactory, ClientFactory):

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.
_contextFactory =
The TLS context factory which will be used to define certain TLS connection parameters.
_isClient =
A flag which is True if this is a client TLS connection, False if it is a server TLS connection.
def __init__(self, contextFactory, isClient, wrappedFactory): (source)
Undocumented
def logPrefix(self): (source)
Annotate the wrapped factory's log prefix with some text indicating TLS is in use.
Returns (type: str)
API Documentation for Twisted, generated by pydoctor at 2012-06-04 17:20:01.