Examples of DHTDBLookupResult


Examples of com.aelitis.azureus.core.dht.db.DHTDBLookupResult

  {
    if ( DHTLog.isOn()){
      DHTLog.log( "findValueRequest from " + DHTLog.getString( originating_contact.getID()));
    }
   
    DHTDBLookupResult  result  = database.get( originating_contact, new HashWrapper( key ), max_values, flags, true );
         
    if ( result != null ){
     
      router.contactAlive( originating_contact.getID(), new DHTControlContactImpl(originating_contact));

      DHTStorageBlock  block_details = database.getKeyBlockDetails( key );
     
      if ( block_details == null ){
     
        return( new DHTTransportFindValueReplyImpl( result.getDiversificationType(), result.getValues()));
     
      }else{
       
        return( new DHTTransportFindValueReplyImpl( block_details.getRequest(), block_details.getCertificate()));
View Full Code Here

Examples of com.aelitis.azureus.core.dht.db.DHTDBLookupResult

      if ( database.isKeyBlocked( encoded_key )){
       
        continue;
      }
     
      DHTDBLookupResult  result = database.get( null, key, 0, (byte)0, false );
     
      if ( result == null  ){
       
          // deleted in the meantime
       
        continue;
      }
     
        // even if a result has been diversified we continue to maintain the base value set
        // until the original publisher picks up the diversification (next publish period) and
        // publishes to the correct place
     
      DHTDBValue[]  values = result.getValues();
     
      if ( values.length == 0 ){
       
        continue;
      }     
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.