Examples of AzureusCore


Examples of com.aelitis.azureus.core.AzureusCore

              iw.println( "Can't resolve host for route trace - " + e.getMessage());
            }
                       
            iw.println( "Outbound protocols: bound" );
           
            AzureusCore azureus_core = AzureusCoreFactory.getSingleton();
           
            NetworkAdminProtocol[]  protocols = getOutboundProtocols(azureus_core);
           
            for (int i=0;i<protocols.length;i++){
             
View Full Code Here

Examples of com.aelitis.azureus.core.AzureusCore

       * These things should be temporary...
       */
      AzureusCoreImpl.SUPPRESS_CLASSLOADER_ERRORS = true;
      DownloadManagerStateImpl.SUPPRESS_FIXUP_ERRORS = true;

      AzureusCore core = AzureusCoreFactory.create();
      core.start();
      System.out.println("done.");
      System.out.println();
      System.out.println("-----------");

      data = constructVersionCheckMessage(VersionCheckClient.REASON_UPDATE_CHECK_START);
      System.out.println("Sending (post-initialisation):");
      printDataMap(data);
      System.out.println("-----------");

      System.out.println("Receiving (post-initialisation):");
      printDataMap(getSingleton().getVersionCheckInfo(VersionCheckClient.REASON_UPDATE_CHECK_START));
      System.out.println("-----------");
      System.out.println();

      System.out.print("Shutting down core... ");
      core.stop();
      System.out.println("done.");

    }catch( Throwable e){
      e.printStackTrace();
    }
View Full Code Here

Examples of com.aelitis.azureus.core.AzureusCore

 
  private TranscodeManager
  ensureInitialised(
    boolean   partial )
  {
    AzureusCore core =  AzureusCoreFactory.getSingleton();
   
    if ( core.isStarted()){
   
      initWithCore( core );
     
    }else if ( core.isInitThread()){
     
      Debug.out( "This is bad" );
     
      initWithCore( core );
    }
View Full Code Here

Examples of com.aelitis.azureus.core.AzureusCore

  private static void writeTorrentIfExists(TOTorrent torrent) {
    if (!AzureusCoreFactory.isCoreRunning()) {
      return;
    }
    AzureusCore core = AzureusCoreFactory.getSingleton();
    if (core == null || !core.isStarted()) {
      return;
    }

    GlobalManager gm = core.getGlobalManager();
    if (gm == null || gm.getDownloadManager(torrent) == null) {
      return;
    }

    try {
View Full Code Here

Examples of com.aelitis.azureus.core.AzureusCore

        });
      }
    } catch (Exception e) {
    }

    AzureusCore core = AzureusCoreFactory.getSingleton();
    if (!AzureusCoreFactory.isCoreRunning()) {
      if (soWait != null) {
        soWait.setVisible(true);
        //soWait.getControl().getParent().getParent().getParent().layout(true, true);
      }
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.