Part of twisted.internet.iocpreactor.tcp View Source View In Hierarchy
Serverside socket-stream connection class.
I am a serverside network connection transport; a socket which came from an accept() on a server.| Method | __init__ | Server(sock, protocol, client, server, sessionno) |
| Method | __repr__ | A string representation of this connection. |
| Method | getHost | Returns an IPv4Address. |
| Method | getPeer | Returns an IPv4Address. |
Inherited from Connection:
| Method | getHandle | Return a system- and reactor-specific handle. |
| Method | dataReceived | Undocumented |
| Method | readFromHandle | Undocumented |
| Method | writeToHandle | Undocumented |
| Method | readConnectionLost | Undocumented |
| Method | connectionLost | Undocumented |
| Method | logPrefix | Return the prefix to log with when I own the logging thread. |
| Method | getTcpNoDelay | Return if TCP_NODELAY is enabled.
|
| Method | setTcpNoDelay | Enable/disable TCP_NODELAY.
|
| Method | getTcpKeepAlive | Return if SO_KEEPALIVE is enabled.
|
| Method | setTcpKeepAlive | Enable/disable SO_KEEPALIVE.
|
| Method | _closeWriteConnection | Undocumented |
Inherited from _SocketCloser (via Connection):
| Method | _closeSocket | Undocumented |
Server(sock, protocol, client, server, sessionno)
Initialize me with a socket, a protocol, a descriptor for my peer (a tuple of host, port describing the other end of the connection), an instance of Port, and a session number.