119120121122123124125126127128129
} synchronized (buffer) { if (cmd != null) { buffer.add(new CommandEvent(cmd)); buffer.notify(); } } } }