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 2016-09-15 00:53:01.