org.opennms.netmgt.linkd
Class DbEventWriter
java.lang.Object
org.opennms.netmgt.linkd.DbEventWriter
- All Implemented Interfaces:
- java.lang.Runnable
public class DbEventWriter
- extends java.lang.Object
- implements java.lang.Runnable
This class is used to store informations owned by SnmpCollection
and DiscoveryLink Classes in DB.
When saving Snmp Collection it populate Bean LinkableNode
with information for DiscoveryLink.
It performes data test for DiscoveryLink.
Also take correct action on DB tables in case node is deleted
service SNMP is discovered, service SNMP is Lost and Regained
- Author:
- antonio
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DbEventWriter
public DbEventWriter(int nodeid,
SnmpCollection m_snmpcoll)
- Parameters:
m_snmpcoll -
DbEventWriter
public DbEventWriter(int nodeid,
char action)
- Parameters:
nodeid - action -
DbEventWriter
public DbEventWriter(org.opennms.netmgt.linkd.DiscoveryLink discoverLink)
run
public void run()
- Specified by:
run in interface java.lang.Runnable
getLinkableNode
public LinkableNode getLinkableNode()
isAutoDiscovery
public boolean isAutoDiscovery()
setAutoDiscovery
public void setAutoDiscovery(boolean autoDiscovery)
Copyright © 2007. All Rights Reserved.