t.i.e.SSL4ClientEndpoint(object) : class documentation

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

Implements interfaces: twisted.internet.interfaces.IStreamClientEndpoint

SSL secured TCP client endpoint with an IPv4 configuration
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)
_reactor =
An IReactorSSL provider.
_host =
The hostname to connect to as a str (type: str)
_port =
The port to connect to as int (type: int)
_sslContextFactory =
SSL Configuration information as an OpenSSLCertificateOptions (type: OpenSSLCertificateOptions)
_timeout =
number of seconds to wait before assuming the connection has failed. (type: int)
_bindAddress =
a (host, port) tuple of local address to bind to, or None. (type: tuple)
def __init__(self, reactor, host, port, sslContextFactory, timeout=30, bindAddress=None): (source)
ParametersreactorAn IReactorSSL provider.
hostA hostname, used when connecting
portThe port number, used when connecting
sslContextFactorySSL Configuration information as An instance of OpenSSLCertificateOptions.
timeoutnumber of seconds to wait before assuming the connection has failed.
bindAddressa (host, port tuple of local address to bind to, or None.
def connect(self, protocolFactory): (source)
Implement IStreamClientEndpoint.connect to connect with SSL over TCP.
API Documentation for Twisted, generated by pydoctor at 2012-06-04 17:20:01.