|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.provision.support.AbstractDetector
org.opennms.netmgt.provision.detector.endpoint.EndPointDetector
@Component @Scope(value="prototype") public class EndPointDetector
| Field Summary | |
|---|---|
protected static String |
DEFAULT_SERVICE_NAME
Constant DEFAULT_SERVICE_NAME="EndPoint" |
| Constructor Summary | |
|---|---|
EndPointDetector()
Constructor for EndPointDetector. |
|
EndPointDetector(String serviceName,
int port)
Constructor for creating a non-default service based on this protocol |
|
| Method Summary | |
|---|---|
protected void |
configureAgentPTR(SnmpAgentConfig agentConfig)
configureAgentPTR |
protected void |
configureAgentVersion(SnmpAgentConfig agentConfig)
configureAgentVersion |
void |
dispose()
dispose |
SnmpAgentConfigFactory |
getAgentConfigFactory()
getAgentConfigFactory |
EndPointConfigurationDao |
getEndPointConfigurationDao()
getEndPointConfigurationDao |
String |
getForceVersion()
getForceVersion |
protected String |
getValue(SnmpAgentConfig agentConfig,
String oid)
getValue |
void |
init()
init |
boolean |
isServiceDetected(InetAddress address,
DetectorMonitor detectMonitor)
isServiceDetected |
protected void |
onInit()
onInit |
void |
setAgentConfigFactory(SnmpAgentConfigFactory agentConfigFactory)
setAgentConfigFactory |
void |
setEndPointConfigurationDao(EndPointConfigurationDao dao)
setEndPointConfigurationDao |
void |
setForceVersion(String forceVersion)
setForceVersion |
| Methods inherited from class org.opennms.netmgt.provision.support.AbstractDetector |
|---|
getPort, getRetries, getServiceName, getTimeout, log, setPort, setRetries, setServiceName, setTimeout |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String DEFAULT_SERVICE_NAME
DEFAULT_SERVICE_NAME="EndPoint"
| Constructor Detail |
|---|
public EndPointDetector()
Constructor for EndPointDetector.
public EndPointDetector(String serviceName,
int port)
serviceName - a String object.port - a int.| Method Detail |
|---|
public void init()
init
init in interface ServiceDetectorinit in class AbstractDetector
public boolean isServiceDetected(InetAddress address,
DetectorMonitor detectMonitor)
isServiceDetected
isServiceDetected in interface SyncServiceDetectorisServiceDetected in class AbstractDetectoraddress - a InetAddress object.detectMonitor - a DetectorMonitor object.
protected void configureAgentVersion(SnmpAgentConfig agentConfig)
configureAgentVersion
agentConfig - a SnmpAgentConfig object.protected void configureAgentPTR(SnmpAgentConfig agentConfig)
configureAgentPTR
agentConfig - a SnmpAgentConfig object.
protected String getValue(SnmpAgentConfig agentConfig,
String oid)
getValue
agentConfig - a SnmpAgentConfig object.oid - a String object.
String object.public void setForceVersion(String forceVersion)
setForceVersion
forceVersion - a String object.public String getForceVersion()
getForceVersion
String object.public void setAgentConfigFactory(SnmpAgentConfigFactory agentConfigFactory)
setAgentConfigFactory
agentConfigFactory - a SnmpAgentConfigFactory object.public SnmpAgentConfigFactory getAgentConfigFactory()
getAgentConfigFactory
SnmpAgentConfigFactory object.public void setEndPointConfigurationDao(EndPointConfigurationDao dao)
setEndPointConfigurationDao
dao - a EndPointConfigurationDao object.public EndPointConfigurationDao getEndPointConfigurationDao()
getEndPointConfigurationDao
EndPointConfigurationDao object.protected void onInit()
onInit
onInit in class AbstractDetectorpublic void dispose()
dispose
dispose in interface ServiceDetectordispose in class AbstractDetector
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||