Package org.opennms.netmgt.enlinkd
Class NodeDiscoveryBridge
- java.lang.Object
-
- org.opennms.netmgt.enlinkd.common.Discovery
-
- org.opennms.netmgt.enlinkd.common.NodeCollector
-
- org.opennms.netmgt.enlinkd.NodeDiscoveryBridge
-
- All Implemented Interfaces:
Runnable,ReadyRunnable
public final class NodeDiscoveryBridge 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 NodeDiscoveryBridge(BridgeTopologyService bridgeTopologyService, int maxSize, LocationAwareSnmpClient locationAwareSnmpClient, long interval, long initial, Node node, boolean disableBridgeVlanDiscovery)Constructs a new SNMP collector for Bridge Node Discovery.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcollect()StringgetName()booleanisReady()isReady-
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, run, schedule, setInitialSleepTime, setPollInterval, setScheduler, suspend, unschedule, wakeUp
-
-
-
-
Constructor Detail
-
NodeDiscoveryBridge
public NodeDiscoveryBridge(BridgeTopologyService bridgeTopologyService, int maxSize, LocationAwareSnmpClient locationAwareSnmpClient, long interval, long initial, Node node, boolean disableBridgeVlanDiscovery)
Constructs a new SNMP collector for Bridge Node Discovery. The collection does not occur until therunmethod is invoked.- Parameters:
EnhancedLinkd- linkdLinkableNode- node
-
-
Method Detail
-
collect
public void collect()
- Specified by:
collectin classNodeCollector
-
isReady
public boolean isReady()
Description copied from class:DiscoveryisReady
- Specified by:
isReadyin interfaceReadyRunnable- Overrides:
isReadyin classDiscovery- Returns:
- a boolean.
-
-