Package org.opennms.netmgt.snmp
Class SingleInstanceTracker
- java.lang.Object
-
- org.opennms.netmgt.snmp.CollectionTracker
-
- org.opennms.netmgt.snmp.SingleInstanceTracker
-
- All Implemented Interfaces:
Collectable,ProxiableTracker
- Direct Known Subclasses:
ObjIdMonitor
public class SingleInstanceTracker extends CollectionTracker
-
-
Constructor Summary
Constructors Constructor Description SingleInstanceTracker(String baseOid, String instId)SingleInstanceTracker(SnmpObjId base, SnmpInstId inst)SingleInstanceTracker(SnmpObjId base, SnmpInstId inst, CollectionTracker parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponseProcessorbuildNextPdu(PduBuilder pduBuilder)protected voiderrorOccurred()intgetMaxRetries()List<WalkRequest>getWalkRequests()voidhandleWalkResponses(List<WalkResponse> responses)protected voidreceivedEndOfMib()voidsetMaxRepetitions(int maxRepititions)voidsetMaxRetries(int maxRetries)-
Methods inherited from class org.opennms.netmgt.snmp.CollectionTracker
failed, getCollectionTracker, getParent, isFinished, reportFatalErr, reportGenErr, reportNonFatalErr, reportNoSuchNameErr, reportTooBigErr, setFailed, setFinished, setParent, setTimedOut, storeResult, timedOut
-
-
-
-
Constructor Detail
-
SingleInstanceTracker
public SingleInstanceTracker(SnmpObjId base, SnmpInstId inst)
-
SingleInstanceTracker
public SingleInstanceTracker(SnmpObjId base, SnmpInstId inst, CollectionTracker parent)
-
-
Method Detail
-
setMaxRepetitions
public void setMaxRepetitions(int maxRepititions)
- Specified by:
setMaxRepetitionsin classCollectionTracker
-
getMaxRetries
public int getMaxRetries()
-
setMaxRetries
public void setMaxRetries(int maxRetries)
- Specified by:
setMaxRetriesin classCollectionTracker
-
buildNextPdu
public ResponseProcessor buildNextPdu(PduBuilder pduBuilder) throws SnmpException
- Specified by:
buildNextPduin classCollectionTracker- Throws:
SnmpException
-
errorOccurred
protected void errorOccurred()
-
receivedEndOfMib
protected void receivedEndOfMib()
-
getWalkRequests
public List<WalkRequest> getWalkRequests()
-
handleWalkResponses
public void handleWalkResponses(List<WalkResponse> responses)
-
-