@Override public boolean schedule(TimeoutNotifier notifier, int timeout) { notifier.getTimeoutAdmin().schedule(notifier, timeout); notifier.changeState(Scheduled.getInstance()); return true; }
@Override public void close(TimeoutNotifier notifier) { notifier.getTimeoutAdmin().cancel(notifier); notifier.changeState(Closed.getInstance()); }
@Override public boolean cancel(TimeoutNotifier notifier) { notifier.getTimeoutAdmin().cancel(notifier); notifier.changeState(Unscheduled.getInstance()); return true; }
@Override public boolean schedule(TimeoutNotifier notifier, int timeout) { notifier.getTimeoutAdmin().reschedule(notifier, timeout); return true; }
@Override public void close(TimeoutNotifier notifier) { notifier.changeState(Closed.getInstance()); }
@Override public boolean reset(TimeoutNotifier notifier) { notifier.changeState(Unscheduled.getInstance()); return true; }