com.limegroup.gnutella.browser
Class ExternalControl

java.lang.Object
  extended bycom.limegroup.gnutella.browser.ExternalControl

public class ExternalControl
extends java.lang.Object


Constructor Summary
ExternalControl()
           
 
Method Summary
static void checkForActiveLimeWire()
          Uses the magnet infrastructure to check if LimeWire is running.
static void checkForActiveLimeWire(java.lang.String arg)
           
static void enqueueMagnetRequest(java.lang.String arg)
           
static void fireMagnet(java.net.Socket socket)
          Handle a Magnet request via a socket (for TCP handling).
static void handleMagnetRequest(java.lang.String arg)
           
static boolean isInitialized()
           
static java.lang.String preprocessArgs(java.lang.String[] args)
           
static void runQueuedMagnetRequest()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalControl

public ExternalControl()
Method Detail

preprocessArgs

public static java.lang.String preprocessArgs(java.lang.String[] args)

checkForActiveLimeWire

public static void checkForActiveLimeWire()
Uses the magnet infrastructure to check if LimeWire is running. If it is, it is restored and this instance exits. Note that the already-running LimeWire is not checked for 'allow multiple instances' -- only the instance that was just started.


checkForActiveLimeWire

public static void checkForActiveLimeWire(java.lang.String arg)

isInitialized

public static boolean isInitialized()

enqueueMagnetRequest

public static void enqueueMagnetRequest(java.lang.String arg)

runQueuedMagnetRequest

public static void runQueuedMagnetRequest()

handleMagnetRequest

public static void handleMagnetRequest(java.lang.String arg)

fireMagnet

public static void fireMagnet(java.net.Socket socket)
Handle a Magnet request via a socket (for TCP handling). Deiconify the application, fire MAGNET request and return true as a sign that LimeWire is running.