|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.outbackinc.services.protocol.snmp.mib.MibUtils
A series of general-purpose utility methods supporting the use of MIB Services and MIB Dictionaries with jSNMP.
Method Summary | |
static void |
mibServiceChanged()
Alert the MibUtils module that the default mib service has changed. |
static boolean |
namesMatch(java.lang.String name1,
java.lang.String name2)
Determine if two names resolve to the same OID. |
static java.lang.String |
resolveObjectName(java.lang.String objectName)
Convert an object name into its corresponding OID, using the default MIB service. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void mibServiceChanged()
public static java.lang.String resolveObjectName(java.lang.String objectName)
Usage: The following code snippet provides an example of its use:
String oid = MibUtils.resolveObjectName("sysUpTime"); if (oid != null) { SysInfo.getLog().info("The oid for sysUpTime is: " + oid); }
objectName
- object name to resolve to an OIDpublic static boolean namesMatch(java.lang.String name1, java.lang.String name2)
name1
- first namename2
- second name
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Home Services Products Purchase Contact Us About Us Legal Ceramics
Copyright © 2003-2008 jSNMP Enterprises All rights reserved.