twisted.internet.endpoints.UNIXServerEndpoint(object) class documentationtwisted.internet.endpoints
View Source
(View In Hierarchy)
Implements interfaces: twisted.internet.interfaces.IStreamServerEndpoint
UnixSocket server endpoint.
| Method | __init__ | No summary |
| Method | listen | Implement IStreamServerEndpoint.listen
to listen on a UNIX socket. |
| Parameters | reactor | An IReactorUNIX
provider. |
| address | The path to the Unix socket file, used when listening | |
| backlog | number of connections to allow in backlog. | |
| mode | mode to set on the unix socket. This parameter is deprecated. Permissions should be set on the directory which contains the UNIX socket. | |
| wantPID | If True, create a pidfile for the socket. |
Implement IStreamServerEndpoint.listen
to listen on a UNIX socket.