/** * Start * * @exception Throwable Thrown if an error occurs */ public void start() throws Throwable { if (eis != null) eis.stop(); eis = new EISServer(hostName, port, maxConnections); eis.start(); Thread t = new Thread(eis); t.start(); }
/** * Stop * * @exception Throwable Thrown if an error occurs */ public void stop() throws Throwable { if (eis != null) eis.stop(); eis = null; }