Ejemplo n.º 1
0
 def __init__(self,
              name=None,
              log_level="info",
              prog_env=None,
              verbose=True,
              **kwds):
     global global_int
     Dirobject.__init__(self, **kwds)
     if name:
         self.name = name
     else:
         self.name = type(self).__name__ + str(global_int)
         global_int += 1
     self.process = None
     self.logdata = []
     self.log_level = log_level
     self._prog_env = prog_env
     self.daemon = True
     self.verbose = verbose
     self.pipe = None
     self.pid = None
     self.trigger = None
     self.timeout = None
     self.channels = []
     self.pending_line = None
Ejemplo n.º 2
0
 def __init__(self):
     Dirobject.__init__(self)
     self.create_dirs()
     self.client_type = None
     self.server_type = None
     self.clients = set()
     self.servers = set()
     self.ca_cert = None
     self.ca_key = None
Ejemplo n.º 3
0
 def __init__(self):
     Dirobject.__init__(self)
     self.create_dirs()
     self.client_type = None
     self.server_type = None
     self.clients = set()
     self.servers = set()
     self.ca_cert = None
     self.ca_key = None
Ejemplo n.º 4
0
 def __init__(self, name=None, log_level="info", prog_env=None,
              verbose=True, **kwds):
     global global_int
     Dirobject.__init__(self, **kwds)
     if name:
         self.name = name
     else:
         self.name = type(self).__name__ + str(global_int)
         global_int += 1
     self.process = None
     self.logdata = []
     self.log_level = log_level
     self._prog_env = prog_env
     self.daemon = True
     self.verbose = verbose
     self.pipe = None
     self.pid = None
     self.trigger = None
     self.timeout = None
     self.channels = []
     self.pending_line = None