public class TableTracker extends CollectionTracker implements RowCallback, RowResultFactory
Constructor and Description |
---|
TableTracker(RowCallback rc,
int maxRepetitions,
int maxRetries,
SnmpObjId... columns) |
TableTracker(RowCallback rc,
SnmpObjId... ids) |
TableTracker(SnmpObjId... ids) |
Modifier and Type | Method and Description |
---|---|
ResponseProcessor |
buildNextPdu(PduBuilder pduBuilder) |
SnmpRowResult |
createRowResult(int columnCount,
SnmpInstId instance) |
List<WalkRequest> |
getWalkRequests() |
void |
handleWalkResponses(List<WalkResponse> responses) |
boolean |
isFinished() |
void |
rowCompleted(SnmpRowResult row) |
void |
setMaxRepetitions(int maxRepetitions) |
void |
setMaxRetries(int maxRetries) |
void |
storeResult(SnmpResult res) |
failed, getCollectionTracker, getParent, reportFatalErr, reportGenErr, reportNonFatalErr, reportNoSuchNameErr, reportTooBigErr, setFailed, setFinished, setParent, setTimedOut, timedOut
public TableTracker(SnmpObjId... ids)
public TableTracker(RowCallback rc, SnmpObjId... ids)
public TableTracker(RowCallback rc, int maxRepetitions, int maxRetries, SnmpObjId... columns)
public void setMaxRepetitions(int maxRepetitions)
setMaxRepetitions
in class CollectionTracker
public void setMaxRetries(int maxRetries)
setMaxRetries
in class CollectionTracker
public boolean isFinished()
isFinished
in class CollectionTracker
public ResponseProcessor buildNextPdu(PduBuilder pduBuilder) throws SnmpException
buildNextPdu
in class CollectionTracker
SnmpException
public void storeResult(SnmpResult res)
storeResult
in class CollectionTracker
public void rowCompleted(SnmpRowResult row)
rowCompleted
in interface RowCallback
public SnmpRowResult createRowResult(int columnCount, SnmpInstId instance)
createRowResult
in interface RowResultFactory
public List<WalkRequest> getWalkRequests()
getWalkRequests
in interface ProxiableTracker
public void handleWalkResponses(List<WalkResponse> responses)
handleWalkResponses
in interface ProxiableTracker
Copyright © 2021. All rights reserved.