Part of twisted.internet.interfaces View Source View In Hierarchy
Known implementations: twisted.internet.posixbase.PosixReactorBase
Method | connectUNIX | Connect a client protocol to a UNIX socket. |
Method | listenUNIX | Listen on a UNIX socket. |
Parameters | address | a path to a unix socket on the filesystem. |
factory | a twisted.internet.protocol.ClientFactory
instance | |
timeout | number of seconds to wait before assuming the connection has failed. | |
checkPID | if True, check for a pid file to verify that a server is listening. If
address is a Linux abstract namespace path, this must be
False . | |
Returns | An object which provides IConnector . |
Parameters | address | a path to a unix socket on the filesystem. |
factory | a twisted.internet.protocol.Factory
instance. | |
backlog | number of connections to allow in backlog. | |
mode | The mode (not umask) to set on the unix socket. See platform
specific documentation for information about how this might affect
connection attempts. (type: int ) | |
wantPID | if True, create a pidfile for the socket. If address is a
Linux abstract namespace path, this must be False . | |
Returns | An object which provides IListeningPort . |