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(java.lang.String baseOid, java.lang.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 ResponseProcessor
buildNextPdu(PduBuilder pduBuilder)
protected void
errorOccurred()
int
getMaxRetries()
java.util.List<WalkRequest>
getWalkRequests()
void
handleWalkResponses(java.util.List<WalkResponse> responses)
protected void
receivedEndOfMib()
void
setMaxRepetitions(int maxRepititions)
void
setMaxRetries(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(java.lang.String baseOid, java.lang.String instId)
-
SingleInstanceTracker
public SingleInstanceTracker(SnmpObjId base, SnmpInstId inst, CollectionTracker parent)
-
-
Method Detail
-
setMaxRepetitions
public void setMaxRepetitions(int maxRepititions)
- Specified by:
setMaxRepetitions
in classCollectionTracker
-
getMaxRetries
public int getMaxRetries()
-
setMaxRetries
public void setMaxRetries(int maxRetries)
- Specified by:
setMaxRetries
in classCollectionTracker
-
buildNextPdu
public ResponseProcessor buildNextPdu(PduBuilder pduBuilder) throws SnmpException
- Specified by:
buildNextPdu
in classCollectionTracker
- Throws:
SnmpException
-
errorOccurred
protected void errorOccurred()
-
receivedEndOfMib
protected void receivedEndOfMib()
-
getWalkRequests
public java.util.List<WalkRequest> getWalkRequests()
-
handleWalkResponses
public void handleWalkResponses(java.util.List<WalkResponse> responses)
-
-