public void run() {
try {
while (toRun) {
if (this.onAir == true) {
time += this.countInterval;
countListener.count(time);
} else {
synchronized (this) {
this.wait();
}
}
Thread.sleep(countInterval);
}
} catch (InterruptedException ie) {
stopCount();
}
}