Class CiscoInfo
java.lang.Object
|
+----VendorInfo
|
+----CiscoInfo
- public class CiscoInfo
- extends VendorInfo
The CiscoInfo class knows how to use SNMP to probe for useful
data from Cisco devices. Currently, this class only knows about
Cisco routers which contain no useful ATM information.
- Version:
- $Revision: 1.11 $, $Date: 2000/10/31 20:32:02 $
- Author:
- Joseph Thomas
-
CiscoInfo(HostEntry)
- Constructor method -- CiscoInfo
-
getATMNeighbor(DataCollector)
- getATMNeighbor - attemts to find out who is/are this devices
ATM neighbor(s).
-
query(DataCollector, CollectorAnalyzer, int)
- Query method - method called on each pass for Cisco devices.
-
toString()
- toString() method -- print something useful about this object.
CiscoInfo
public CiscoInfo(HostEntry host)
- Constructor method -- CiscoInfo
- Parameters:
- host - the "host" object representing the device to be queried.
query
public void query(DataCollector dc,
CollectorAnalyzer ca,
int threadNum) throws Exception
- Query method - method called on each pass for Cisco devices.
- Parameters:
- dc - DataCollector for this run
- ca - CollectorAnalyzer for this run
- threadNum - an index for which thread called us
- Throws: Exception
- Any exception caught from queryInterfaces(0
- Overrides:
- query in class VendorInfo
getATMNeighbor
private void getATMNeighbor(DataCollector dc)
- getATMNeighbor - attemts to find out who is/are this devices
ATM neighbor(s).
- Parameters:
- dc - pointer to parent DataCollector
toString
public String toString()
- toString() method -- print something useful about this object.
- Returns:
- String which identifies this as a CiscoInfo object
- Overrides:
- toString in class VendorInfo