forked from I2P_Developers/i2p.i2p
* AppManager: Register jetty, console, and SAM with manager
This commit is contained in:
@ -118,6 +118,7 @@ public class JettyStart implements ClientApp {
|
||||
}
|
||||
}
|
||||
changeState(RUNNING);
|
||||
_mgr.register(JettyStart.this);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -605,6 +605,8 @@ public class RouterConsoleRunner implements RouterApp {
|
||||
}
|
||||
}
|
||||
changeState(RUNNING);
|
||||
if (_mgr != null)
|
||||
_mgr.register(this);
|
||||
}
|
||||
} else {
|
||||
System.err.println("ERROR: Router console did not start, not starting webapps");
|
||||
|
@ -484,6 +484,8 @@ public class SAMBridge implements Runnable, ClientApp {
|
||||
public void run() {
|
||||
if (serverSocket == null) return;
|
||||
changeState(RUNNING);
|
||||
if (_mgr != null)
|
||||
_mgr.register(this);
|
||||
try {
|
||||
while (acceptConnections) {
|
||||
SocketChannel s = serverSocket.accept();
|
||||
|
Reference in New Issue
Block a user