forked from I2P_Developers/i2p.i2p
make runRouter() public
This commit is contained in:
@ -399,10 +399,12 @@ public class Router implements RouterClock.ClockShiftListener {
|
|||||||
public RouterContext getContext() { return _context; }
|
public RouterContext getContext() { return _context; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initializes the RouterContext.
|
* This must be called after instantiation.
|
||||||
* Starts the threads. Does not install updates.
|
* Starts the threads. Does not install updates.
|
||||||
|
* Most users will just call main() instead.
|
||||||
|
* @since public as of 0.9 for Android and other embedded uses
|
||||||
*/
|
*/
|
||||||
void runRouter() {
|
public void runRouter() {
|
||||||
if (_isAlive)
|
if (_isAlive)
|
||||||
throw new IllegalStateException();
|
throw new IllegalStateException();
|
||||||
startupStuff();
|
startupStuff();
|
||||||
|
Reference in New Issue
Block a user