# ``twisted`.`internet`.`endpoints`.`UNIXServerEndpoint``

class documentation

`class UNIXServerEndpoint: (source)`

Implements interfaces: `twisted.internet.interfaces.IStreamServerEndpoint`

View In Hierarchy

UnixSocket server endpoint.

Method | `__init__` | No summary
Method | `listen` | Implement `IStreamServerEndpoint.listen` to listen on a UNIX socket.
Instance Variable | `_address` | Undocumented
Instance Variable | `_backlog` | Undocumented
Instance Variable | `_mode` | Undocumented
Instance Variable | `_reactor` | Undocumented
Instance Variable | `_wantPID` | Undocumented

def __init__(self, reactor, address, backlog=50, mode=438, wantPID=0): (source)

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.

def listen(self, protocolFactory): (source)
from `twisted.internet.interfaces.IStreamServerEndpoint`
Implement `IStreamServerEndpoint.listen` to listen on a UNIX socket.
_address = (source)

Undocumented

_backlog = (source)

Undocumented

_mode = (source)

Undocumented

_reactor = (source)

Undocumented

_wantPID = (source)

Undocumented