|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.daemon.AbstractServiceDaemon
org.opennms.netmgt.linkd.Linkd
public class Linkd
Linkd class.
| Field Summary |
|---|
| Fields inherited from interface org.opennms.core.fiber.PausableFiber |
|---|
PAUSE_PENDING, PAUSED, RESUME_PENDING |
| Fields inherited from interface org.opennms.core.fiber.Fiber |
|---|
RUNNING, START_PENDING, STARTING, STATUS_NAMES, STOP_PENDING, STOPPED |
| Constructor Summary | |
|---|---|
Linkd()
Constructor for Linkd. |
|
| Method Summary | |
|---|---|
SnmpCollection |
createCollection(int nodeid,
InetAddress ipaddr)
|
DiscoveryLink |
getDiscoveryLink(String pkgName)
|
EventForwarder |
getEventForwarder()
|
Collection<LinkableNode> |
getLinkableNodes()
getLinkableNodes |
Collection<LinkableNode> |
getLinkableNodesOnPackage(String pkg)
getLinkableNodesOnPackage |
LinkdConfig |
getLinkdConfig()
getLinkdConfig |
QueryManager |
getQueryManager()
|
Scheduler |
getScheduler()
getScheduler |
SnmpCollection |
getSnmpCollection(int nodeid,
InetAddress ipaddr,
String sysoid,
String pkgName)
|
List<SnmpCollection> |
getSnmpCollections(int nodeid,
InetAddress ipaddr,
String sysoid)
|
boolean |
isInterfaceInPackage(InetAddress ipaddr,
String pkg)
isInterfaceInPackage |
boolean |
isInterfaceInPackageRange(InetAddress ipaddr,
String pkg)
isInterfaceInPackageRange |
protected void |
onInit()
onInit |
protected void |
onPause()
onPause |
protected void |
onResume()
onResume |
protected void |
onStart()
onStart |
protected void |
onStop()
onStop |
boolean |
runSingleCollection(int nodeId)
|
boolean |
scheduleNodeCollection(int nodeid)
|
void |
setEventForwarder(EventForwarder eventForwarder)
|
void |
setLinkdConfig(LinkdConfig config)
setLinkdConfig |
void |
setQueryManager(QueryManager queryMgr)
setQueryManager |
void |
setScheduler(Scheduler scheduler)
setScheduler |
void |
updateNodeSnmpCollection(SnmpCollection snmpcoll)
Method that updates info in List nodes and also save info into database. |
| Methods inherited from class org.opennms.netmgt.daemon.AbstractServiceDaemon |
|---|
afterPropertiesSet, debugf, debugf, errorf, errorf, fatalf, fatalf, getName, getStatus, getStatusText, infof, infof, init, isPaused, isRunning, isStarting, isStartPending, log, pause, resume, setStatus, start, status, stop, waitForStatus, waitForStatus, warnf, warnf |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Linkd()
Constructor for Linkd.
| Method Detail |
|---|
protected void onInit()
onInit
onInit in class AbstractServiceDaemonpublic 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 AbstractServiceDaemonprotected void onStop()
onStop
onStop in class AbstractServiceDaemonprotected void onPause()
onPause
onPause in class AbstractServiceDaemonprotected void onResume()
onResume
onResume in class AbstractServiceDaemonpublic 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
ipaddr - a String object.pkg - a String object.
public boolean isInterfaceInPackageRange(InetAddress ipaddr,
String pkg)
isInterfaceInPackageRange
ipaddr - a String object.pkg - a String object.
public boolean scheduleNodeCollection(int nodeid)
public boolean runSingleCollection(int nodeId)
@Transactional public void updateNodeSnmpCollection(SnmpCollection snmpcoll)
snmpcoll - public QueryManager getQueryManager()
public void setQueryManager(QueryManager queryMgr)
setQueryManager
queryMgr - a QueryManager object.public Scheduler getScheduler()
getScheduler
Scheduler 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 set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||