public class DefaultCollectionAgentFactory extends Object implements CollectionAgentFactory
| Constructor and Description |
|---|
DefaultCollectionAgentFactory() |
| Modifier and Type | Method and Description |
|---|---|
CollectionAgent |
createCollectionAgent(OnmsIpInterface ipIf) |
CollectionAgent |
createCollectionAgent(String nodeCriteria,
InetAddress ipAddr) |
CollectionAgent |
createCollectionAgentAndOverrideLocation(String nodeCriteria,
InetAddress ipAddr,
String location)
Create a collection agent for the given IP interface, and
optionally override the node's location.
|
public CollectionAgent createCollectionAgentAndOverrideLocation(String nodeCriteria, InetAddress ipAddr, String location)
CollectionAgentFactorycreateCollectionAgentAndOverrideLocation in interface CollectionAgentFactorynodeCriteria - node id or fs:fidipAddr - ip address associated with the nodelocation - null if the nodes existing location should be usedCollectionAgentpublic CollectionAgent createCollectionAgent(String nodeCriteria, InetAddress ipAddr)
createCollectionAgent in interface CollectionAgentFactorypublic CollectionAgent createCollectionAgent(OnmsIpInterface ipIf)
createCollectionAgent in interface CollectionAgentFactoryCopyright © 2018. All rights reserved.