Part of twisted.internet.endpoints View Source View In Hierarchy
Implements interfaces: twisted.internet.interfaces.IStreamClientEndpoint
Method | __init__ | No summary |
Method | connect | Implement IStreamClientEndpoint.connect
to connect with SSL over TCP. |
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 | _timeout | number of seconds to wait before assuming the connection has failed. (type: int) |
Instance Variable | _bindAddress | a (host, port) tuple of local address to bind to, or None. (type: tuple) |
OpenSSLCertificateOptions
(type: OpenSSLCertificateOptions
)
Parameters | reactor | An IReactorSSL
provider. |
host | A hostname, used when connecting | |
port | The port number, used when connecting | |
sslContextFactory | SSL Configuration information as An instance of
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. |
IStreamClientEndpoint.connect
to connect with SSL over TCP.