|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.i2p.client.SessionIdleTimer
public class SessionIdleTimer
Reduce tunnels or shutdown the session on idle if so configured
Field Summary | |
---|---|
static long |
MINIMUM_TIME
|
Constructor Summary | |
---|---|
SessionIdleTimer(I2PAppContext context,
I2PSessionImpl session,
boolean reduce,
boolean shutdown)
reduce, shutdown, or both must be true |
Method Summary | |
---|---|
void |
timeReached()
the time requested has been reached (this call should NOT block, otherwise the whole SimpleTimer gets backed up) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long MINIMUM_TIME
Constructor Detail |
---|
public SessionIdleTimer(I2PAppContext context, I2PSessionImpl session, boolean reduce, boolean shutdown)
Method Detail |
---|
public void timeReached()
SimpleTimer.TimedEvent
timeReached
in interface SimpleTimer.TimedEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |