public abstract class SnmpTable<T extends SnmpTableEntry> extends AggregateTracker
| Modifier | Constructor and Description |
|---|---|
protected |
SnmpTable(InetAddress address,
String tableName,
NamedSnmpVar[] columns)
Constructor for SnmpTable.
|
protected |
SnmpTable(InetAddress address,
String tableName,
NamedSnmpVar[] columns,
Set<SnmpInstId> instances)
Constructor for SnmpTable.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract T |
createTableEntry(SnmpObjId base,
SnmpInstId inst,
Object val)
createTableEntry
|
List<T> |
getEntries()
getEntries
|
T |
getEntry(int inst)
getEntry
|
T |
getEntry(SnmpInstId inst)
getEntry
|
Set<SnmpInstId> |
getInstances()
getInstances
|
protected void |
reportFatalErr(ErrorStatusException ex) |
protected void |
reportGenErr(String msg) |
protected void |
reportNonFatalErr(ErrorStatus status) |
protected void |
reportNoSuchNameErr(String msg) |
protected void |
storeResult(SnmpResult res) |
buildNextPdu, getWalkRequests, handleWalkResponses, isFinished, setFailed, setMaxRepetitions, setMaxRetries, setTimedOutfailed, getCollectionTracker, getParent, reportTooBigErr, setFinished, setParent, timedOutprotected SnmpTable(InetAddress address, String tableName, NamedSnmpVar[] columns)
Constructor for SnmpTable.
T - a T object.address - a InetAddress object.tableName - a String object.columns - an array of NamedSnmpVar objects.protected SnmpTable(InetAddress address, String tableName, NamedSnmpVar[] columns, Set<SnmpInstId> instances)
Constructor for SnmpTable.
address - a InetAddress object.tableName - a String object.columns - an array of NamedSnmpVar objects.instances - a Set object.protected void storeResult(SnmpResult res)
storeResult in class CollectionTrackerprotected abstract T createTableEntry(SnmpObjId base, SnmpInstId inst, Object val)
createTableEntry
base - a SnmpObjId object.inst - a SnmpInstId object.val - a Object object.public Set<SnmpInstId> getInstances()
getInstances
Set object.protected void reportGenErr(String msg)
reportGenErr in class CollectionTrackerprotected void reportFatalErr(ErrorStatusException ex)
reportFatalErr in class CollectionTrackerprotected void reportNonFatalErr(ErrorStatus status)
reportNonFatalErr in class CollectionTrackerpublic T getEntry(SnmpInstId inst)
getEntry
inst - a SnmpInstId object.public T getEntry(int inst)
getEntry
inst - a int.protected void reportNoSuchNameErr(String msg)
reportNoSuchNameErr in class CollectionTrackerCopyright © 2020. All rights reserved.