NodeSyntax Property
The syntax of the selected node.
Syntax
public var nodeSyntax: MibbrowserNodeSyntaxes {
get {...} }
public enum MibbrowserNodeSyntaxes: Int32 { case stxBoolean = 1 case stxInteger = 2 case stxBitString = 3 case stxOctetString = 4 case stxNull = 5 case stxObjectId = 6 case stxEnumerated = 10 case stxSequenceOf = 15 case stxSequence = 16 case stxSet = 17 case stxChoice = 18 case stxNetworkAddress = 21 case stxIpAddress = 64 case stxCounter = 65 case stxGauge = 66 case stxTimeTicks = 67 case stxOpaque = 68 case stxNSAP = 69 case stxCounter64 = 70 case stxUInteger = 71 case 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.