Class AbstractSnmpScanner
- java.lang.Object
-
- org.opennms.netmgt.provision.scan.snmp.AbstractSnmpScanner
-
- All Implemented Interfaces:
Scanner
- Direct Known Subclasses:
SnmpNodeScanner
public class AbstractSnmpScanner extends Object implements Scanner
AbstractSnmpScanner class.
- Version:
- $Id: $
- Author:
- brozow
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AbstractSnmpScanner.SnmpExchange
static interface
AbstractSnmpScanner.Storer
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractSnmpScanner(String name)
Constructor for AbstractSnmpScanner.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
getNameprotected AbstractSnmpScanner.SnmpExchange
getSingleInstance(String base, String inst)
getSingleInstancevoid
init()
initprotected void
onInit()
onInitvoid
scan(ScanContext context)
scanvoid
setSnmpAgentConfigFactory(SnmpAgentConfigFactory snmpPeerFactory)
setSnmpAgentConfigFactory
-
-
-
Method Detail
-
setSnmpAgentConfigFactory
public void setSnmpAgentConfigFactory(SnmpAgentConfigFactory snmpPeerFactory)
setSnmpAgentConfigFactory
- Parameters:
snmpPeerFactory
- aSnmpAgentConfigFactory
object.
-
onInit
protected void onInit()
onInit
-
scan
public void scan(ScanContext context) throws InterruptedException
scan
- Specified by:
scan
in interfaceScanner
- Parameters:
context
- aScanContext
object.- Throws:
InterruptedException
-
getSingleInstance
protected AbstractSnmpScanner.SnmpExchange getSingleInstance(String base, String inst)
getSingleInstance
- Parameters:
base
- aString
object.inst
- aString
object.- Returns:
- a
AbstractSnmpScanner.SnmpExchange
object.
-
-