backend
Class snmpThread
java.lang.Object
java.lang.Thread
backend.snmpThread
- All Implemented Interfaces:
- Runnable
- public class snmpThread
- extends Thread
Threaded function that keeps the SNMP information upto date
Method Summary |
void |
run()
Main starting point of the SNMP threads. |
void |
snmpGetter(String ip)
This is the main SNMP information reciver. |
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 |
BBMethods
public static BlackBoard BBMethods
- Interface to the blackboard functions
snmpThread
public snmpThread(LanNode node)
- Creates a new instance of snmpThread
- Parameters:
node
- Expects a valid lanNode from the blackboard
run
public void run()
- Main starting point of the SNMP threads. For efficeincy it will first
check to see if the lannode is up if it is then it will do the snmp calls
else it will just place NA into all the locations in the lanNode and
return
snmpGetter
public void snmpGetter(String ip)
- This is the main SNMP information reciver. It uses the backends
snmpGet method to reterive the information. If snmp is not detected
it places NA in all the snmp fields.
- Parameters:
ip
- String containing the ip address of a lanNode