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 ResponseProcessor
buildNextPdu(PduBuilder pduBuilder)
protected void
errorOccurred()
SnmpObjId
getBase()
SnmpInstId
getLastInstance()
int
getMaxRepetitions()
int
getMaxRetries()
java.util.List<WalkRequest>
getWalkRequests()
void
handleWalkResponses(java.util.List<WalkResponse> responses)
protected void
receivedEndOfMib()
void
setMaxRepetitions(int maxRepetitions)
void
setMaxRetries(int maxRetries)
java.lang.String
toString()
-
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()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
buildNextPdu
public ResponseProcessor buildNextPdu(PduBuilder pduBuilder) throws SnmpException
- Specified by:
buildNextPdu
in classCollectionTracker
- Throws:
SnmpException
-
getMaxRepetitions
public int getMaxRepetitions()
-
setMaxRepetitions
public void setMaxRepetitions(int maxRepetitions)
- Specified by:
setMaxRepetitions
in classCollectionTracker
-
getMaxRetries
public int getMaxRetries()
-
setMaxRetries
public void setMaxRetries(int maxRetries)
- Specified by:
setMaxRetries
in classCollectionTracker
-
receivedEndOfMib
protected void receivedEndOfMib()
-
errorOccurred
protected void errorOccurred()
-
getLastInstance
public SnmpInstId getLastInstance()
-
getWalkRequests
public java.util.List<WalkRequest> getWalkRequests()
-
handleWalkResponses
public void handleWalkResponses(java.util.List<WalkResponse> responses)
-
-