Go to the latest version of this document.

# ``twisted`.`internet`.`endpoints`.`SSL4ServerEndpoint``

class documentation

`class SSL4ServerEndpoint: (source)`

Constructor: `SSL4ServerEndpoint(reactor, port, sslContextFactory, backlog, interface)`

Implements interfaces: `twisted.internet.interfaces.IStreamServerEndpoint`

View In Hierarchy

SSL secured TCP server endpoint with an IPv4 configuration.

Method | `__init__` | No summary
Method | `listen` | Implement `IStreamServerEndpoint.listen` to listen for SSL on a TCP socket.
Instance Variable | `_backlog` | Undocumented
Instance Variable | `_interface` | Undocumented
Instance Variable | `_port` | Undocumented
Instance Variable | `_reactor` | Undocumented
Instance Variable | `_sslContextFactory` | Undocumented

def __init__(self, reactor, port, sslContextFactory, backlog=50, interface=''): (source)

Parameters
reactor | An `IReactorSSL` provider.
port:int | The port number used for listening
sslContextFactory | An instance of `interfaces.IOpenSSLContextFactory`.
backlog:int | Size of the listen queue
interface:str | The hostname to bind to, defaults to '' (all)

def listen(self, protocolFactory): (source)
from `twisted.internet.interfaces.IStreamServerEndpoint`

Implement `IStreamServerEndpoint.listen` to listen for SSL on a TCP socket.

_backlog = (source)

Undocumented

_interface = (source)

Undocumented

_port = (source)

Undocumented

_reactor = (source)

Undocumented

_sslContextFactory = (source)

Undocumented