t.i.e.UNIXServerEndpoint(object) : class documentation

Part of twisted.internet.endpoints View Source View In Hierarchy

Implements interfaces: twisted.internet.interfaces.IStreamServerEndpoint

UnixSocket server endpoint.
Instance Variablespatha path to a unix socket on the filesystem. (type: str )
_listenArgsA dict of keyword args that will be passed to IReactorUNIX.listenUNIX (type: dict )
Variables_reactorAn IReactorTCP provider.
Method __init__ No summary
Method listen Implement IStreamServerEndpoint.listen to listen on a UNIX socket.
def __init__(self, reactor, address, backlog=50, mode=438, wantPID=0): (source)
ParametersreactorAn IReactorUNIX provider.
addressThe path to the Unix socket file, used when listening
listenArgsAn optional dict of keyword args that will be passed to IReactorUNIX.listenUNIX
backlognumber of connections to allow in backlog.
modemode to set on the unix socket. This parameter is deprecated. Permissions should be set on the directory which contains the UNIX socket.
wantPIDif True, create a pidfile for the socket.
def listen(self, protocolFactory): (source)
Implement IStreamServerEndpoint.listen to listen on a UNIX socket.
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:27:37.