Package org.opennms.netmgt.enlinkd
Class NodeDiscoveryIpNetToMedia
- java.lang.Object
-
- org.opennms.netmgt.enlinkd.common.Discovery
-
- org.opennms.netmgt.enlinkd.common.NodeCollector
-
- org.opennms.netmgt.enlinkd.NodeDiscoveryIpNetToMedia
-
- All Implemented Interfaces:
Runnable
,ReadyRunnable
public final class NodeDiscoveryIpNetToMedia extends NodeCollector
This class is designed to collect the necessary SNMP information from the target address and store the collected information. When the class is initially constructed no information is collected. The SNMP Session creating and collection occurs in the main run method of the instance. This allows the collection to occur in a thread if necessary.
-
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.enlinkd.common.NodeCollector
m_node
-
-
Constructor Summary
Constructors Constructor Description NodeDiscoveryIpNetToMedia(IpNetToMediaTopologyService ipNetToMediaTopologyService, LocationAwareSnmpClient locationAwareSnmpClient, long interval, long initial, Node node)
Constructs a new SNMP collector for IpNetToMedia Node Discovery.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
collect()
String
getName()
-
Methods inherited from class org.opennms.netmgt.enlinkd.common.NodeCollector
equals, getInfo, getLocation, getLocationAwareSnmpClient, getNode, getNodeId, getPrimaryIpAddress, getPrimaryIpAddressString, getSnmpAgentConfig, getSysname, getSysoid, hashCode, runDiscovery
-
Methods inherited from class org.opennms.netmgt.enlinkd.common.Discovery
getInitialSleepTime, getPollInterval, getScheduler, isReady, run, schedule, setInitialSleepTime, setPollInterval, setScheduler, suspend, unschedule, wakeUp
-
-
-
-
Constructor Detail
-
NodeDiscoveryIpNetToMedia
public NodeDiscoveryIpNetToMedia(IpNetToMediaTopologyService ipNetToMediaTopologyService, LocationAwareSnmpClient locationAwareSnmpClient, long interval, long initial, Node node)
Constructs a new SNMP collector for IpNetToMedia Node Discovery. The collection does not occur until therun
method is invoked.- Parameters:
EnhancedLinkd
- linkdLinkableNode
- node
-
-
Method Detail
-
collect
public void collect()
- Specified by:
collect
in classNodeCollector
-
-