276277278279280281282283284285286
throws DistributedDatabaseException { throwIfNotAvailable(); DHTPluginContact contact = getDHT().importContact( address ); if ( contact == null ){ throw( new DistributedDatabaseException( "import of '" + address + "' failed" )); }
295296297298299300301302303304305
throws DistributedDatabaseException { throwIfNotAvailable(); DHTPluginContact contact = getDHT().importContact( address, version ); if ( contact == null ){ throw( new DistributedDatabaseException( "import of '" + address + "' failed" )); }
677678679680681682683684685686687688689
return( torrent_transfer.read( contact, listener, type, key, timeout )); }else{ DHTPluginContact plugin_contact = contact.getContact(); byte[] data = plugin_contact.read( new DHTPluginProgressListener() { public void reportSize( long size )