Package org.opennms.netmgt.snmp
Class ColumnTracker
- java.lang.Object
-
- org.opennms.netmgt.snmp.CollectionTracker
-
- org.opennms.netmgt.snmp.ColumnTracker
-
- All Implemented Interfaces:
Collectable,ProxiableTracker
public class ColumnTracker extends CollectionTracker
-
-
Constructor Summary
Constructors Constructor Description ColumnTracker(CollectionTracker parent, SnmpObjId base)ColumnTracker(CollectionTracker parent, SnmpObjId base, int maxRepititions, int maxRetries)ColumnTracker(SnmpObjId base)ColumnTracker(SnmpObjId base, int maxRepititions, int maxRetries)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponseProcessorbuildNextPdu(PduBuilder pduBuilder)protected voiderrorOccurred()SnmpObjIdgetBase()SnmpInstIdgetLastInstance()intgetMaxRepetitions()intgetMaxRetries()List<WalkRequest>getWalkRequests()voidhandleWalkResponses(List<WalkResponse> responses)protected voidreceivedEndOfMib()voidsetMaxRepetitions(int maxRepetitions)voidsetMaxRetries(int maxRetries)StringtoString()-
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
-
ColumnTracker
public ColumnTracker(SnmpObjId base)
-
ColumnTracker
public ColumnTracker(SnmpObjId base, int maxRepititions, int maxRetries)
-
ColumnTracker
public ColumnTracker(CollectionTracker parent, SnmpObjId base)
-
ColumnTracker
public ColumnTracker(CollectionTracker parent, SnmpObjId base, int maxRepititions, int maxRetries)
-
-
Method Detail
-
getBase
public SnmpObjId getBase()
-
buildNextPdu
public ResponseProcessor buildNextPdu(PduBuilder pduBuilder) throws SnmpException
- Specified by:
buildNextPduin classCollectionTracker- Throws:
SnmpException
-
getMaxRepetitions
public int getMaxRepetitions()
-
setMaxRepetitions
public void setMaxRepetitions(int maxRepetitions)
- Specified by:
setMaxRepetitionsin classCollectionTracker
-
getMaxRetries
public int getMaxRetries()
-
setMaxRetries
public void setMaxRetries(int maxRetries)
- Specified by:
setMaxRetriesin classCollectionTracker
-
receivedEndOfMib
protected void receivedEndOfMib()
-
errorOccurred
protected void errorOccurred()
-
getLastInstance
public SnmpInstId getLastInstance()
-
getWalkRequests
public List<WalkRequest> getWalkRequests()
-
handleWalkResponses
public void handleWalkResponses(List<WalkResponse> responses)
-
-