public class EnhancedLinkd extends AbstractServiceDaemon
Linkd class.
PAUSE_PENDING, PAUSED, RESUME_PENDING
RUNNING, START_PENDING, STARTING, STATUS_NAMES, STOP_PENDING, STOPPED
Constructor and Description |
---|
EnhancedLinkd()
Constructor for EnhancedLinkd.
|
afterPropertiesSet, destroy, getName, getStatus, getStatusText, init, isPaused, isRunning, isStarting, pause, resume, setStatus, start, status, stop, waitForStatus, waitForStatus
protected void onInit()
onInit
onInit
in class AbstractServiceDaemon
public List<NodeDiscovery> getSnmpCollections(Node node)
nodeid
- public NodeDiscovery getNodeBridgeDiscoveryTopology(Node node)
protected void onStart()
onStart
onStart
in class AbstractServiceDaemon
protected void onStop()
onStop
onStop
in class AbstractServiceDaemon
protected void onPause()
onPause
onPause
in class AbstractServiceDaemon
protected void onResume()
onResume
onResume
in class AbstractServiceDaemon
public Collection<Node> getLinkableNodes()
getLinkableNodes
Collection
object.public boolean scheduleNodeCollection(int nodeid)
public boolean runSingleSnmpCollection(int nodeId)
public boolean runTopologyDiscovery(int nodeId)
public void scheduleBridgeTopologyDiscovery(int nodeId)
public EnhancedLinkdService getQueryManager()
public void setQueryManager(EnhancedLinkdService queryMgr)
setQueryManager
queryMgr
- a org.opennms.netmgt.linkd.EnhancedLinkdService
object.public void setScheduler(Scheduler scheduler)
setScheduler
scheduler
- a Scheduler
object.public EnhancedLinkdConfig getLinkdConfig()
getLinkdConfig
org.opennms.netmgt.config.LinkdConfig
object.public void setLinkdConfig(EnhancedLinkdConfig config)
setLinkdConfig
config
- a org.opennms.netmgt.config.LinkdConfig
object.public EventForwarder getEventForwarder()
public void setEventForwarder(EventForwarder eventForwarder)
eventForwarder
- the eventForwarder to setpublic String getSource()
public SnmpAgentConfig getSnmpAgentConfig(InetAddress ipaddr)
public long getInitialSleepTime()
public long getRescanInterval()
public int getMaxbft()
public boolean collectBft(int nodeid)
public void collectedBft(int nodeid)
Copyright © 2017. All rights reserved.