public class ProxySnmpAgentConfigFactory extends SnmpPeerFactory
Constructor and Description |
---|
ProxySnmpAgentConfigFactory(InputStream config) |
Modifier and Type | Method and Description |
---|---|
SnmpAgentConfig |
getAgentConfig(InetAddress address)
getAgentConfig
|
define, 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
getAgentConfig
in interface SnmpAgentConfigFactory
getAgentConfig
in class SnmpPeerFactory
address
- a InetAddress
object.SnmpAgentConfig
object.Copyright © 2016. All rights reserved.