Package org.gudy.azureus2.plugins.clientid

Examples of org.gudy.azureus2.plugins.clientid.ClientIDException


  protected void
  showDHTStats(
    ConsoleInput  ci )
  {
    try{
      PluginInterface  def = ci.azureus_core.getPluginManager().getDefaultPluginInterface();
     
      PluginInterface dht_pi =
        def.getPluginManager().getPluginInterfaceByClass(DHTPlugin.class );
     
      if ( dht_pi == null ){
     
        ci.out.println( "\tDHT isn't present" );
       
        return;
      }
     
      DHTPlugin  dht_plugin = (DHTPlugin)dht_pi.getPlugin();
     
      if ( dht_plugin.getStatus() != DHTPlugin.STATUS_RUNNING ){
       
        ci.out.println( "\tDHT isn't running yet (disabled or initialising)" );
       
View Full Code Here


    // Proably need to wait for core to be running to make sure dht plugin is fully avail
    AzureusCoreFactory.addCoreRunningListener(new AzureusCoreRunningListener() {
      public void azureusCoreRunning(AzureusCore core) {
        PluginManager pm = core.getPluginManager();
        connection_manager = PluginInitializer.getDefaultInterface().getConnectionManager();
        PluginInterface dht_pi = pm.getPluginInterfaceByClass(DHTPlugin.class);
        if (dht_pi != null) {
          dhtPlugin = (DHTPlugin) dht_pi.getPlugin();
        }
      }
    });
  }
View Full Code Here

                  }else{
                   
                    torrent.setAdditionalListProperty( "httpseeds", webseeds );
                  }
     
                  PluginInterface pi = AzureusCoreFactory.getSingleton().getPluginManager().getPluginInterfaceByClass(ExternalSeedPlugin.class);
                 
                  if ( pi != null ){
                   
                    ExternalSeedPlugin ext_seed_plugin = (ExternalSeedPlugin)pi.getPlugin();
                   
                    ext_seed_plugin.downloadChanged( PluginCoreUtils.wrap( dms[0] ));
                  }
           
                }catch (Throwable e){
View Full Code Here

  public MainStatusBar() {
    numberFormat = NumberFormat.getInstance();
    // Proably need to wait for core to be running to make sure dht plugin is fully avail
    AzureusCoreFactory.addCoreRunningListener(new AzureusCoreRunningListener() {
      public void azureusCoreRunning(AzureusCore core) {
        PluginManager pm = core.getPluginManager();
        connection_manager = PluginInitializer.getDefaultInterface().getConnectionManager();
        PluginInterface dht_pi = pm.getPluginInterfaceByClass(DHTPlugin.class);
        if (dht_pi != null) {
          dhtPlugin = (DHTPlugin) dht_pi.getPlugin();
        }
      }
    });
View Full Code Here

               
                // scrape operation not performed by 3.4.2
               
                if ( get_in.indexOf( "scrape?" ) != -1 ){
                 
                  throw( new ClientIDException( "Scrape not supported by emulated client"));
                }
                   
                  // fiddle around with the url args
               
                  // remove HTTP/1.1 part
View Full Code Here

               
                // scrape operation not performed by 3.4.2
               
                if ( get_in.indexOf( "scrape?" ) != -1 ){
                 
                  throw( new ClientIDException( "Scrape not supported by emulated client"));
                }
                   
                  // fiddle around with the url args
               
                  // remove HTTP/1.1 part
View Full Code Here

               
                // scrape operation not performed by 3.4.2
               
                if ( get_in.indexOf( "scrape?" ) != -1 ){
                 
                  throw( new ClientIDException( "Scrape not supported by emulated client"));
                }
                   
                  // fiddle around with the url args
               
                  // remove HTTP/1.1 part
View Full Code Here

               
                // scrape operation not performed by 3.4.2
               
                if ( get_in.indexOf( "scrape?" ) != -1 ){
                 
                  throw( new ClientIDException( "Scrape not supported by emulated client"));
                }
                   
                  // fiddle around with the url args
               
                  // remove HTTP/1.1 part
View Full Code Here

               
                // scrape operation not performed by 3.4.2
               
                if ( get_in.indexOf( "scrape?" ) != -1 ){
                 
                  throw( new ClientIDException( "Scrape not supported by emulated client"));
                }
                   
                  // fiddle around with the url args
               
                  // remove HTTP/1.1 part
View Full Code Here

               
                // scrape operation not performed by 3.4.2
               
                if ( get_in.indexOf( "scrape?" ) != -1 ){
                 
                  throw( new ClientIDException( "Scrape not supported by emulated client"));
                }
                   
                  // fiddle around with the url args
               
                  // remove HTTP/1.1 part
View Full Code Here

TOP

Related Classes of org.gudy.azureus2.plugins.clientid.ClientIDException

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.