-
i have command line application that have ability to listen to port for incoming updates there is subcommand as method called |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Sorry for the late reply, I missed this. One idea is to simply not return from the public void run() {
Server server = new Server();
server.start();
while (server.isRunning()) {
Thread.sleep(1);
}
} |
Beta Was this translation helpful? Give feedback.
-
thank you for answering, I really appreciate it |
Beta Was this translation helpful? Give feedback.
Sorry for the late reply, I missed this.
One idea is to simply not return from the
run
method after starting the server.