Package org.snmp4j.smi
Class SshAddress
- All Implemented Interfaces:
 Serializable,Cloneable,Comparable<Variable>,BERSerializable,Address,AssignableFromByteArray,AssignableFromString,Variable
The 
SshAddress represents a SSH transport addresses as defined
 by RFC 5592 SnmpSSHAddress textual convention.- Since:
 - 2.0
 - Version:
 - 2.0
 - Author:
 - Frank Fock
 - See Also:
 
- 
Field Summary
Fields 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
ConstructorsConstructorDescriptionSshAddress(String addressURI) SshAddress(InetAddress inetAddress, int port) SshAddress(InetAddress inetAddress, int port, String userName)  - 
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleanparseAddress(String address) Parses the address from the supplied string representation.toString()Gets a string representation of the variable.Methods inherited from class org.snmp4j.smi.TcpAddress
parseMethods inherited from class org.snmp4j.smi.TransportIpAddress
compareTo, decodeBER, encodeBER, getBERLength, getBERPayloadLength, getPort, getSyntax, getValue, isValid, setPort, setTransportAddressMethods 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 
- 
Constructor Details
- 
SshAddress
 - 
SshAddress
 - 
SshAddress
 
 - 
 - 
Method Details
- 
getAddressURI
 - 
getUserName
 - 
parseAddress
Description copied from interface:AddressParses the address from the supplied string representation.- Specified by:
 parseAddressin interfaceAddress- Overrides:
 parseAddressin classTransportIpAddress- Parameters:
 address- a String representation of this address.- Returns:
 trueifaddresscould be successfully parsed and has been assigned to this address object,falseotherwise.
 - 
equals
- Specified by:
 equalsin interfaceVariable- Overrides:
 equalsin classTcpAddress
 - 
hashCode
public int hashCode()- Specified by:
 hashCodein interfaceVariable- Overrides:
 hashCodein classTransportIpAddress
 - 
toString
Description copied from class:AbstractVariableGets a string representation of the variable.- Specified by:
 toStringin interfaceVariable- Overrides:
 toStringin classTransportIpAddress- Returns:
 - a string representation of the variable's value.
 
 
 -