net.i2p.client.streaming
class SchedulerClosing extends SchedulerImpl
Scheduler used for after both SYNs have been ACKed and both sides have closed the stream, but either we haven't ACKed their close or they haven't ACKed ours.
closed
- after both sending and receiving ACKs on the CLOSEdead
- after sending or receiving a RESET_context
Constructor and Description |
---|
SchedulerClosing(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
public SchedulerClosing(I2PAppContext ctx)
public boolean accept(Connection con)
TaskScheduler
public void eventOccurred(Connection con)
TaskScheduler