|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.snmpadaptor4j.api.opennms.OpennmsSupport
public abstract class OpennmsSupport
Support class for joesnmp API.
Field Summary | |
---|---|
protected org.apache.log4j.Logger |
logger
Logger. |
Constructor Summary | |
---|---|
protected |
OpennmsSupport()
Hidden constructor. |
Method Summary | |
---|---|
protected static Object |
newJmxValue(Class<?> jmxDataType,
SnmpDataType snmpDataType,
org.opennms.protocols.snmp.SnmpSyntax newValue)
Creates and returns a new JMX object from a SnmpSyntax . |
protected static org.opennms.protocols.snmp.SnmpSyntax |
newSnmpValue(SnmpDataType snmpDataType,
Object value)
Creates and returns a new SnmpSyntax . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final org.apache.log4j.Logger logger
Constructor Detail |
---|
protected OpennmsSupport()
Method Detail |
---|
protected static final org.opennms.protocols.snmp.SnmpSyntax newSnmpValue(SnmpDataType snmpDataType, Object value) throws Exception
SnmpSyntax
.
snmpDataType
- SNMP data type of value.value
- Value.
SnmpSyntax
.
Exception
- Exception if an error has occurred.protected static Object newJmxValue(Class<?> jmxDataType, SnmpDataType snmpDataType, org.opennms.protocols.snmp.SnmpSyntax newValue) throws Exception
SnmpSyntax
.
jmxDataType
- JMX data type of value.snmpDataType
- SNMP data type of value.newValue
- New value encapsulated to an object SnmpSyntax
.
Exception
- Exception if an error has occurred.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |