t.i.i.IReactorSSL(Interface) : interface documentation

Part of twisted.internet.interfaces View Source View In Hierarchy

Known implementations: twisted.internet.posixbase.PosixReactorBase

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
contextFactorya twisted.internet.ssl.ContextFactory instance
backlogsize of the listen queue
interfacethe hostname to bind to, defaults to '' (all)
API Documentation for Twisted, generated by pydoctor at 2013-11-08 22:07:30.