delete that stupid 'interactive' mode where we dump things to stdout on command

(hello, we have an admin console now, duh)
formatting touchups.
This commit is contained in:
jrandom
2004-04-20 07:06:39 +00:00
committed by zzz
parent 3c762c9a02
commit bed7d09764

View File

@ -371,22 +371,6 @@ public class Router {
public static void main(String args[]) {
Router.getInstance().runRouter();
if (args.length > 0) {
_log.info("Not interactive");
} else {
_log.info("Interactive");
try {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String line = null;
while ( (line = in.readLine()) != null) {
ClientMessagePool.getInstance().dumpPoolInfo();
OutNetMessagePool.getInstance().dumpPoolInfo();
InNetMessagePool.getInstance().dumpPoolInfo();
}
} catch (IOException ioe) {
_log.error("Error dumping queue", ioe);
}
}
}
private class ShutdownHook extends Thread {