Package org.gudy.azureus2.pluginsimpl.local.disk

Examples of org.gudy.azureus2.pluginsimpl.local.disk.DiskManagerFileInfoImpl


   *
   * @since 3.0.0.7
   */
  private boolean nextUpdate() {
    if (iterDownloaders.hasNext()) {
      ResourceDownloader downloader = (ResourceDownloader) iterDownloaders.next();
      downloader.addListener(this);
      downloader.asyncDownload();
      return true;
    }
    return false;
  }
View Full Code Here


              }
             
              setProgress( 0 );
             
              downloader.addListener(
                new ResourceDownloaderAdapter()
                {
                  public void
                  reportPercentComplete(
                    ResourceDownloader  downloader,
                    int          percentage )
View Full Code Here

    if ( info == null ){
     
      return( null );
    }
   
    return( new DiskManagerFileInfoImpl( DownloadManagerImpl.getDownloadStatic( info.getDownloadManager()), info ));
  }
View Full Code Here

    if (coreDataSource instanceof DiskManagerFileInfo) {
      DiskManagerFileInfo fileInfo = (DiskManagerFileInfo) coreDataSource;
      if (fileInfo != null) {
        try {
          pluginDataSource = new DiskManagerFileInfoImpl(
              DownloadManagerImpl.getDownloadStatic(fileInfo.getDownloadManager()),
              fileInfo);
        } catch (DownloadException e) { /* Ignore */
        }
      }
 
View Full Code Here

    }
    if (index < 0 || index >= info.length) {
      return null;
    }

    return new DiskManagerFileInfoImpl(this, info[index]);
  }
View Full Code Here

   
    DiskManagerFileInfo[]  res = new DiskManagerFileInfo[info.length];
   
    for (int i=0;i<res.length;i++){
     
      res[i] = new DiskManagerFileInfoImpl( this, info[i] );
    }
   
    return( res );
  }
View Full Code Here

    props         = new propertyWrapper(_props );
    pluginDir       = _pluginDir;
    config         = new PluginConfigImpl(this,pluginConfigKey);
    given_plugin_id      = _plugin_id;
    plugin_version    = _plugin_version;
    ipc_interface      = new IPCInterfaceImpl( initialiser, plugin );
    state                 = new PluginStateImpl(this, initialiser);
   
    boolean verified   = false;
    boolean bad    = false;
   
View Full Code Here

  }
 
  public IPFilter
  getIPFilter()
  {
    return( new IPFilterImpl());
  }
View Full Code Here

 
  public Logger getLogger()
  {
    if ( logger == null ){
     
      logger = new LoggerImpl( this );
    }
   
    return( logger );
  }
View Full Code Here

    else {
      plug_msg = new MessageAdapter( message )//core created
    }
   
    RawMessage raw_plug = plug_encoder.encodeMessage( plug_msg );
    return new com.aelitis.azureus.core.networkmanager.RawMessage[]{ new RawMessageAdapter( raw_plug )};
  }
View Full Code Here

TOP

Related Classes of org.gudy.azureus2.pluginsimpl.local.disk.DiskManagerFileInfoImpl

Copyright © 2018 www.massapicom. 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.