|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Thread
isc.sensor.SessionTimer
isc.sensor.TCPSessionTimer
public class TCPSessionTimer
The TCP Session Timers runs in a background thread a periodically check each session for it's close state
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
protected long |
closeTime
Time to wait after a TCP session has entered a close state |
protected long |
FINtimeOut
Time to wait to close after a FIN has been seen |
protected static java.lang.String |
PROP_CLOSE_TIME
Property the specify time to wait after a TCP session has closed |
protected static java.lang.String |
PROP_FIN_TIMEOUT
Property to specify tim to wait after FIN has been seen |
protected static java.lang.String |
PROP_SESTIMER_SESTIMOUT
Property to specify how long to timeout a session that has not seen any new packets |
protected static java.lang.String |
PROP_SESTIMER_SLEEP
Property to specify how long to sleep on each iteration to check for closed sessions |
protected TCPSessionProcessor |
tcpSesProcessor
The Session Processor that this timer is working for |
| Fields inherited from class isc.sensor.SessionTimer |
|---|
finish, log, packetTime, props, sleepTime, timeOut |
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
TCPSessionTimer(TCPSessionProcessor sp)
Create a new TCP Session Timer in a new thread |
|
| Method Summary | |
|---|---|
void |
run()
|
| Methods inherited from class isc.sensor.SessionTimer |
|---|
finished, getPacketTime, notifyProc, setFinish, setPacketTime, waitProc |
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected long closeTime
protected long FINtimeOut
protected TCPSessionProcessor tcpSesProcessor
protected static final java.lang.String PROP_SESTIMER_SLEEP
protected static final java.lang.String PROP_SESTIMER_SESTIMOUT
protected static final java.lang.String PROP_CLOSE_TIME
protected static final java.lang.String PROP_FIN_TIMEOUT
| Constructor Detail |
|---|
public TCPSessionTimer(TCPSessionProcessor sp)
sp - The Session processor managing this timer| Method Detail |
|---|
public void run()
run in interface java.lang.Runnablerun in class java.lang.Thread
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||