public class SnmpConfig extends Configuration implements Serializable
Constructor and Description |
---|
SnmpConfig() |
SnmpConfig(Integer port,
Integer retry,
Integer timeout,
String readCommunity,
String writeCommunity,
String proxyHost,
String version,
Integer maxVarsPerPdu,
Integer maxRepetitions,
Integer maxRequestSize,
String securityName,
Integer securityLevel,
String authPassphrase,
String authProtocol,
String engineId,
String contextEngineId,
String contextName,
String privacyPassphrase,
String privacyProtocol,
String enterpriseId,
List<Definition> definitions) |
Modifier and Type | Method and Description |
---|---|
void |
addDefinition(Definition definitions) |
boolean |
equals(Object obj) |
Definition |
findDefinition(InetAddress agentInetAddress) |
List<Definition> |
getDefinitions() |
SnmpProfiles |
getSnmpProfiles() |
int |
hashCode() |
boolean |
removeDefinition(Definition definitions) |
void |
setDefinitions(List<Definition> definitions) |
void |
setSnmpProfiles(SnmpProfiles snmpProfiles) |
String |
toString() |
void |
visit(SnmpConfigVisitor visitor) |
deleteMaxRepetitions, deleteMaxRequestSize, deleteMaxVarsPerPdu, deletePort, deleteRetry, deleteSecurityLevel, deleteTimeout, getAuthPassphrase, getAuthProtocol, getContextEngineId, getContextName, getEngineId, getEnterpriseId, getMaxRepetitions, getMaxRequestSize, getMaxVarsPerPdu, getPort, getPrivacyPassphrase, getPrivacyProtocol, getProxyHost, getReadCommunity, getRetry, getSecurityLevel, getSecurityName, getTimeout, getTTL, getVersion, getWriteCommunity, hasMaxRepetitions, hasMaxRequestSize, hasMaxVarsPerPdu, hasPort, hasRetry, hasSecurityLevel, hasTimeout, hasTTL, setAuthPassphrase, setAuthProtocol, setContextEngineId, setContextName, setEngineId, setEnterpriseId, setMaxRepetitions, setMaxRequestSize, setMaxVarsPerPdu, setPort, setPrivacyPassphrase, setPrivacyProtocol, setProxyHost, setReadCommunity, setRetry, setSecurityLevel, setSecurityName, setTimeout, setTTL, setVersion, setWriteCommunity
public SnmpConfig()
public SnmpConfig(Integer port, Integer retry, Integer timeout, String readCommunity, String writeCommunity, String proxyHost, String version, Integer maxVarsPerPdu, Integer maxRepetitions, Integer maxRequestSize, String securityName, Integer securityLevel, String authPassphrase, String authProtocol, String engineId, String contextEngineId, String contextName, String privacyPassphrase, String privacyProtocol, String enterpriseId, List<Definition> definitions)
public List<Definition> getDefinitions()
public void setDefinitions(List<Definition> definitions)
public void addDefinition(Definition definitions) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public boolean removeDefinition(Definition definitions)
public SnmpProfiles getSnmpProfiles()
public void setSnmpProfiles(SnmpProfiles snmpProfiles)
public int hashCode()
hashCode
in class Configuration
public boolean equals(Object obj)
equals
in class Configuration
public String toString()
toString
in class Configuration
public void visit(SnmpConfigVisitor visitor)
public Definition findDefinition(InetAddress agentInetAddress)
Copyright © 2021. All rights reserved.