public interface TaskScheduler
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.
|
void eventOccurred(Connection con)
boolean accept(Connection con)