public class SnmpNodeCollector extends AggregateTracker
Constructor and Description |
---|
SnmpNodeCollector(InetAddress address,
Collection<SnmpAttributeType> objList,
SnmpCollectionSet collectionSet)
The class constructor is used to initialize the collector and send out
the initial SNMP packet requesting data.
|
Modifier and Type | Method and Description |
---|---|
SnmpCollectionSet |
getCollectionSet()
getCollectionSet
|
SNMPCollectorEntry |
getEntry()
Returns the list of all entry maps that can be used to access all the
information from the service polling.
|
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, setTimedOut
failed, getCollectionTracker, getParent, reportTooBigErr, setFinished, setParent, timedOut
public SnmpNodeCollector(InetAddress address, Collection<SnmpAttributeType> objList, SnmpCollectionSet collectionSet)
address
- TODOobjList
- The list of object id's to be collected.collectionSet
- TODOpublic SNMPCollectorEntry getEntry()
SNMPCollectorEntry
object.protected void reportGenErr(String msg)
reportGenErr
in class CollectionTracker
protected void reportNoSuchNameErr(String msg)
reportNoSuchNameErr
in class CollectionTracker
protected void reportFatalErr(ErrorStatusException ex)
reportFatalErr
in class CollectionTracker
protected void reportNonFatalErr(ErrorStatus status)
reportNonFatalErr
in class CollectionTracker
protected void storeResult(SnmpResult res)
storeResult
in class CollectionTracker
public SnmpCollectionSet getCollectionSet()
getCollectionSet
SnmpCollectionSet
object.Copyright © 2021. All rights reserved.