org.opennms.secret.web.snmpinfo
Class SnmpInfo
java.lang.Object
org.opennms.secret.web.snmpinfo.SnmpInfo
public class SnmpInfo
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SnmpInfo
public SnmpInfo()
SnmpInfo
public SnmpInfo(org.opennms.netmgt.snmp.SnmpAgentConfig config)
- Parameters:
config -
getCommunity
public String getCommunity()
- Returns:
- the community
setCommunity
public void setCommunity(String community)
- Parameters:
community - the community to set
getVersion
public String getVersion()
- Returns:
- the version
setVersion
public void setVersion(String version)
- Parameters:
version - the version to set
getPort
public int getPort()
- Returns:
- the port
setPort
public void setPort(int port)
- Parameters:
port - the port to set
getRetries
public int getRetries()
- Returns:
- the retries
setRetries
public void setRetries(int retries)
- Parameters:
retries - the retries to set
getTimeout
public int getTimeout()
- Returns:
- the timeout
setTimeout
public void setTimeout(int timeout)
- Parameters:
timeout - the timeout to set
createEventInfo
public SnmpEventInfo createEventInfo(String ipAddr)
throws UnknownHostException
- Returns:
-
- Throws:
UnknownHostException
Copyright © 2009. All Rights Reserved.