abstract class SchedulerImpl extends Object implements TaskScheduler
| Modifier and Type | Field and Description |
|---|---|
protected I2PAppContext | _context_context. |
protected Log | _log_log. |
| Constructor and Description |
|---|
SchedulerImpl(I2PAppContext ctx)Create a new scheduler with the given context. |
| Modifier and Type | Method and Description |
|---|---|
protected void | reschedule(long msToWait,
Connection con)Schedule a connection event to occur after the specified delay. |
String | toString()toString. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaccept, eventOccurredprotected final I2PAppContext _context
protected final Log _log
public SchedulerImpl(I2PAppContext ctx)
ctx - the application contextprotected void reschedule(long msToWait,
Connection con)msToWait - the delay in millisecondscon - the connection to reschedule