Object Modeling Technique
(OMT) view of the SNMP++ SNMP Syntax Classes
The SNMP++ SNMP syntax classes represent an object
oriented C++ view of Structure of Management Information (SMI) Abstract Syntax
Notation (ASN.1) data types which are used by SNMP. Included are a set of
classes which map to the equivalent SMI types. In addition, a few non-SMI classes have
been introduced for ease of use. SNMP++ gives these SNMP data types a powerful,
easy to use interface. Below is a brief description of the various SNMP++
syntax classes.
SNMP++
Syntax Class Name |
Class
Description |
SMI or
ASN.1 Counter part |
SnmpSyntax |
Parent of all syntax classes. |
No ASN.1 counter part,
used for OO structure. |
Oid |
Object identifier class. |
ASN.1 Object Identifier. |
OctectStr |
Octet string class. |
ASN.1 Octet string. |
Uint32 |
Unsigned 32 bit integer class. |
SMI unsigned 32 bit integer. |
TimeTicks |
TimeTicks
class. |
SMI time ticks. |
Counter32 |
32 bit counter class. |
SMI 32 bit counter. |
Gauge32 |
32 bit gauge class. |
SMI 32 bit gauge. |
Int32 |
Signed 32 bit integer. |
SMI 32 bit signed integer. |
Counter64 |
64 bit counter class. |
SMI 64 bit counter. |
Address |
Abstract address class. |
No ASN.1 counter part used
for OO structure. |
IpAddress |
IP address class. |
SMI IP address. |
UdpAddress |
UdpAddress
class |
SMI IP address with port specification. |
IpxAddress |
IPX address class. |
No ASN.1 or SMI counter part |
IpxSockAddress |
IPX Address class with socket number. |
No ASN.1 or SMI counter part |
MacAddress |
MAC address class. |
SMI counter part |
GenAddress |
Generic Address |
No ASN.1 or SMI counter part. |