Package net.i2p.router
Class MultiRouter
java.lang.Object
net.i2p.router.MultiRouter
public class MultiRouter extends Object
Fire up multiple routers in the same VM, all with their own RouterContext
(and all that entails). In addition, this creates a root I2PAppContext for
any objects not booted through one of the RouterContexts. Each of these
contexts are configured through a simple properties file (where the name=value
contained in them are used for the context's getProperty(name)).
Usage:
MultiRouter numberRoutersEach routerContext specified is used to boot up a single router. It is HIGHLY recommended that those context files contain a few base env properties:
- loggerFilenameOverride=rN/logs/log-router-#.txt
- router.configLocation=rN/router.config
- i2p.vmCommSystem=true
-
Constructor Summary
Constructors Constructor Description MultiRouter()
-
Method Summary
-
Constructor Details
-
MultiRouter
public MultiRouter()
-
-
Method Details