Event instead, which now implements the method
Event.isPending().@Deprecated public class Timer extends Event
| Constructor and Description |
|---|
Timer()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
double |
expirationTime()
Deprecated.
|
void |
handleCancelEvent(double eventTime)
Deprecated.
|
void |
handleProcessEvent(double eventTime)
Deprecated.
users need to overwrite this method to notice the timeout
|
boolean |
isPending()
Deprecated.
|
void |
reset()
Deprecated.
|
void |
set(double timeVal)
Deprecated.
|
void |
set(double timeVal,
boolean relative)
Deprecated.
|
cancelEvent, posted, processEventpublic boolean isPending()
public void handleProcessEvent(double eventTime)
handleProcessEvent in class Eventpublic void handleCancelEvent(double eventTime)
handleCancelEvent in class Eventpublic void set(double timeVal)
public void set(double timeVal,
boolean relative)
public void reset()
public double expirationTime()