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 Variable path a path to a unix socket on the filesystem. (type: str)
Method __init__ No summary
Method listen Implement IStreamServerEndpoint.listen to listen on a UNIX socket.
Instance Variable _listenArgs A dict of keyword args that will be passed to IReactorUNIX.listenUNIX (type: dict)
Variable _reactor An IReactorTCP provider.
path =
a path to a unix socket on the filesystem. (type: str)
_listenArgs =
A dict of keyword args that will be passed to IReactorUNIX.listenUNIX (type: dict)
_reactor =
An IReactorTCP provider.
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 2012-06-04 17:20:01.