Package org.opennms.netmgt.snmp
Class CollectionTracker
- java.lang.Object
-
- org.opennms.netmgt.snmp.CollectionTracker
-
- All Implemented Interfaces:
Collectable,ProxiableTracker
- Direct Known Subclasses:
AggregateTracker,ColumnTracker,SingleInstanceTracker,TableTracker
public abstract class CollectionTracker extends Object implements Collectable, ProxiableTracker
-
-
Constructor Summary
Constructors Constructor Description CollectionTracker()CollectionTracker(CollectionTracker parent)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract ResponseProcessorbuildNextPdu(PduBuilder pduBuilder)booleanfailed()CollectionTrackergetCollectionTracker()CollectionTrackergetParent()booleanisFinished()protected voidreportFatalErr(ErrorStatusException ex)protected voidreportGenErr(String msg)protected voidreportNonFatalErr(ErrorStatus status)protected voidreportNoSuchNameErr(String msg)protected voidreportTooBigErr(String msg)voidsetFailed(boolean failed)voidsetFinished(boolean finished)abstract voidsetMaxRepetitions(int maxRepetitions)abstract voidsetMaxRetries(int maxRetries)voidsetParent(CollectionTracker parent)voidsetTimedOut(boolean timedOut)protected voidstoreResult(SnmpResult res)booleantimedOut()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opennms.netmgt.snmp.proxy.ProxiableTracker
getWalkRequests, handleWalkResponses
-
-
-
-
Constructor Detail
-
CollectionTracker
public CollectionTracker()
-
CollectionTracker
public CollectionTracker(CollectionTracker parent)
-
-
Method Detail
-
setParent
public void setParent(CollectionTracker parent)
-
getParent
public CollectionTracker getParent()
-
failed
public boolean failed()
-
timedOut
public boolean timedOut()
-
setMaxRepetitions
public abstract void setMaxRepetitions(int maxRepetitions)
-
setMaxRetries
public abstract void setMaxRetries(int maxRetries)
-
setFailed
public void setFailed(boolean failed)
-
setTimedOut
public void setTimedOut(boolean timedOut)
-
storeResult
protected void storeResult(SnmpResult res)
-
isFinished
public boolean isFinished()
-
setFinished
public final void setFinished(boolean finished)
-
buildNextPdu
public abstract ResponseProcessor buildNextPdu(PduBuilder pduBuilder) throws SnmpException
- Throws:
SnmpException
-
reportTooBigErr
protected void reportTooBigErr(String msg)
-
reportGenErr
protected void reportGenErr(String msg)
-
reportNoSuchNameErr
protected void reportNoSuchNameErr(String msg)
-
reportFatalErr
protected void reportFatalErr(ErrorStatusException ex)
-
reportNonFatalErr
protected void reportNonFatalErr(ErrorStatus status)
-
getCollectionTracker
public CollectionTracker getCollectionTracker()
- Specified by:
getCollectionTrackerin interfaceCollectable
-
-