Package org.opennms.netmgt.snmp.joesnmp
Class JoeSnmpAgentConfig
- java.lang.Object
-
- org.opennms.netmgt.snmp.joesnmp.JoeSnmpAgentConfig
-
public class JoeSnmpAgentConfig extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description JoeSnmpAgentConfig(SnmpAgentConfig config)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static int
convertVersion(int version)
java.net.InetAddress
getAddress()
java.lang.String
getAuthPassPhrase()
java.lang.String
getAuthProtocol()
int
getMaxRepetitions()
int
getMaxRequestSize()
int
getMaxVarsPerPdu()
int
getPort()
java.lang.String
getPrivPassPhrase()
java.lang.String
getPrivProtocol()
java.lang.String
getReadCommunity()
int
getRetries()
int
getSecurityLevel()
java.lang.String
getSecurityName()
int
getTimeout()
int
getVersion()
java.lang.String
getWriteCommunity()
int
hashCode()
void
setAddress(java.net.InetAddress address)
void
setAuthPassPhrase(java.lang.String authPassPhrase)
void
setAuthProtocol(java.lang.String authProtocol)
void
setMaxRepetitions(int maxRepetitions)
void
setMaxRequestSize(int maxRequestSize)
void
setMaxVarsPerPdu(int maxVarsPerPdu)
void
setPort(int port)
void
setPrivPassPhrase(java.lang.String privPassPhrase)
void
setPrivProtocol(java.lang.String authPrivProtocol)
void
setReadCommunity(java.lang.String community)
void
setRetries(int retries)
void
setSecurityLevel(int securityLevel)
void
setSecurityName(java.lang.String securityName)
void
setTimeout(int timeout)
void
setVersion(int version)
void
setWriteCommunity(java.lang.String community)
java.lang.String
toString()
-
-
-
Constructor Detail
-
JoeSnmpAgentConfig
public JoeSnmpAgentConfig(SnmpAgentConfig config)
-
-
Method Detail
-
getAddress
public java.net.InetAddress getAddress()
-
getAuthPassPhrase
public java.lang.String getAuthPassPhrase()
-
getAuthProtocol
public java.lang.String getAuthProtocol()
-
getMaxRequestSize
public int getMaxRequestSize()
-
getMaxVarsPerPdu
public int getMaxVarsPerPdu()
-
getMaxRepetitions
public int getMaxRepetitions()
-
getPort
public int getPort()
-
getPrivPassPhrase
public java.lang.String getPrivPassPhrase()
-
getPrivProtocol
public java.lang.String getPrivProtocol()
-
getReadCommunity
public java.lang.String getReadCommunity()
-
getRetries
public int getRetries()
-
getSecurityLevel
public int getSecurityLevel()
-
getSecurityName
public java.lang.String getSecurityName()
-
getTimeout
public int getTimeout()
-
getVersion
public int getVersion()
-
getWriteCommunity
public java.lang.String getWriteCommunity()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
setAddress
public void setAddress(java.net.InetAddress address)
-
setAuthPassPhrase
public void setAuthPassPhrase(java.lang.String authPassPhrase)
-
setAuthProtocol
public void setAuthProtocol(java.lang.String authProtocol)
-
setMaxRequestSize
public void setMaxRequestSize(int maxRequestSize)
-
setMaxVarsPerPdu
public void setMaxVarsPerPdu(int maxVarsPerPdu)
-
setMaxRepetitions
public void setMaxRepetitions(int maxRepetitions)
-
setPort
public void setPort(int port)
-
setPrivPassPhrase
public void setPrivPassPhrase(java.lang.String privPassPhrase)
-
setPrivProtocol
public void setPrivProtocol(java.lang.String authPrivProtocol)
-
setReadCommunity
public void setReadCommunity(java.lang.String community)
-
setRetries
public void setRetries(int retries)
-
setSecurityLevel
public void setSecurityLevel(int securityLevel)
-
setSecurityName
public void setSecurityName(java.lang.String securityName)
-
setTimeout
public void setTimeout(int timeout)
-
setVersion
public void setVersion(int version)
-
setWriteCommunity
public void setWriteCommunity(java.lang.String community)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
convertVersion
public static int convertVersion(int version)
-
-