twisted.internet.unix.Port(_UNIXPort, tcp.Port)
class documentationtwisted.internet.unix
View Source
(View In Hierarchy)
Method | __init__ | Initialize with a numeric port to listen on. |
Method | __repr__ | Undocumented |
Method | startListening | Create and bind my socket, and begin listening on it. |
Method | connectionLost | Cleans up the socket. |
Method | _buildAddr | Undocumented |
Method | _logConnectionLostMsg | Log message for closing socket |
Inherited from _SocketCloser (via Port):
Instance Variable | _shouldShutdown | Set to True if shutdown should be called before
calling close on the underlying socket. (type: bool ) |
Method | _closeSocket | Undocumented |
Inherited from _SocketCloser (via Port):
Instance Variable | _shouldShutdown | Set to True if shutdown should be called before
calling close on the underlying socket. (type: bool ) |
Method | _closeSocket | Undocumented |
Inherited from _SocketCloser (via Port):
Instance Variable | _shouldShutdown | Set to True if shutdown should be called before
calling close on the underlying socket. (type: bool ) |
Method | _closeSocket | Undocumented |
Inherited from _SocketCloser (via Port):
Instance Variable | _shouldShutdown | Set to True if shutdown should be called before
calling close on the underlying socket. (type: bool ) |
Method | _closeSocket | Undocumented |
Inherited from _SocketCloser (via Port):
Instance Variable | _shouldShutdown | Set to True if shutdown should be called before
calling close on the underlying socket. (type: bool ) |
Method | _closeSocket | Undocumented |
Inherited from _SocketCloser (via Port):
Instance Variable | _shouldShutdown | Set to True if shutdown should be called before
calling close on the underlying socket. (type: bool ) |
Method | _closeSocket | Undocumented |
Inherited from _SocketCloser (via Port):
Instance Variable | _shouldShutdown | Set to True if shutdown should be called before
calling close on the underlying socket. (type: bool ) |
Method | _closeSocket | Undocumented |
Initialize with a numeric port to listen on.
Create and bind my socket, and begin listening on it.
This is called on unserialization, and must be called after creating a server to begin listening on the specified port.
Cleans up the socket.