TaskScheduler
class SchedulerPreconnect extends SchedulerImpl
Scheduler used for locally created connections where we have not yet sent the initial SYN packet.
connecting
- after sending a packet_context, _log
Constructor | Description |
---|---|
SchedulerPreconnect(I2PAppContext ctx) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
accept(Connection con) |
Determine whether this scheduler is fit to operate against the
given connection
|
void |
eventOccurred(Connection con) |
An event has occurred (timeout, message sent, or message received),
so schedule what to do next based on our current state.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
reschedule, toString
public SchedulerPreconnect(I2PAppContext ctx)
public boolean accept(Connection con)
TaskScheduler
public void eventOccurred(Connection con)
TaskScheduler