SNMPVarBind
Represents an SNMP varbind concept in NetXMS. A varbind logically consists of an OID and a value.
Instance attributes
- name: String
-
Object name (OID string).
- type: int
-
ASN.1 type.
- value: String
-
Object value as a string.
- printableValue: String
-
Object value formatted for display: using the DISPLAY-HINT from the MIB if one is defined for this OID, otherwise as a string, with octet strings containing non-printable characters shown as hexadecimal bytes.
- valueAsIp: String
-
Object value IP address, represented as string.
- valueAsMac: String
-
Object value as MAC address, represented as string.
Methods
- getValueAsByteStream() ⇒ ByteStream
-
Returns object value as ByteStream.
- getValueAsString(codepage): String
-
Constructs a new String by decoding the varbind value using the specified codepage. If
codepageisnull, the default code page is used.