Known implementations: twisted.internet.posixbase.PosixReactorBase, twisted.test.proto_helpers.MemoryReactor, twisted.test.proto_helpers.RaisingMemoryReactor

No interface docstring
Method connectSSL Connect a client Protocol to a remote SSL socket.
Method listenSSL Connects a given protocol factory to the given numeric TCP/IP port. The connection is a SSL one, using contexts created by the context factory.
def connectSSL(host, port, factory, contextFactory, timeout=30, bindAddress=None): (source)

Connect a client Protocol to a remote SSL socket.

Parametershosta host name
porta port number
factorya twisted.internet.protocol.ClientFactory instance
contextFactorya twisted.internet.ssl.ClientContextFactory object.
timeoutnumber of seconds to wait before assuming the connection has failed.
bindAddressa (host, port) tuple of local address to bind to, or None.
ReturnsAn object which provides IConnector.
def listenSSL(port, factory, contextFactory, backlog=50, interface=''): (source)

Connects a given protocol factory to the given numeric TCP/IP port. The connection is a SSL one, using contexts created by the context factory.

Parametersporta port number on which to listen
factorya twisted.internet.protocol.ServerFactory instance
contextFactoryan implementor of IOpenSSLContextFactory
backlogsize of the listen queue
interfacethe hostname to bind to, defaults to '' (all)
API Documentation for Twisted, generated by pydoctor at 2018-07-14 04:53:34.