|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Thread
com.adventnet.utils.agent.HolderThread
public class HolderThread
The HolderThread for sheduling the events. This will be instantiated with in the ThreadSheduler.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
(package private) int |
idNumber
|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
HolderThread()
Default Constructor. |
|
| Method Summary | |
|---|---|
void |
finalize()
finalize. |
void |
run()
The HolderThread's run method. |
(package private) void |
setIdNumber(int i)
|
void |
setPduListener(SnmpPduRequestListener l)
Method to set the PduListener to this Thread. |
void |
setSch(ThreadScheduler sch)
Method to set the ThreadScheduler to this class. |
(package private) boolean |
STOP_THREAD()
|
void |
WaitUntilAsked()
Method to make the thread wait. |
(package private) void |
wakeUp()
|
| 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, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
int idNumber
| Constructor Detail |
|---|
public HolderThread()
| Method Detail |
|---|
public void setPduListener(SnmpPduRequestListener l)
l - The SnmpPduRequestListener set to this.public void setSch(ThreadScheduler sch)
sch - The ThreadScheduler to be set.void setIdNumber(int i)
boolean STOP_THREAD()
void wakeUp()
public void WaitUntilAsked()
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic void finalize()
finalize in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||