def __init__(self,
              buffer_size=32,
              max_chunk_loss=16,
              number_of_rounds=100,
              speed=4000,
              name="Splitter_DBS_simulator"):
     Splitter_DBS.__init__(self,
                           buffer_size=buffer_size,
                           max_chunk_loss=max_chunk_loss,
                           name="Splitter_DBS_simulator")
     self.number_of_rounds = number_of_rounds
     self.speed = speed
     self.cpu_usage = 50
     self.current_round = 0
     self.packet_format()
     self.lg.debug("{name}: initialized")
     colorama.init()
Example #2
0
 def __init__(self):
     Splitter_DBS.__init__(self)
     sys.stdout.write(Color.yellow)
     print("Using FNS")
     sys.stdout.write(Color.none)
Example #3
0
 def __init__(self):
     Splitter_DBS.__init__(self)
     sys.stdout.write(Color.yellow)
     print("Using FNS")
     sys.stdout.write(Color.none)