Part of twisted.internet.interfaces View Source View In Hierarchy
Known implementations: twisted.internet.iocpreactor.tcp.Connection
Once TLS mode is started the transport will implement ISSLTransport.
| Method | startTLS | Initiate TLS negotiation. | 
Inherited from ITCPTransport:
| Method | loseWriteConnection | Half-close the write side of a TCP connection. | 
| Method | abortConnection | Close the connection abruptly. | 
| Method | getTcpNoDelay | Return if TCP_NODELAYis enabled. | 
| Method | setTcpNoDelay | Enable/disable TCP_NODELAY. | 
| Method | getTcpKeepAlive | Return if SO_KEEPALIVEis enabled. | 
| Method | setTcpKeepAlive | Enable/disable SO_KEEPALIVE. | 
| Method | getHost | Returns IPv4AddressorIPv6Address. | 
| Method | getPeer | Returns IPv4AddressorIPv6Address. | 
Inherited from ITransport (via ITCPTransport):
| Method | write | Write some data to the physical connection, in sequence, in a non-blocking fashion. | 
| Method | writeSequence | Write a list of strings to the physical connection. | 
| Method | loseConnection | Close my connection, after writing all pending data. | 
| Parameters | contextFactory | An object which creates appropriately configured TLS connections. For clients, use  IOpenSSLClientConnectionCreatororIOpenSSLServerConnectionCreator,
depending on whether thisITLSTransportis a server or not.  If the appropriate interface is not provided by the 
value given forcontextFactory, it must be an old-styletwisted.internet.ssl.ContextFactoryor similar.) |