public class ProxySnmpAgentConfigFactory extends SnmpPeerFactory
Constructor and Description |
---|
ProxySnmpAgentConfigFactory(InputStream config) |
Modifier and Type | Method and Description |
---|---|
SnmpAgentConfig |
getAgentConfig(InetAddress address) |
SnmpAgentConfig |
getAgentConfig(InetAddress address,
String location)
getAgentConfig
|
define, getAgentConfig, getAgentConfig, getFile, getInstance, getReadLock, getSnmpConfig, getSnmpConfigAsString, getVersionCode, getWriteLock, init, saveCurrent, saveToFile, setFile, setInstance
public ProxySnmpAgentConfigFactory(InputStream config) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException, FileNotFoundException, IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
FileNotFoundException
IOException
public SnmpAgentConfig getAgentConfig(InetAddress address)
SnmpPeerFactory
getAgentConfig
in class SnmpPeerFactory
public SnmpAgentConfig getAgentConfig(InetAddress address, String location)
SnmpAgentConfigFactory
getAgentConfig
getAgentConfig
in interface SnmpAgentConfigFactory
getAgentConfig
in class SnmpPeerFactory
address
- a InetAddress
object.location
- a String
object.SnmpAgentConfig
object.Copyright © 2017. All rights reserved.