mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-22 17:32:28 +00:00
make runRouter() public
This commit is contained in:
1 parent
444ba47463
commit
3da6ccfbbe
1 file changed
+4
-2
@@ -399,10 +399,12 @@ public class Router implements RouterClock.ClockShiftListener {
|
||||
public RouterContext getContext() { return _context; }
|
||||
|
||||
/**
|
||||
* Initializes the RouterContext.
|
||||
* This must be called after instantiation.
|
||||
* 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)
|
||||
throw new IllegalStateException();
|
||||
startupStuff();
|
||||
|
||||
Reference in new issue
Block a user