public class EnhancedLinkd extends AbstractServiceDaemon
Linkd class.
PAUSE_PENDING, PAUSED, RESUME_PENDINGRUNNING, 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, waitForStatusprotected void onInit()
onInit
onInit in class AbstractServiceDaemonpublic List<NodeDiscovery> getSnmpCollections(Node node)
nodeid - protected void onStart()
onStart
onStart in class AbstractServiceDaemonprotected void onStop()
onStop
onStop in class AbstractServiceDaemonprotected void onPause()
onPause
onPause in class AbstractServiceDaemonprotected void onResume()
onResume
onResume in class AbstractServiceDaemonpublic Collection<Node> getLinkableNodes()
getLinkableNodes
Collection object.public boolean scheduleNodeCollection(int nodeid)
public boolean runSingleSnmpCollection(int nodeId)
public boolean runTopologyDiscovery(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()
Copyright © 2016. All rights reserved.