I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 5ea2832a authored by zzz's avatar zzz
Browse files

* AppManager: Register jetty, console, and SAM with manager

parent 5cb449ef
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment