Package com.aelitis.azureus.plugins.magnet

Examples of com.aelitis.azureus.plugins.magnet.MagnetPlugin.addListener()


        if (component instanceof PluginInterface) {
          PluginInterface pi = (PluginInterface) component;
          if (pi.getPlugin() instanceof MagnetPlugin) {

            MagnetPlugin magnetPlugin = (MagnetPlugin) pi.getPlugin();
            magnetPlugin.addListener(new MagnetPluginListener() {
              public boolean set(String name, Map values) {
                if (name.equals("AZMSG") && values != null) {
                  String val = (String) values.get("value");
                  if (val.indexOf(";switch-ui;") > 0) {
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.