class twisted.internet.endpoints._TCPServerEndpoint: (source)
Known subclasses: twisted.internet.endpoints.TCP4ServerEndpoint, twisted.internet.endpoints.TCP6ServerEndpoint
Implements interfaces: twisted.internet.interfaces.IStreamServerEndpoint
A TCP server endpoint interface
Method | __init__ | |
Method | listen | Implement IStreamServerEndpoint.listen to listen on a TCP socket |
Instance Variable | _reactor | Undocumented |
Instance Variable | _port | Undocumented |
Instance Variable | _backlog | Undocumented |
Instance Variable | _interface | Undocumented |
Parameters | reactor | An IReactorTCP provider. |
port | The port number used for listening (type: int) | |
backlog | Size of the listen queue (type: int) | |
interface | The hostname to bind to (type: str) |
Implement IStreamServerEndpoint.listen
to listen on a TCP socket