Class IPAddressTableTracker
- java.lang.Object
-
- org.opennms.netmgt.snmp.CollectionTracker
-
- org.opennms.netmgt.snmp.TableTracker
-
- org.opennms.netmgt.provision.service.IPAddressTableTracker
-
- All Implemented Interfaces:
Collectable
,ProxiableTracker
,RowCallback
,RowResultFactory
public class IPAddressTableTracker extends TableTracker
PhysInterfaceTableTracker- Version:
- $Id: $
- Author:
- brozow
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IPAddressTableTracker.IPAddressRow
-
Field Summary
Fields Modifier and Type Field Description static SnmpObjId
IP_ADDRESS_CREATED_INDEX
static SnmpObjId
IP_ADDRESS_IF_INDEX
static SnmpObjId
IP_ADDRESS_LAST_CHANGED_INDEX
static SnmpObjId
IP_ADDRESS_ORIGIN_INDEX
static SnmpObjId
IP_ADDRESS_PREFIX_INDEX
static SnmpObjId
IP_ADDRESS_PREFIX_ORIGIN_INDEX
static SnmpObjId
IP_ADDRESS_PREFIX_TABLE_ENTRY
static SnmpObjId
IP_ADDRESS_ROW_STATUS_INDEX
static SnmpObjId
IP_ADDRESS_STATUS_INDEX
static SnmpObjId
IP_ADDRESS_STORAGE_TYPE_INDEX
static SnmpObjId
IP_ADDRESS_TABLE_ENTRY
static SnmpObjId
IP_ADDRESS_TYPE_INDEX
static int
TYPE_DNS
static int
TYPE_IPV4
static int
TYPE_IPV4Z
static int
TYPE_IPV6
static int
TYPE_IPV6Z
-
Constructor Summary
Constructors Constructor Description IPAddressTableTracker()
Constructor for IPInterfaceTableTracker.IPAddressTableTracker(RowCallback rowProcessor)
Constructor for IPInterfaceTableTracker.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SnmpRowResult
createRowResult(int columnCount, SnmpInstId instance)
void
processIPAddressRow(IPAddressTableTracker.IPAddressRow row)
processIPInterfaceRowvoid
rowCompleted(SnmpRowResult row)
-
Methods inherited from class org.opennms.netmgt.snmp.TableTracker
buildNextPdu, getWalkRequests, handleWalkResponses, isFinished, setMaxRepetitions, setMaxRetries, storeResult
-
Methods inherited from class org.opennms.netmgt.snmp.CollectionTracker
failed, getCollectionTracker, getParent, reportFatalErr, reportGenErr, reportNonFatalErr, reportNoSuchNameErr, reportTooBigErr, setFailed, setFinished, setParent, setTimedOut, timedOut
-
-
-
-
Field Detail
-
IP_ADDRESS_PREFIX_TABLE_ENTRY
public static final SnmpObjId IP_ADDRESS_PREFIX_TABLE_ENTRY
-
IP_ADDRESS_TABLE_ENTRY
public static final SnmpObjId IP_ADDRESS_TABLE_ENTRY
-
IP_ADDRESS_IF_INDEX
public static final SnmpObjId IP_ADDRESS_IF_INDEX
-
IP_ADDRESS_TYPE_INDEX
public static final SnmpObjId IP_ADDRESS_TYPE_INDEX
-
IP_ADDRESS_PREFIX_INDEX
public static final SnmpObjId IP_ADDRESS_PREFIX_INDEX
-
IP_ADDRESS_PREFIX_ORIGIN_INDEX
public static final SnmpObjId IP_ADDRESS_PREFIX_ORIGIN_INDEX
-
IP_ADDRESS_ORIGIN_INDEX
public static final SnmpObjId IP_ADDRESS_ORIGIN_INDEX
-
IP_ADDRESS_STATUS_INDEX
public static final SnmpObjId IP_ADDRESS_STATUS_INDEX
-
IP_ADDRESS_CREATED_INDEX
public static final SnmpObjId IP_ADDRESS_CREATED_INDEX
-
IP_ADDRESS_LAST_CHANGED_INDEX
public static final SnmpObjId IP_ADDRESS_LAST_CHANGED_INDEX
-
IP_ADDRESS_ROW_STATUS_INDEX
public static final SnmpObjId IP_ADDRESS_ROW_STATUS_INDEX
-
IP_ADDRESS_STORAGE_TYPE_INDEX
public static final SnmpObjId IP_ADDRESS_STORAGE_TYPE_INDEX
-
TYPE_IPV4
public static final int TYPE_IPV4
- See Also:
- Constant Field Values
-
TYPE_IPV6
public static final int TYPE_IPV6
- See Also:
- Constant Field Values
-
TYPE_IPV4Z
public static final int TYPE_IPV4Z
- See Also:
- Constant Field Values
-
TYPE_IPV6Z
public static final int TYPE_IPV6Z
- See Also:
- Constant Field Values
-
TYPE_DNS
public static final int TYPE_DNS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
IPAddressTableTracker
public IPAddressTableTracker()
Constructor for IPInterfaceTableTracker.
-
IPAddressTableTracker
public IPAddressTableTracker(RowCallback rowProcessor)
Constructor for IPInterfaceTableTracker.
- Parameters:
rowProcessor
- aRowCallback
object.
-
-
Method Detail
-
createRowResult
public SnmpRowResult createRowResult(int columnCount, SnmpInstId instance)
- Specified by:
createRowResult
in interfaceRowResultFactory
- Overrides:
createRowResult
in classTableTracker
-
rowCompleted
public void rowCompleted(SnmpRowResult row)
- Specified by:
rowCompleted
in interfaceRowCallback
- Overrides:
rowCompleted
in classTableTracker
-
processIPAddressRow
public void processIPAddressRow(IPAddressTableTracker.IPAddressRow row)
processIPInterfaceRow
- Parameters:
row
- aIPAddressTableTracker.IPAddressRow
object.
-
-