com.limegroup.gnutella.browser
Class ExternalControl
java.lang.Object
com.limegroup.gnutella.browser.ExternalControl
- public class ExternalControl
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExternalControl
public ExternalControl()
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.