org.opennms.secret.web.snmpinfo
Class SnmpInfo

java.lang.Object
  extended by org.opennms.secret.web.snmpinfo.SnmpInfo

public class SnmpInfo
extends Object


Constructor Summary
SnmpInfo()
           
SnmpInfo(org.opennms.netmgt.snmp.SnmpAgentConfig config)
           
 
Method Summary
 SnmpEventInfo createEventInfo(String ipAddr)
           
 String getCommunity()
           
 int getPort()
           
 int getRetries()
           
 int getTimeout()
           
 String getVersion()
           
 void setCommunity(String community)
           
 void setPort(int port)
           
 void setRetries(int retries)
           
 void setTimeout(int timeout)
           
 void setVersion(String version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnmpInfo

public SnmpInfo()

SnmpInfo

public SnmpInfo(org.opennms.netmgt.snmp.SnmpAgentConfig config)
Parameters:
config -
Method Detail

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.