class twisted.internet.interfaces.IReactorSSL(Interface): (source)
Known implementations: twisted.internet.posixbase.PosixReactorBase, twisted.internet.testing.MemoryReactor, twisted.internet.testing.RaisingMemoryReactor
Undocumented
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. |
Connect a client Protocol to a remote SSL socket.
Parameters | host | a host name (type: str ) |
port | a port number (type: int ) | |
factory | a twisted.internet.protocol.ClientFactory instance (type: ClientFactory ) | |
contextFactory | a twisted.internet.ssl.ClientContextFactory object. (type: ClientContextFactory ) | |
timeout | number of seconds to wait before assuming the connection has failed. (type: float ) | |
bindAddress | a (host, port) tuple of local address to bind to, or None . (type: Optional[Tuple[str, int]] ) | |
Returns | An object which provides IConnector . (type: IConnector ) |
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 | port | a port number on which to listen (type: int ) |
factory | a twisted.internet.protocol.ServerFactory instance (type: ServerFactory ) | |
contextFactory | an implementor of IOpenSSLContextFactory (type: IOpenSSLContextFactory ) | |
backlog | size of the listen queue (type: int ) | |
interface | the hostname to bind to, defaults to '' (all) (type: str ) | |
Returns | Undocumented (type: int ) |