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

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

Implements interfaces: twisted.internet.interfaces.IStreamClientEndpoint

UnixSocket client endpoint.
Method __init__ No summary
Method connect Implement IStreamClientEndpoint.connect to connect via a UNIX Socket
Instance Variable _path a path to a unix socket on the filesystem. (type: str)
Instance Variable _timeout number of seconds to wait before assuming the connection has failed. (type: int)
Instance Variable _checkPID if True, check for a pid file to verify that a server is listening. (type: bool)
Variable _reactor An IReactorUNIX provider.
_path =
a path to a unix socket on the filesystem. (type: str)
_timeout =
number of seconds to wait before assuming the connection has failed. (type: int)
_checkPID =
if True, check for a pid file to verify that a server is listening. (type: bool)
_reactor =
An IReactorUNIX provider.
def __init__(self, reactor, path, timeout=30, checkPID=0): (source)
ParametersreactorAn IReactorUNIX provider.
pathThe path to the Unix socket file, used when connecting
timeoutnumber of seconds to wait before assuming the connection has failed.
checkPIDif True, check for a pid file to verify that a server is listening.
def connect(self, protocolFactory): (source)
Implement IStreamClientEndpoint.connect to connect via a UNIX Socket
API Documentation for Twisted, generated by pydoctor at 2012-06-04 17:20:01.