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, isFinished, setFailed, setMaxRepetitions, setMaxRetries, setTimedOutfailed, getCollectionTracker, getParent, reportTooBigErr, setFinished, setParent, timedOutpublic 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 CollectionTrackerprotected void reportNoSuchNameErr(String msg)
reportNoSuchNameErr in class CollectionTrackerprotected void reportFatalErr(ErrorStatusException ex)
reportFatalErr in class CollectionTrackerprotected void reportNonFatalErr(ErrorStatus status)
reportNonFatalErr in class CollectionTrackerprotected void storeResult(SnmpResult res)
storeResult in class CollectionTrackerpublic SnmpCollectionSet getCollectionSet()
getCollectionSet
SnmpCollectionSet object.Copyright © 2018. All rights reserved.