class SchedulerConnectedBulk extends SchedulerImpl
Scheduler used for after our SYN has been sent and ACKed but one (or more) sides haven't closed the stream yet. In addition, the stream must be using the BULK profile, rather than the INTERACTIVE profile.
_context, _log| Constructor and Description |
|---|
SchedulerConnectedBulk(I2PAppContext ctx)SchedulerConnectedBulk. |
| Modifier and Type | Method and Description |
|---|---|
boolean | accept(Connection con)Accept connections that are established, using the bulk profile,
and not yet closing. |
void | eventOccurred(Connection con)Handle an event on a connected bulk connection. |
reschedule, toStringpublic SchedulerConnectedBulk(I2PAppContext ctx)
public boolean accept(Connection con)
con - the connection to checkpublic void eventOccurred(Connection con)
con - the connection that had an event