Package org.opennms.netmgt.enlinkd
Class NodeDiscoveryCdp
- java.lang.Object
- 
- org.opennms.netmgt.enlinkd.common.Discovery
- 
- org.opennms.netmgt.enlinkd.common.NodeCollector
- 
- org.opennms.netmgt.enlinkd.NodeDiscoveryCdp
 
 
 
- 
- All Implemented Interfaces:
- Runnable,- ReadyRunnable
 
 public final class NodeDiscoveryCdp 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.NodeCollectorm_node
 
- 
 - 
Constructor SummaryConstructors Constructor Description NodeDiscoveryCdp(CdpTopologyService cdpTopologyService, LocationAwareSnmpClient locationAwareSnmpClient, long interval, long initial, Node node)Constructs a new SNMP collector for Cdp Node Discovery.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcollect()StringgetName()- 
Methods inherited from class org.opennms.netmgt.enlinkd.common.NodeCollectorequals, getInfo, getLocation, getLocationAwareSnmpClient, getNode, getNodeId, getPrimaryIpAddress, getPrimaryIpAddressString, getSnmpAgentConfig, getSysname, getSysoid, hashCode, runDiscovery
 - 
Methods inherited from class org.opennms.netmgt.enlinkd.common.DiscoverygetInitialSleepTime, getPollInterval, getScheduler, isReady, run, schedule, setInitialSleepTime, setPollInterval, setScheduler, suspend, unschedule, wakeUp
 
- 
 
- 
- 
- 
Constructor Detail- 
NodeDiscoveryCdppublic NodeDiscoveryCdp(CdpTopologyService cdpTopologyService, LocationAwareSnmpClient locationAwareSnmpClient, long interval, long initial, Node node) Constructs a new SNMP collector for Cdp Node Discovery. The collection does not occur until therunmethod is invoked.
 
- 
 - 
Method Detail- 
collectpublic void collect() - Specified by:
- collectin class- NodeCollector
 
 
- 
 
-