Example #1
0
 @Override
 public void dispose() {
   if (server != null) {
     server.stop();
     server = null;
   }
 }
Example #2
0
 @Override
 public void create() {
   server = new RemoteServer();
   server.listeners.add(this);
   server.start();
 }