com.adventnet.agent.tl1
Class AutoAcknowledge

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--com.adventnet.agent.tl1.AutoAcknowledge

class AutoAcknowledge
extends java.lang.Thread

This class is used to send acknowledgement if response is not sent within 2 seconds. The TL1AgentRequestInfo class maintains a flag having the status whether the response message of that is sent or not. The request info objects for various requests are stored in vector called requestVector in TL1Agent. The thread present here verifies the elements in the vector for every Ack period time and sends Acknowledgement if the response is not sent for the specified duration.


Field Summary
(package private)  TL1Agent agent
           
(package private)  TL1Session session
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY, values
 
Constructor Summary
(package private) AutoAcknowledge(TL1Agent agent)
           
 
Method Summary
(package private)  void checkCondition()
           
 void run()
           
 
Methods inherited from class java.lang.Thread
, activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, 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
 

Field Detail

agent

TL1Agent agent

session

TL1Session session
Constructor Detail

AutoAcknowledge

AutoAcknowledge(TL1Agent agent)
Method Detail

run

public void run()
Overrides:
run in class java.lang.Thread

checkCondition

void checkCondition()