class documentation
class TLSServerEndpoint: (source)
Constructor: TLSServerEndpoint(endpoint, connectionCreator, clock)
Implements interfaces: twisted.internet.interfaces.IStreamServerEndpoint
A wrapper IStreamServerEndpoint that can run TLS over an arbitrary other IStreamServerEndpoint (most commonly, TCP).
| Method | __init__ |
No summary |
| Method | listen |
Begin listening with the given factory. |
| Instance Variable | clock |
Undocumented |
| Instance Variable | connection |
Undocumented |
| Instance Variable | endpoint |
Undocumented |
def __init__(self, endpoint:
IStreamServerEndpoint, connectionCreator: SomeConnectionCreator, clock: IReactorTime | None = None):
(source)
¶
| Parameters | |
endpoint:IStreamServerEndpoint | the endpoint to run over. |
connectionSomeConnectionCreator | The object that will construct OpenSSL connections (or Contexts). |
clock:IReactorTime | None | The clock which will be used to schedule buffer flushes. |