Example #1
0
 def __init__(self):
     self._sock = socket.connect_unix(_get_path())
     self._packer = struct.Struct("II")
Example #2
0
 def __init__(self, protocol, path=None, logfile=None):
     self._sock = None
     if path is None:
         path = self.PATH
     sock = socket.connect_unix(path)
     super(UnixStreamClient, self).__init__(sock, protocol, logfile)
Example #3
0
 def __init__(self, protocol, path=None, logfile=None):
     self._sock = None
     if path is None:
         path = self.PATH
     sock = socket.connect_unix(path)
     super(UnixStreamClient, self).__init__(sock, protocol, logfile)
Example #4
0
 def __init__(self, path, logfile=None):
     if path is None:
         path = self.PATH
     sock = socket.connect_unix(path)
     super(UnixStreamClient, self).__init__(sock, logfile)
Example #5
0
 def __init__(self):
     self._sock = socket.connect_unix(_get_path())
     self._packer = struct.Struct("II")