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 and Description |
---|
SchedulerPreconnect(I2PAppContext ctx) |
Modifier and Type | Method and 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.
|
reschedule, toString
public SchedulerPreconnect(I2PAppContext ctx)
public boolean accept(Connection con)
TaskScheduler
public void eventOccurred(Connection con)
TaskScheduler