jTracer  1.03
Stack trace visualization tool
void org.libcsdbg.jtracer.MainFrame.stopService ( )

Stop the server.

Definition at line 159 of file MainFrame.java.

References org.libcsdbg.jtracer.MainFrame.server, and org.libcsdbg.jtracer.MainFrame.shutdown().

Referenced by org.libcsdbg.jtracer.MainFrame.actionPerformed().

160  {
161  if (server == null)
162  return;
163 
164  log.appendln("Stopping server...", "status");
165  Thread thr = server;
166  shutdown();
167 
168  try {
169  if (thr.isAlive())
170  thr.join();
171  }
172 
173  catch (Throwable t) {
174  Registry.debug(t);
175  }
176 
177  log.appendln("Service stopped. All incoming connections dropped", "status");
178  }
Thread server
Server thread.
Definition: MainFrame.java:79
void shutdown()
Close the listening server socket and shutdown the server.
Definition: MainFrame.java:184

+ Here is the call graph for this function:

+ Here is the caller graph for this function: