Exemple #1
0
 def __init__(self):
     """ Main class for the DHT server
     """
     CmdApp.__init__(self)
     self.remote_server = None
     self.dht_table = None
     self.client = MyDHTClient()
     self.ring_lock = threading.RLock()
     self.usage = \
     """
Exemple #2
0
 def __init__(self):
     """ Main class for the DHT server
     """
     CmdApp.__init__(self)
     self.remote_server = None
     self.dht_table = None
     self.client = MyDHTClient()
     self.ring_lock = threading.RLock()
     self.usage = \
     """
Exemple #3
0
 def __init__(self):
     """ A helpful script for starting multiple servers from command line """
     CmdApp.__init__(self)
     self.usage = \
     """
Exemple #4
0
 def __init__(self):
     """ A helpful script for starting multiple servers from command line """
     CmdApp.__init__(self)
     self.usage = \
     """
Exemple #5
0
 def __init__(self,verbose=False,logfile=None):
     """A MyDHT client for interacting with MyDHT servers
     """
     CmdApp.__init__(self,verbose=verbose,logfile=logfile)
     self.usage = \
     """