/** Release the underlying ServerMonitor thread, and drop the connections to all connected remote servers. */ public void cleanUp() { // stop the monitor thread LogLog.debug("stopping ServerSocket"); serverMonitor.stopMonitor(); serverMonitor = null; // close all of the connections LogLog.debug("closing client connections"); while (oosList.size() != 0) { ObjectOutputStream oos = (ObjectOutputStream)oosList.elementAt(0); if(oos != null) { try { oos.close(); } catch(InterruptedIOException e) { Thread.currentThread().interrupt(); LogLog.error("could not close oos.", e); } catch(IOException e) { LogLog.error("could not close oos.", e); } oosList.removeElementAt(0); } } }
/** Release the underlying ServerMonitor thread, and drop the connections to all connected remote servers. */ public void cleanUp() { // stop the monitor thread LogLog.debug("stopping ServerSocket"); serverMonitor.stopMonitor(); serverMonitor = null; // close all of the connections LogLog.debug("closing client connections"); while (oosList.size() != 0) { ObjectOutputStream oos = (ObjectOutputStream)oosList.elementAt(0); if(oos != null) { try { oos.close(); } catch(InterruptedIOException e) { Thread.currentThread().interrupt(); LogLog.error("could not close oos.", e); } catch(IOException e) { LogLog.error("could not close oos.", e); } oosList.removeElementAt(0); } } }
/** Release the underlying ServerMonitor thread, and drop the connections to all connected remote servers. */ public void cleanUp() { // stop the monitor thread LogLog.debug("stopping ServerSocket"); serverMonitor.stopMonitor(); serverMonitor = null; // close all of the connections LogLog.debug("closing client connections"); while (oosList.size() != 0) { ObjectOutputStream oos = (ObjectOutputStream)oosList.elementAt(0); if(oos != null) { try { oos.close(); } catch(InterruptedIOException e) { Thread.currentThread().interrupt(); LogLog.error("could not close oos.", e); } catch(IOException e) { LogLog.error("could not close oos.", e); } oosList.removeElementAt(0); } } }
/** Release the underlying ServerMonitor thread, and drop the connections to all connected remote servers. */ public void cleanUp() { // stop the monitor thread LogLog.debug("stopping ServerSocket"); serverMonitor.stopMonitor(); serverMonitor = null; // close all of the connections LogLog.debug("closing client connections"); while (oosList.size() != 0) { ObjectOutputStream oos = (ObjectOutputStream)oosList.elementAt(0); if(oos != null) { try { oos.close(); } catch(IOException e) { LogLog.error("could not close oos.", e); } oosList.removeElementAt(0); } } }
/** Release the underlying ServerMonitor thread, and drop the connections to all connected remote servers. */ public void cleanUp() { // stop the monitor thread LogLog.debug("stopping ServerSocket"); serverMonitor.stopMonitor(); serverMonitor = null; // close all of the connections LogLog.debug("closing client connections"); while (oosList.size() != 0) { ObjectOutputStream oos = (ObjectOutputStream)oosList.elementAt(0); if(oos != null) { try { oos.close(); } catch(InterruptedIOException e) { Thread.currentThread().interrupt(); LogLog.error("could not close oos.", e); } catch(IOException e) { LogLog.error("could not close oos.", e); } oosList.removeElementAt(0); } } }
/** Release the underlying ServerMonitor thread, and drop the connections to all connected remote servers. */ public void cleanUp() { // stop the monitor thread LogLog.debug("stopping ServerSocket"); serverMonitor.stopMonitor(); serverMonitor = null; // close all of the connections LogLog.debug("closing client connections"); while (oosList.size() != 0) { ObjectOutputStream oos = (ObjectOutputStream)oosList.elementAt(0); if(oos != null) { try { oos.close(); } catch(InterruptedIOException e) { Thread.currentThread().interrupt(); LogLog.error("could not close oos.", e); } catch(IOException e) { LogLog.error("could not close oos.", e); } oosList.removeElementAt(0); } } }
/** Release the underlying ServerMonitor thread, and drop the connections to all connected remote servers. */ public void cleanUp() { // stop the monitor thread LogLog.debug("stopping ServerSocket"); serverMonitor.stopMonitor(); serverMonitor = null; // close all of the connections LogLog.debug("closing client connections"); while (oosList.size() != 0) { ObjectOutputStream oos = (ObjectOutputStream)oosList.elementAt(0); if(oos != null) { try { oos.close(); } catch(IOException e) { LogLog.error("could not close oos.", e); } oosList.removeElementAt(0); } } }
/** Release the underlying ServerMonitor thread, and drop the connections to all connected remote servers. */ public void cleanUp() { // stop the monitor thread LogLog.debug("stopping ServerSocket"); serverMonitor.stopMonitor(); serverMonitor = null; // close all of the connections LogLog.debug("closing client connections"); while (oosList.size() != 0) { ObjectOutputStream oos = (ObjectOutputStream)oosList.elementAt(0); if(oos != null) { try { oos.close(); } catch(IOException e) { LogLog.error("could not close oos.", e); } oosList.removeElementAt(0); } } }
/** Start the ServerMonitor thread. */ private void startServer() { serverMonitor = new ServerMonitor(port, oosList); }
/** Start the ServerMonitor thread. */ private void startServer() { serverMonitor = new ServerMonitor(port, oosList); }
/** Start the ServerMonitor thread. */ private void startServer() { serverMonitor = new ServerMonitor(port, oosList); }
/** Start the ServerMonitor thread. */ private void startServer() { serverMonitor = new ServerMonitor(port, oosList); }
/** Start the ServerMonitor thread. */ private void startServer() { serverMonitor = new ServerMonitor(port, oosList); }
/** Start the ServerMonitor thread. */ private void startServer() { serverMonitor = new ServerMonitor(port, oosList); }
/** Start the ServerMonitor thread. */ private void startServer() { serverMonitor = new ServerMonitor(port, oosList); }