Module Import alias ImportFrom alias alias alias Import alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Return Call AttributeLoad NameLoad attr NameLoad orelse Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad FunctionDef arguments args defaults body If Call NameLoad AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Num NameLoad orelse AugAssignSub AttributeStore NameLoad attr Num decorator_list For NameStore Call NameLoad AttributeLoad NameLoad attr Num body AugAssignAdd AttributeStore NameLoad attr Num Expr Call NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BinOpMult Num Num decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list
N/A N/A binascii twisted.internet defer task reactor N/A collections DHTHashAnnouncer N/A object N/A N/A This class announces to the DHT that this peer has certain blobs __init__ N/A N/A self dht_node peer_port N/A N/A N/A N/A self dht_node dht_node N/A N/A self peer_port peer_port N/A N/A self suppliers N/A N/A N/A self next_manage_call None N/A N/A self hash_queue N/A N/A collections deque N/A N/A self _concurrent_announcers 0 N/A run_manage_loop N/A N/A self N/A N/A twisted.internet reactor N/A N/A N/A self peer_port None N/A N/A N/A N/A self _announce_available_hashes N/A N/A self next_manage_call N/A N/A reactor callLater 60 N/A self run_manage_loop N/A stop N/A N/A self N/A N/A N/A N/A N/A self next_manage_call None N/A N/A N/A N/A N/A self next_manage_call cancel N/A N/A self next_manage_call None N/A add_supplier N/A N/A self supplier N/A N/A N/A N/A N/A N/A self suppliers append supplier N/A immediate_announce N/A N/A self blob_hashes N/A N/A N/A N/A N/A self peer_port None N/A N/A N/A N/A self _announce_hashes blob_hashes N/A N/A N/A N/A defer succeed False N/A _announce_available_hashes N/A N/A self N/A N/A N/A ds N/A N/A supplier N/A self suppliers N/A N/A d N/A N/A supplier hashes_to_announce N/A N/A N/A d addCallback N/A self _announce_hashes N/A N/A N/A ds append d N/A dl N/A N/A defer DeferredList ds N/A dl N/A _announce_hashes N/A N/A self hashes N/A N/A N/A ds N/A N/A h hashes N/A N/A announce_deferred N/A N/A defer Deferred N/A N/A N/A ds append announce_deferred N/A N/A N/A N/A self hash_queue append N/A h announce_deferred announce N/A N/A N/A N/A N/A N/A len N/A self hash_queue N/A N/A N/A h announce_deferred N/A N/A N/A self hash_queue popleft N/A d N/A N/A N/A self dht_node announceHaveBlob N/A N/A binascii unhexlify h N/A self peer_port N/A N/A N/A d chainDeferred announce_deferred N/A N/A N/A d addBoth N/A N/A N/A _ N/A N/A N/A reactor callLater 0 announce N/A N/A N/A self _concurrent_announcers 1 N/A N/A i N/A range N/A self _concurrent_announcers 5 N/A N/A N/A self _concurrent_announcers 1 N/A N/A announce N/A N/A N/A defer DeferredList ds N/A N/A DHTHashSupplier N/A object N/A N/A Classes derived from this class give hashes to a hash announcer __init__ N/A N/A self announcer N/A N/A N/A N/A announcer None N/A N/A N/A N/A announcer add_supplier self N/A N/A self hash_announcer announcer N/A N/A self hash_reannounce_time N/A 60 60 N/A hashes_to_announce N/A N/A self N/A N/A N/A N/A N/A