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)SchedulerPreconnect. |
| Modifier and Type | Method and Description |
|---|---|
boolean | accept(Connection con)Accept locally created connections that haven't sent any packets yet. |
void | eventOccurred(Connection con)Handle an event on a preconnect connection. |
reschedule, toStringpublic SchedulerPreconnect(I2PAppContext ctx)
public boolean accept(Connection con)
con - the connection to checkpublic void eventOccurred(Connection con)
con - the connection that had an event