public abstract class SecureTarget extends AbstractTarget implements java.io.Serializable
SecureTarget
is an security model independent abstract class
for all targets supporting secure SNMP communication.Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
securityLevel, securityModel, securityName
Modifier | Constructor and Description |
---|---|
protected |
SecureTarget()
Default constructor.
|
protected |
SecureTarget(Address address,
OctetString securityName)
Creates a SNMPv3 secure target with an address and security name.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
clone, getAddress, getMaxSizeRequestPDU, getPreferredTransports, getRetries, getSecurityLevel, getSecurityModel, getSecurityName, getTimeout, getVersion, setAddress, setMaxSizeRequestPDU, setPreferredTransports, setRetries, setSecurityLevel, setSecurityModel, setSecurityName, setTimeout, setVersion, toStringAbstractTarget
private static final long serialVersionUID
protected SecureTarget()
protected SecureTarget(Address address, OctetString securityName)
address
- an Address
instance denoting the transport address of the
target.securityName
- a OctetString
instance representing the security name
of the USM user used to access the target.public java.lang.String toString()
toString
in class AbstractTarget