Part of twisted.internet.endpoints View Source View In Hierarchy
Implements interfaces: twisted.internet.interfaces.IStreamServerEndpoint
Method | __init__ | No summary |
Method | listen | Implement IStreamServerEndpoint.listen
to listen for SSL on a TCP socket. |
Instance Variable | _reactor | An IReactorSSL
provider. |
Instance Variable | _host | The hostname to connect to as a str (type: str) |
Instance Variable | _port | The port to connect to as int (type: int) |
Variable | _sslContextFactory | SSL Configuration information as an OpenSSLCertificateOptions (type: OpenSSLCertificateOptions ) |
Instance Variable | _backlog | size of the listen queue (type: int) |
Instance Variable | _interface | the hostname to bind to, defaults to '' (all) (type: str) |
OpenSSLCertificateOptions
(type: OpenSSLCertificateOptions
)
Parameters | reactor | An IReactorSSL
provider. |
port | The port number used listening | |
sslContextFactory | An instance of
twisted.internet._sslverify.OpenSSLCertificateOptions . | |
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. |
IStreamServerEndpoint.listen
to listen for SSL on a TCP socket.