コード例 #1
0
ファイル: Node.py プロジェクト: clawplach/BitBlinder
 def get_peers(self, infohash, callback):
   log_msg("Sending DHT get peers message", 4, "dht")
   response = _make_callback(callback)
   UTKhashmir.get_peers(self, infohash, response)
コード例 #2
0
 def get_peers(self, infohash, callback):
     log_msg("Sending DHT get peers message", 4, "dht")
     response = _make_callback(callback)
     UTKhashmir.get_peers(self, infohash, response)
コード例 #3
0
ファイル: Node.py プロジェクト: clawplach/BitBlinder
 def get_peers_and_announce(self, infohash, port, callback):
   log_msg("Sending DHT get peers and announce messages", 4, "dht")
   response = _make_callback(callback)
   #UTKhashmir.get_peers_and_announce(self, infohash, port, response)
   UTKhashmir.get_peers(self, infohash, response)
コード例 #4
0
 def get_peers_and_announce(self, infohash, port, callback):
     log_msg("Sending DHT get peers and announce messages", 4, "dht")
     response = _make_callback(callback)
     #UTKhashmir.get_peers_and_announce(self, infohash, port, response)
     UTKhashmir.get_peers(self, infohash, response)