This is the documentation for the development version. There are no official binaries for it; build it from the source code in git. Download links on these pages work only after the release. For the current release, see version 7.0.

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 codepage is null, the default code page is used.