com.ireasoning.protocol
Class ListenThread
java.lang.Object
java.lang.Thread
com.ireasoning.protocol.ListenThread
- All Implemented Interfaces:
- Runnable
- Direct Known Subclasses:
- SnmpSessionListenThread
- public class ListenThread
- extends Thread
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
_session
protected Session _session
_asyncTimer
protected Timer _asyncTimer
_pendingRequests
protected Hashtable _pendingRequests
_task
protected com.ireasoning.protocol.ListenThread.Task _task
_isTimerRunning
protected boolean _isTimerRunning
ListenThread
public ListenThread(Session session)
resend
protected void resend(Object pdu)
receivedMsg
protected boolean receivedMsg(Msg msg)
- Returns:
- false if received message is invalid, so that it won't be processed further.
stopTimer
public void stopTimer()
setTimeoutForAsyncRequests
public void setTimeoutForAsyncRequests(int timeout)
run
public void run()
Copyright © 2002 iReasoning Inc. All Rights Reserved.