@Component @Scope(value="prototype") public class BgpSessionDetector extends SnmpDetector
DEFAULT_SERVICE_NAME
Constructor and Description |
---|
BgpSessionDetector()
Constructor for BgpSessionDetector.
|
Modifier and Type | Method and Description |
---|---|
String |
getBgpPeerIp()
getBgpPeerIp
|
boolean |
isServiceDetected(InetAddress address)
isServiceDetected
|
void |
setBgpPeerIp(String bgpPeerIp)
setBgpPeerIp
|
afterPropertiesSet, configureAgentPTR, configureAgentVersion, dispose, getAgentConfigFactory, getForceVersion, getOid, getValue, getVbvalue, onInit, setAgentConfigFactory, setForceVersion, setOid, setVbvalue
getIpMatch, getPort, getRetries, getServiceName, getTimeout, init, setIpMatch, setPort, setRetries, setServiceName, setTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getIpMatch, getPort, getServiceName, getTimeout, init, setIpMatch, setPort, setServiceName, setTimeout
public BgpSessionDetector()
Constructor for BgpSessionDetector.
public boolean isServiceDetected(InetAddress address)
isServiceDetected
Returns true if the protocol defined by this plugin is supported. If the protocol is not supported then a false value is returned to the caller. The qualifier map passed to the method is used by the plugin to return additional information by key-name. These key-value pairs can be added to service events if needed.isServiceDetected
in interface SyncServiceDetector
isServiceDetected
in class SnmpDetector
address
- a InetAddress
object.public void setBgpPeerIp(String bgpPeerIp)
setBgpPeerIp
bgpPeerIp
- a String
object.Copyright © 2016. All rights reserved.