class SessionIdleTimer extends Object implements SimpleTimer.TimedEvent
Modifier and Type | Field and Description |
---|---|
static long |
MINIMUM_TIME |
Constructor and Description |
---|
SessionIdleTimer(I2PAppContext context,
I2PSessionImpl session,
boolean reduce,
boolean shutdown)
reduce, shutdown, or both must be true
|
Modifier and Type | Method and Description |
---|---|
void |
timeReached()
the time requested has been reached (this call should NOT block,
otherwise the whole SimpleTimer gets backed up)
|
public static final long MINIMUM_TIME
public SessionIdleTimer(I2PAppContext context, I2PSessionImpl session, boolean reduce, boolean shutdown)
public void timeReached()
SimpleTimer.TimedEvent
timeReached
in interface SimpleTimer.TimedEvent