HOME

com.ireasoning.protocol.snmp
Class SnmpSessionListenThread

java.lang.Object
  extended byjava.lang.Thread
      extended bycom.ireasoning.protocol.ListenThread
          extended bycom.ireasoning.protocol.snmp.SnmpSessionListenThread
All Implemented Interfaces:
Runnable

public class SnmpSessionListenThread
extends ListenThread


Nested Class Summary
 
Nested classes inherited from class com.ireasoning.protocol.ListenThread
ListenThread.Item
 
Field Summary
 
Fields inherited from class com.ireasoning.protocol.ListenThread
_asyncTimer, _isTimerRunning, _pendingRequests, _session, _task
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
SnmpSessionListenThread(SnmpSession s)
           
 
Method Summary
 void addTask(SnmpPdu pdu)
           
protected  boolean receivedMsg(Msg msg)
           
protected  void resend(Object pdu)
           
 
Methods inherited from class com.ireasoning.protocol.ListenThread
run, setTimeoutForAsyncRequests, stopTimer
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SnmpSessionListenThread

public SnmpSessionListenThread(SnmpSession s)
Method Detail

resend

protected final void resend(Object pdu)
Overrides:
resend in class ListenThread

receivedMsg

protected final boolean receivedMsg(Msg msg)
Overrides:
receivedMsg in class ListenThread
Returns:
false if received message is invalid, so that it won't be processed further.

addTask

public final void addTask(SnmpPdu pdu)

HOME

Copyright © 2002 iReasoning Inc. All Rights Reserved.