Package org.opennms.netmgt.enlinkd.snmp
Class CdpInterfacePortNameGetter
- java.lang.Object
-
- org.opennms.netmgt.snmp.CollectionTracker
-
- org.opennms.netmgt.snmp.TableTracker
-
- org.opennms.netmgt.enlinkd.snmp.SnmpGetter
-
- org.opennms.netmgt.enlinkd.snmp.CdpInterfacePortNameGetter
-
- All Implemented Interfaces:
Collectable
,ProxiableTracker
,RowCallback
,RowResultFactory
public class CdpInterfacePortNameGetter extends SnmpGetter
-
-
Field Summary
Fields Modifier and Type Field Description static SnmpObjId
CDP_INTERFACE_NAME
static SnmpObjId
MIB2_INTERFACE_NAME
-
Constructor Summary
Constructors Constructor Description CdpInterfacePortNameGetter(SnmpAgentConfig peer, LocationAwareSnmpClient client, java.lang.String location, java.lang.Integer nodeid)
The SnmpPeer object used to communicate via SNMP with the remote host.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CdpLink
get(CdpLink link)
SnmpValue
getInterfaceNameFromCiscoCdpMib(java.lang.Integer ifindex)
SnmpValue
getInterfaceNameFromMib2(java.lang.Integer ifindex)
-
Methods inherited from class org.opennms.netmgt.enlinkd.snmp.SnmpGetter
get, get, get, getNodeId
-
Methods inherited from class org.opennms.netmgt.snmp.TableTracker
buildNextPdu, createRowResult, getWalkRequests, handleWalkResponses, isFinished, rowCompleted, 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
-
-
-
-
Constructor Detail
-
CdpInterfacePortNameGetter
public CdpInterfacePortNameGetter(SnmpAgentConfig peer, LocationAwareSnmpClient client, java.lang.String location, java.lang.Integer nodeid)
The SnmpPeer object used to communicate via SNMP with the remote host.
-
-