- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Variable>,BERSerializable,Address,AssignableFromByteArray,AssignableFromString,Variable
The
TlsAddress represents a TLS transport addresses as defined
by RFC 5953 SnmpTSLAddress textual convention.- Since:
- 2.0
- Version:
- 3.2.1
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final LogAdapter(package private) static final longFields inherited from class org.snmp4j.smi.TransportIpAddress
portFields inherited from class org.snmp4j.smi.IpAddress
ANY_IPADDRESSFields inherited from class org.snmp4j.smi.AbstractVariable
SMISYNTAXES_PROPERTIES -
Constructor Summary
ConstructorsConstructorDescriptionTlsAddress(String address) TlsAddress(InetAddress inetAddress, int port) TlsAddress(TcpAddress tcpAddress) Create aTlsAddressfrom aTcpAddress. -
Method Summary
Methods inherited from class org.snmp4j.smi.TransportIpAddress
compareTo, decodeBER, encodeBER, getBERLength, getBERPayloadLength, getPort, getSyntax, getValue, hashCode, isValid, parseAddress, setPort, setTransportAddress, toStringMethods inherited from class org.snmp4j.smi.IpAddress
clone, fromSubIndex, getInetAddress, setAddress, setInetAddress, setValue, setValue, toByteArray, toInt, toLong, toSubIndexMethods inherited from class org.snmp4j.smi.AbstractVariable
createFromBER, createFromSyntax, equal, getSyntaxFromString, getSyntaxString, getSyntaxString, isDynamic, isException
-
Field Details
-
serialVersionUID
static final long serialVersionUID- See Also:
-
logger
-
-
Constructor Details
-
TlsAddress
public TlsAddress() -
TlsAddress
-
TlsAddress
-
TlsAddress
Create aTlsAddressfrom aTcpAddress.- Parameters:
tcpAddress- theTcpAddressfor the newTlsAddress.- Since:
- 3.0.5
-
-
Method Details
-
parse
-
equals
- Specified by:
equalsin interfaceVariable- Overrides:
equalsin classTcpAddress
-
isTransportCompatible
Checks if the supplied address class is compatible with this class. For example, secure transport classes like TLS are not compatible with TCP because the latter is not able to provide the required security characteristics.- Parameters:
other- theAddressclass to check for compatibility.- Returns:
trueif the provided address class has the same (compatible) on-the-wire characteristics than this address class. By default this istrueif the provided classotheris the same or a sub class than this class.- Since:
- 3.2.1
-