future = executor.submit(this);
}
public synchronized void stop() throws ExecutionException, InterruptedException
{
if (!running)
future = executor.submit(this);
}
public synchronized void stop() throws ExecutionException, InterruptedException
{
if (!running)