public class Linkd extends AbstractServiceDaemon
Linkd class.
PAUSE_PENDING, PAUSED, RESUME_PENDING
RUNNING, START_PENDING, STARTING, STATUS_NAMES, STOP_PENDING, STOPPED
Constructor and Description |
---|
Linkd()
Constructor for Linkd.
|
afterPropertiesSet, debugf, debugf, destroy, errorf, errorf, fatalf, fatalf, getName, getStatus, getStatusText, infof, infof, init, isPaused, isRunning, isStarting, log, pause, resume, setStatus, start, status, stop, waitForStatus, waitForStatus, warnf, warnf
protected void onInit()
onInit
onInit
in class AbstractServiceDaemon
public DiscoveryLink getDiscoveryLink(String pkgName)
public SnmpCollection getSnmpCollection(int nodeid, InetAddress ipaddr, String sysoid, String pkgName)
nodeid
- public List<SnmpCollection> getSnmpCollections(int nodeid, InetAddress ipaddr, String sysoid)
nodeid
- public SnmpCollection createCollection(int nodeid, InetAddress ipaddr)
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<LinkableNode> getLinkableNodes()
getLinkableNodes
Collection
object.public Collection<LinkableNode> getLinkableNodesOnPackage(String pkg)
getLinkableNodesOnPackage
pkg
- a String
object.Collection
object.public boolean isInterfaceInPackage(InetAddress ipaddr, String pkg)
isInterfaceInPackage
public boolean isInterfaceInPackageRange(InetAddress ipaddr, String pkg)
isInterfaceInPackageRange
public boolean scheduleNodeCollection(int nodeid)
public boolean runSingleCollection(int nodeId)
public boolean runSingleSnmpCollection(int nodeId)
public boolean runSingleLinkDiscovery(String packageName)
@Transactional public void updateNodeSnmpCollection(SnmpCollection snmpcoll)
snmpcoll
- public QueryManager getQueryManager()
public void setQueryManager(QueryManager queryMgr)
setQueryManager
queryMgr
- a QueryManager
object.public void setScheduler(Scheduler scheduler)
setScheduler
scheduler
- a Scheduler
object.public LinkdConfig getLinkdConfig()
getLinkdConfig
LinkdConfig
object.public void setLinkdConfig(LinkdConfig config)
setLinkdConfig
config
- a LinkdConfig
object.public EventForwarder getEventForwarder()
public void setEventForwarder(EventForwarder eventForwarder)
eventForwarder
- the eventForwarder to setpublic void addPackage(String packageName)
public void addAtInterface(AtInterface atinterface)
public List<AtInterface> getAtInterfaces(String packageName, String macAddress)
public void clearAtInterfaces(String packageName)
public String getSource()
Copyright © 2015. All Rights Reserved.