Part of twisted.internet.interfaces View Source View In Hierarchy
Known implementations: twisted.internet.posixbase.PosixReactorBase
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. |
Parameters | host | a host name |
port | a port number | |
factory | a twisted.internet.protocol.ClientFactory
instance
| |
contextFactory | a twisted.internet.ssl.ClientContextFactory
object.
| |
timeout | number of seconds to wait before assuming the connection has failed. | |
bindAddress | a (host, port) tuple of local address to bind to, or
None .
| |
Returns | An object which provides IConnector .
|
Parameters | port | a port number on which to listen |
factory | a twisted.internet.protocol.ServerFactory
instance
| |
contextFactory | a twisted.internet.ssl.ContextFactory
instance
| |
backlog | size of the listen queue | |
interface | the hostname to bind to, defaults to '' (all) |