public interface Address extends AssignableFromString, AssignableFromByteArray
Addressinterface serves as a base class for all SNMP transport addresses.
Note: This class should be moved to package
in SNMP4J 2.0.
|Modifier and Type||Method and Description|
Checks whether this
Parses the address from the supplied string representation.
Sets the address value from the supplied String.
Addressis a valid transport address.
trueif the address is valid,
boolean parseAddress(String address)
address- a String representation of this address.
addresscould be successfully parsed and has been assigned to this address object,
void setValue(String address)
IllegalArgumentExceptionruntime exception is thrown.
Copyright © 2018 SNMP4J.org. All rights reserved.