org.opennms.netmgt.linkd.snmp
Class Dot1dBaseGroup
java.lang.Object
org.opennms.netmgt.snmp.CollectionTracker
org.opennms.netmgt.snmp.AggregateTracker
org.opennms.netmgt.linkd.snmp.Dot1dBaseGroup
- All Implemented Interfaces:
- Collectable
public final class Dot1dBaseGroup
- extends AggregateTracker
Dot1dBaseGroup holds the dot1dBridge.dot1dBase group properties
It implements the SnmpHandler to receive notifications when a reply is
received/error occurs in the SnmpSession used to send requests /recieve
replies.
- Author:
- Antonio Russo, Sowmya, Weave, OpenNMS
- See Also:
- RFC1213
|
Constructor Summary |
Dot1dBaseGroup(InetAddress address)
The class constructor is used to initialize the collector
and send out the initial SNMP packet requesting data. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BASE_BRIDGE_ADDRESS
public static final String BASE_BRIDGE_ADDRESS
- See Also:
- Constant Field Values
BASE_NUM_PORTS
public static final String BASE_NUM_PORTS
- See Also:
- Constant Field Values
BASE_NUM_TYPE
public static final String BASE_NUM_TYPE
- See Also:
- Constant Field Values
ms_elemList
public static NamedSnmpVar[] ms_elemList
The keys that will be supported by default from the
TreeMap base class. Each of the elements in the list
are an instance of the STP Node table. Objects
in this list should be used by multiple instances of
this class.
SYSTEM_OID
public static final String SYSTEM_OID
The SYSTEM_OID is the object identifier that represents the
root of the system information in the MIB forest. Each of the
system elements can be retreived by adding their specific index
to the string, and an additional Zero(0) to signify the single
instance item.
- See Also:
- Constant Field Values
Dot1dBaseGroup
public Dot1dBaseGroup(InetAddress address)
The class constructor is used to initialize the collector
and send out the initial SNMP packet requesting data. The
data is then received and store by the object. When all the
data has been collected the passed signaler object is notified
using the notifyAll() method.
- Parameters:
session - The SNMP session with the remote agent.signaler - The object signaled when data collection is done.
storeResult
protected void storeResult(SnmpObjId base,
SnmpInstId inst,
SnmpValue val)
- Overrides:
storeResult in class CollectionTracker
reportGenErr
protected void reportGenErr(String msg)
- Overrides:
reportGenErr in class CollectionTracker
reportNoSuchNameErr
protected void reportNoSuchNameErr(String msg)
- Overrides:
reportNoSuchNameErr in class CollectionTracker
getBridgeAddress
public String getBridgeAddress()
getNumberOfPorts
public int getNumberOfPorts()
getBridgeType
public int getBridgeType()
Copyright © 2009. All Rights Reserved.