org.opennms.netmgt.provision.detector.snmp
Class SnmpDetector
java.lang.Object
org.opennms.netmgt.provision.support.AbstractDetector
org.opennms.netmgt.provision.detector.snmp.SnmpDetector
- All Implemented Interfaces:
- ServiceDetector, SyncServiceDetector
@Component
@Scope(value="prototype")
public class SnmpDetector
- extends AbstractDetector
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SnmpDetector
public SnmpDetector()
SnmpDetector
public SnmpDetector(String serviceName,
int port)
- Constructor for creating a non-default service based on this protocol
- Parameters:
serviceName - port -
init
public void init()
- Specified by:
init in interface ServiceDetector- Overrides:
init in class AbstractDetector
isServiceDetected
public boolean isServiceDetected(InetAddress address,
DetectorMonitor detectMonitor)
- Specified by:
isServiceDetected in interface SyncServiceDetector- Specified by:
isServiceDetected in class AbstractDetector
setOid
public void setOid(String oid)
getOid
public String getOid()
setForceVersion
public void setForceVersion(String forceVersion)
getForceVersion
public String getForceVersion()
setVbvalue
public void setVbvalue(String vbvalue)
getVbvalue
public String getVbvalue()
setAgentConfigFactory
public void setAgentConfigFactory(SnmpAgentConfigFactory agentConfigFactory)
getAgentConfigFactory
public SnmpAgentConfigFactory getAgentConfigFactory()
onInit
protected void onInit()
- Specified by:
onInit in class AbstractDetector
dispose
public void dispose()
- Specified by:
dispose in interface ServiceDetector- Specified by:
dispose in class AbstractDetector
Copyright © 2009. All Rights Reserved.