| |
|
| java.lang.Object snmp.SNMPObject snmp.SNMPOctetString snmp.SNMPNSAPAddress
SNMPNSAPAddress | public class SNMPNSAPAddress extends SNMPOctetString (Code) | | Defines class for holding physical 6-byte addresses.
|
Constructor Summary | |
public | SNMPNSAPAddress() Initialize address to 0.0.0.0.0.0. | public | SNMPNSAPAddress(String string) | public | SNMPNSAPAddress(byte[] enc) Used to initialize from the BER encoding, as received in a response from
an SNMP device responding to an SNMPGetRequest, or from a supplied byte array
containing the address components. |
Method Summary | |
public void | setValue(Object newAddress) Used to set the value from a byte array containing the address. | public String | toString() Return pretty-printed (dash-separated) address. |
SNMPNSAPAddress | public SNMPNSAPAddress()(Code) | | Initialize address to 0.0.0.0.0.0.
|
SNMPNSAPAddress | public SNMPNSAPAddress(byte[] enc) throws SNMPBadValueException(Code) | | Used to initialize from the BER encoding, as received in a response from
an SNMP device responding to an SNMPGetRequest, or from a supplied byte array
containing the address components.
throws: SNMPBadValueException - Indicates an invalid array supplied: must have length 6. |
toString | public String toString()(Code) | | Return pretty-printed (dash-separated) address.
|
|
|
|