#NEWLINE# def __init__( self , max_dl_bytes = None , max_ul_bytes = None ) : #NEWLINE# #INDENT# self . max_dl_bytes = max_dl_bytes #NEWLINE# self . max_ul_bytes = max_dl_bytes #NEWLINE# self . dl_bytes_this_interval = 0 #NEWLINE# self . ul_bytes_this_interval = 0 #NEWLINE# self . total_dl_bytes = 0 #NEWLINE# self . total_ul_bytes = 0 #NEWLINE# self . tick_call = None #NEWLINE# self . tick_interval = 0.1 #NEWLINE# self . dl_throttled = False #NEWLINE# self . ul_throttled = False #NEWLINE# self . protocols = [ ]