Package com.aelitis.azureus.core.subs

Examples of com.aelitis.azureus.core.subs.SubscriptionManager


       
        byte[] bytes = vf.exportToBytes();
                       
        String url_str = "vuze://?body=" + new String( bytes, Constants.BYTE_ENCODING );
               
        SubscriptionManager sub_man = SubscriptionManagerFactory.getSingleton();
   
        Subscription subs =
          sub_man.createSingletonRSS(
            vf.getName() + ": " + engine.getName() + " (v" + engine.getVersion() + ")",
            new URL( url_str ),
            Integer.MAX_VALUE );
     
        subs.setSubscribed( true );
View Full Code Here


    action.setEnabled(false);
    try {
      if(download != null) {
        byte[] hash = download.getTorrent().getHash();
       
        SubscriptionManager subs_man = SubscriptionManagerFactory.getSingleton();
        if ( useCachedSubs ){
          Subscription[] subs = subs_man.getKnownSubscriptions( hash );
          complete(hash,subs);
        }else{
          lookup = subs_man.lookupAssociations(hash, this);
        }
       
      } else {

      }
View Full Code Here

TOP

Related Classes of com.aelitis.azureus.core.subs.SubscriptionManager

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.