Package org.opennms.mock.snmp
Class AgentConfigData
- java.lang.Object
-
- org.opennms.mock.snmp.AgentConfigData
-
public class AgentConfigData extends Object
- Author:
- ranger
-
-
Field Summary
Fields Modifier and Type Field Description InetAddress
m_listenAddr
int
m_listenPort
URL
m_moFile
-
Constructor Summary
Constructors Modifier Constructor Description AgentConfigData()
protected
AgentConfigData(String moFileSpec, String listenAddr, int listenPort)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InetAddress
getListenAddr()
long
getListenPort()
URL
getMoFile()
void
setListenAddr(InetAddress listenAddr)
void
setListenPort(int listenPort)
void
setMoFile(URL moFile)
-
-
-
Field Detail
-
m_moFile
public URL m_moFile
-
m_listenAddr
public InetAddress m_listenAddr
-
m_listenPort
public int m_listenPort
-
-
Constructor Detail
-
AgentConfigData
public AgentConfigData()
-
AgentConfigData
protected AgentConfigData(String moFileSpec, String listenAddr, int listenPort) throws UnknownHostException, MalformedURLException
-
-
Method Detail
-
getMoFile
public URL getMoFile()
-
setMoFile
public void setMoFile(URL moFile)
-
getListenAddr
public InetAddress getListenAddr()
-
setListenAddr
public void setListenAddr(InetAddress listenAddr)
-
getListenPort
public long getListenPort()
-
setListenPort
public void setListenPort(int listenPort)
-
-