|
Valescom Java API | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Object
|
+--com.valescom.support.event.java.EventHandler
|
+--com.valescom.support.timer.java.Timer
OneShotTimer and
PeriodicTimer.

| Constructor Summary | |
|---|---|
protected |
Timer(int anInterval)
|
| Method Summary | |
|---|---|
long |
delay()
Before an EventHandler is handled by the EventDispatcher, the delay is set. |
int |
interval()
|
void |
interval(int anInterval)
|
boolean |
isStarted()
Indicates whether this EventHandler is started or not. |
protected void |
register()
|
void |
restart()
|
void |
start()
Start this EventHandler if it has not already been started. |
void |
stop()
Stop this EventHandler if it has not already been stopped. |
Subscription |
subscription()
Returns the subscription for which this is a EventHandler. |
protected void |
timeout()
|
protected void |
unregister()
|
| Methods inherited from class com.valescom.support.event.java.EventHandler |
|---|
handle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected Timer(int anInterval)
| Method Detail |
public final void restart()
public final int interval()
public final void interval(int anInterval)
public final boolean isStarted()
EventHandler
isStarted in class EventHandlerpublic final void start()
EventHandler
start in class EventHandlerpublic final void stop()
EventHandler
stop in class EventHandlerpublic final long delay()
EventHandler
delay in class EventHandlerpublic final Subscription subscription()
EventHandler
subscription in class EventHandlerprotected void timeout()
protected final void register()
protected final void unregister()
|
Valescom Java API | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||