public class TimerHandle extends Handle
| Modifier | Constructor and Description |
|---|---|
protected |
TimerHandle(LoopHandle loop) |
| Modifier and Type | Method and Description |
|---|---|
int |
again() |
void |
close() |
long |
getRepeat() |
static long |
now(LoopHandle loop) |
void |
setCloseCallback(TimerCallback callback) |
void |
setRepeat(long repeat) |
void |
setTimerFiredCallback(TimerCallback callback) |
int |
start(long timeout,
long repeat) |
int |
stop() |
protected TimerHandle(LoopHandle loop)
public void setTimerFiredCallback(TimerCallback callback)
public void setCloseCallback(TimerCallback callback)
public static long now(LoopHandle loop)
public int start(long timeout,
long repeat)
public int again()
public long getRepeat()
public void setRepeat(long repeat)
public int stop()
public void close()
Copyright © 2020. All rights reserved.