Ejemplo n.º 1
0
 def __init__(self, name, port=4200):
     Source.__init__(self, name)
     self.port = port
     self.sock = None
     self.running = True
Ejemplo n.º 2
0
 def __init__(self, name, endpoint, identity=None, bind=False):
     Source.__init__(self, name)
     self.endpoint = str(endpoint)
     self.identity = str(identity)
     self.bind = bind
     self.running = True
Ejemplo n.º 3
0
 def __init__(self, name, key, command):
     Source.__init__(self, name)
     self.key = key
     self.command = command
     self.running = True
     self.proc = None