public class MibTree extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static int |
SMT_COMPRESS_DATA |
protected static int |
SMT_SKIP_DESCRIPTIONS |
| Constructor and Description |
|---|
MibTree()
Create empty MIB tree
|
MibTree(File file)
Create MIB tree from compiled MIB file.
|
| Modifier and Type | Method and Description |
|---|---|
MibObject |
findObject(SnmpObjectId oid,
boolean exactMatch)
Find matching object in tree.
|
MibObject |
getRootObject()
Get root object for MIB tree
|
protected static final int SMT_COMPRESS_DATA
protected static final int SMT_SKIP_DESCRIPTIONS
public MibTree()
public MibTree(File file) throws IOException, NXCException
file - compiled MIB fileIOException - if I/O error occursNXCException - if MIB file format errors detectedpublic MibObject getRootObject()
public MibObject findObject(SnmpObjectId oid, boolean exactMatch)
oid - object id to findexactMatch - set to true if exact match requiredCopyright © 2014. All rights reserved.