|
HOME | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
com.ireasoning.protocol.ListenThread
public class ListenThread
Nested Class Summary | |
---|---|
protected class |
ListenThread.Item
|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
protected java.util.Timer |
_asyncTimer
|
protected boolean |
_isTimerRunning
|
protected java.util.Hashtable |
_pendingRequests
|
protected Session |
_session
|
protected com.ireasoning.protocol.ListenThread.Task |
_task
|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
ListenThread(Session session)
|
Method Summary | |
---|---|
protected boolean |
receivedMsg(Msg msg)
|
protected void |
resend(java.lang.Object pdu)
|
void |
run()
|
void |
setTimeoutForAsyncRequests(int timeout)
|
void |
stopTimer()
|
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, clone, 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 |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Session _session
protected java.util.Timer _asyncTimer
protected java.util.Hashtable _pendingRequests
protected com.ireasoning.protocol.ListenThread.Task _task
protected boolean _isTimerRunning
Constructor Detail |
---|
public ListenThread(Session session)
Method Detail |
---|
protected void resend(java.lang.Object pdu)
protected boolean receivedMsg(Msg msg)
public void stopTimer()
public void setTimeoutForAsyncRequests(int timeout)
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
|
HOME | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |