|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.snmpadaptor4j.core.JmxSnmpMib
public class JmxSnmpMib
Object representing the Management Information Base (MIB) for access to JMX attributes.
Field Summary | |
---|---|
protected org.apache.log4j.Logger |
logger
Logger. |
Constructor Summary | |
---|---|
JmxSnmpMib(SnmpMib other)
Constructor. |
Method Summary | |
---|---|
protected static void |
checkDataType(SnmpDataType snmpDataType,
Class<?> jmxDataType)
Checks the consistency between the data types SNMP and Java. |
AttributeAccessor |
find(SnmpOid oid)
Finds a AttributeAccessor by its OID. |
protected SortedMap<SnmpOid,AttributeAccessor> |
getMib()
Returns the Management Information Base (MIB). |
AttributeAccessor |
next(SnmpOid oid)
Finds the next AttributeAccessor from an OID |
SortedMap<SnmpOid,AttributeAccessor> |
nextSet(SnmpOid oid)
Finds the list of next AttributeAccessor from an OID |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final org.apache.log4j.Logger logger
Constructor Detail |
---|
public JmxSnmpMib(SnmpMib other)
other
- Other object representing the MIB.Method Detail |
---|
protected final SortedMap<SnmpOid,AttributeAccessor> getMib()
protected static final void checkDataType(SnmpDataType snmpDataType, Class<?> jmxDataType) throws Exception
snmpDataType
- SNMP data type of MIB node.jmxDataType
- Data type of JMX attribute.
Exception
- Exception if an error occurred.public final AttributeAccessor find(SnmpOid oid)
SnmpMib
AttributeAccessor
by its OID.
find
in interface SnmpMib
oid
- OID of AttributeAccessor
to find.
AttributeAccessor
found or NULL
if not found.public final AttributeAccessor next(SnmpOid oid)
SnmpMib
AttributeAccessor
from an OID
next
in interface SnmpMib
oid
- OID not included in the research but from which it begins.
AttributeAccessor
found or NULL
if not found.public final SortedMap<SnmpOid,AttributeAccessor> nextSet(SnmpOid oid)
SnmpMib
AttributeAccessor
from an OID
nextSet
in interface SnmpMib
oid
- OID not included in the research but from which it begins.
AttributeAccessor
found (never NULL
).public final String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |