public class RouterManager extends Object
Constructor and Description |
---|
RouterManager() |
Modifier and Type | Method and Description |
---|---|
static void |
cancelShutdown(RouterContext ctx)
Cancel a graceful shutdown or restart
|
static long |
getShutdownTimeRemaining(RouterContext ctx)
Get time until shutdown
|
static String |
getStatus(RouterContext ctx)
Get network status, untranslated
|
static boolean |
isShutdownInProgress(RouterContext ctx)
Is a graceful shutdown or restart in progress?
|
static void |
restart(RouterContext ctx)
Restart the running I2P instance.
|
static void |
restartGracefully(RouterContext ctx)
Restart the running I2P instance.
|
static void |
shutDown(RouterContext ctx)
Stop the running I2P instance.
|
static void |
shutDownGracefully(RouterContext ctx)
Stop the running I2P instance.
|
static void |
start()
Start an I2P router instance.
|
public static void start()
public static void restart(RouterContext ctx)
public static void shutDown(RouterContext ctx)
public static void restartGracefully(RouterContext ctx)
public static void shutDownGracefully(RouterContext ctx)
public static void cancelShutdown(RouterContext ctx)
public static boolean isShutdownInProgress(RouterContext ctx)
public static long getShutdownTimeRemaining(RouterContext ctx)
public static String getStatus(RouterContext ctx)