Part of twisted.internet.iocpreactor.tcp View Source View In Hierarchy
Implements interfaces: twisted.internet.interfaces.IListeningPort
| Method | __init__ | Undocumented |
| Method | __repr__ | Undocumented |
| Method | startListening | Start listening on this port. |
| Method | loseConnection | Stop accepting connections on this port. |
| Method | connectionLost | Cleans up the socket. |
| Method | logPrefix | Returns the name of my class, to prefix log entries with. |
| Method | getHost | Returns an IPv4Address. |
| Method | cbAccept | Undocumented |
| Method | handleAccept | Undocumented |
| Method | doAccept | Undocumented |
| Method | _logConnectionLostMsg | Log message for closing port |
Inherited from _SocketCloser:
| Method | _closeSocket | Undocumented |
Inherited from _LogOwner:
| Method | _getLogPrefix | Determine the log prefix to use for messages related to
applicationObject, which may or may not be an interfaces.ILoggingContext
provider. |
| Raises | CannotListenError | If it cannot listen on this port (e.g., it is a TCP port and it cannot bind to the required port number). |
This will shut down my socket and call self.connectionLost(). It returns a deferred which will fire successfully when the port is actually closed.