Implements interfaces: twisted.internet.interfaces.ISSLTransport
Undocumented
Method | abort |
Close the connection abruptly. |
Method | get |
Return an object with the peer's certificate info. |
Method | get |
Return if SO_KEEPALIVE is enabled. |
Method | get |
Return if TCP_NODELAY is enabled. |
Method | lose |
Half-close the write side of a TCP connection. |
Method | set |
Enable/disable SO_KEEPALIVE. |
Method | set |
Enable/disable TCP_NODELAY. |
Inherited from TCP
:
Method | __init__ |
Undocumented |
Method | get |
Undocumented |
Method | get |
Undocumented |
Method | lose |
Undocumented |
Method | register |
Undocumented |
Method | unregister |
Undocumented |
Method | write |
Undocumented |
Method | write |
Undocumented |
Class Variable | port |
Undocumented |
Instance Variable | disconnected |
Undocumented |
Instance Variable | producers |
Undocumented |
Instance Variable | written |
Undocumented |
Instance Variable | _peer |
Undocumented |
Close the connection abruptly.
Discards any buffered data, stops any registered producer, and, if possible, notifies the other end of the unclean closure.
Present Since | |
11.1 |
Half-close the write side of a TCP connection.
If the protocol instance this is attached to provides IHalfCloseableProtocol, it will get notified when the operation is done. When closing write connection, as with loseConnection this will only happen when buffer has emptied and there is no registered producer.
Enable/disable SO_KEEPALIVE.
Enabling SO_KEEPALIVE sends packets periodically when the connection is otherwise idle, usually once every two hours. They are intended to allow detection of lost peers in a non-infinite amount of time.