mirror of
https://github.com/i2p/i2p.i2p.git
synced 2024-12-06 19:27:00 +01:00
495558a949
To use the application, you need to (by default) add the following to clients.config : # desktopgui clientApp.6.args= clientApp.6.delay=5 clientApp.6.main=desktopgui.Main clientApp.6.name=desktopgui clientApp.6.startOnLoad=true
14 lines
236 B
Java
14 lines
236 B
Java
package router;
|
|
|
|
import net.i2p.router.RouterContext;
|
|
|
|
/**
|
|
*
|
|
* @author mathias
|
|
*/
|
|
public class RouterHelper {
|
|
public static RouterContext getContext() {
|
|
return (RouterContext) RouterContext.listContexts().get(0);
|
|
}
|
|
}
|