public class SimpleSnmpV3Target extends SnmpTargetBase implements SnmpV3Target
SnmpV3Target
implemented as a simple configurable bean.SnmpV3Target.AuthType, SnmpV3Target.PrivType
Constructor and Description |
---|
SimpleSnmpV3Target() |
Modifier and Type | Method and Description |
---|---|
String |
getAuthPassphrase()
Gets the authentication passphrase.
|
SnmpV3Target.AuthType |
getAuthType()
Gets the authentication type.
|
String |
getPrivPassphrase()
Gets the privacy passphrase.
|
SnmpV3Target.PrivType |
getPrivType()
Gets the privacy type.
|
String |
getScope()
Gets the configured scope.
|
String |
getSecurityName()
Gets the security name (typically a username).
|
void |
setAuthPassphrase(String authPassphrase)
Sets the
authPassphrase property. |
void |
setAuthType(SnmpV3Target.AuthType authType)
Sets the
authType property. |
void |
setPrivPassphrase(String privPassphrase)
Sets the
privPassphrase property. |
void |
setPrivType(SnmpV3Target.PrivType privType)
Sets the
privType property. |
void |
setScope(String scope)
Sets the
scope property. |
void |
setSecurityName(String securityName)
Sets the
securityName property. |
getAddress, getPort, getProperties, setAddress, setPort, setProperties, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAddress, getPort, getProperties
public String getSecurityName()
getSecurityName
in interface SnmpV3Target
null
if none has been setpublic void setSecurityName(String securityName)
securityName
property.securityName
- the value to setpublic SnmpV3Target.AuthType getAuthType()
getAuthType
in interface SnmpV3Target
null
if none has been setpublic void setAuthType(SnmpV3Target.AuthType authType)
authType
property.authType
- the value to setpublic String getAuthPassphrase()
getAuthPassphrase
in interface SnmpV3Target
null
if none has been setpublic void setAuthPassphrase(String authPassphrase)
authPassphrase
property.authPassphrase
- the value to setpublic SnmpV3Target.PrivType getPrivType()
getPrivType
in interface SnmpV3Target
null
if none has been set.public void setPrivType(SnmpV3Target.PrivType privType)
privType
property.privType
- the value to setpublic String getPrivPassphrase()
getPrivPassphrase
in interface SnmpV3Target
null
if none has been setpublic void setPrivPassphrase(String privPassphrase)
privPassphrase
property.privPassphrase
- the value to setpublic String getScope()
getScope
in interface SnmpV3Target
null
if none has been configuredpublic void setScope(String scope)
scope
property.scope
- the value to setCopyright © 2012–2015. All rights reserved.