Class PowerHubInfo
java.lang.Object
|
+----VendorInfo
|
+----PowerHubInfo
- public class PowerHubInfo
- extends VendorInfo
The PowerHubInfo class knows how to use SNMP to probe for useful
data from FORE Power Hub devices. Currently, this class only queries for
network interfaces.
- Version:
- $Revision: 1.1 $, $Date: 2000/10/31 20:30:32 $
- Author:
- Joseph Thomas
-
PowerHubInfo(HostEntry)
- Constructor method -- PowerHubInfo
-
query(DataCollector, CollectorAnalyzer, int)
- Query method - method called on each pass for Power Hub devices.
-
toString()
- toString() method -- print something useful about this object.
PowerHubInfo
public PowerHubInfo(HostEntry host)
- Constructor method -- PowerHubInfo
- 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 Power Hub devices.
- Parameters:
- dc - DataCollector for this run
- ca - CollectorAnalyzer for this run
- Throws: Exception
- Any exception caught from queryInterfaces()
- Overrides:
- query in class VendorInfo
toString
public String toString()
- toString() method -- print something useful about this object.
- Returns:
- String which identifies this as a PowerHubInfo object
- Overrides:
- toString in class VendorInfo