NodeSyntax Property
The syntax of the selected node.
Syntax
public int getNodeSyntax();
Enumerated values: public final static int stxBoolean = 1; public final static int stxInteger = 2; public final static int stxBitString = 3; public final static int stxOctetString = 4; public final static int stxNull = 5; public final static int stxObjectId = 6; public final static int stxEnumerated = 10; public final static int stxSequenceOf = 15; public final static int stxSequence = 16; public final static int stxSet = 17; public final static int stxChoice = 18; public final static int stxNetworkAddress = 21; public final static int stxIpAddress = 64; public final static int stxCounter = 65; public final static int stxGauge = 66; public final static int stxTimeTicks = 67; public final static int stxOpaque = 68; public final static int stxNSAP = 69; public final static int stxCounter64 = 70; public final static int stxUInteger = 71; public final static int stxUnknown = 59;
Default Value
6
Remarks
The syntax defines what type of data the selected node contains. Common data types include:
Boolean (1) | Boolean variable. |
Integer (2) | A 32-bit signed integer. |
OctetString (4) | An octet string variable that is binary or textual data. |
Null (5) | NULL value. |
ObjectId (6) | Object identifier. |
IpAddress (64) | A 32-bit Internet address (aaa.bbb.ccc.ddd) |
Counter (65) | A counter that increases until it reaches a maximum value of (2^32). |
Gauge (66) | A non-negative int that can increase or decrease, but never exceed a maximum value. |
TimeTicks (67) | A counter that measures time in hundredths of a second. |
Opaque (68) | This type supports the capability to pass ASN.1 syntax. |
Counter64 (70) | A counter that increases until it reaches a maximum value of (2^64). |
UInteger (71) | A 32-bit unsigned integer. |
Additional type definitions can be found in the SNMP RFC's.
This property is read-only.