Added an isRunning() method so that other classes can

check if the server is still running.
cleanup_build_scripts
Paul Speed 9 years ago
parent 17df399f68
commit e832ad5c94
  1. 4
      jme3-examples/src/main/java/jme3test/network/TestChatServer.java

@ -67,6 +67,10 @@ public class TestChatServer {
server.addConnectionListener(new ChatConnectionListener());
}
public boolean isRunning() {
return isRunning;
}
public synchronized void start() {
if( isRunning ) {
return;

Loading…
Cancel
Save