|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.snmp4j.agent.mo.jmx.AbstractMBeanSupport
org.snmp4j.agent.mo.jmx.MBeanAttributeMOScalarSupport
public class MBeanAttributeMOScalarSupport
MBeanAttributeMOScalarSupport objects map zero or more MBean
attributes to their corresponding MOScalar instance.
| Field Summary |
|---|
| Fields inherited from class org.snmp4j.agent.mo.jmx.AbstractMBeanSupport |
|---|
oid2MBeanMap, server |
| Constructor Summary | |
|---|---|
MBeanAttributeMOScalarSupport(javax.management.MBeanServerConnection server)
|
|
| Method Summary | |
|---|---|
void |
add(org.snmp4j.smi.OID oid,
MBeanAttributeMOInfo mBean)
Adds a scalar to MBean attribute mapping. |
void |
addAll(javax.management.ObjectName mBeanName,
java.lang.Object[][] mBeanScalarAttributeDescriptions)
Adds a list of scalar to attribute mappings for the specified MBean. |
int |
checkScalarValue(org.snmp4j.smi.OID scalarInstanceOID,
org.snmp4j.smi.Variable value)
Checks the value of the specified object instance and type. |
int |
getScalarValue(org.snmp4j.smi.OID scalarInstanceOID,
org.snmp4j.smi.Variable value)
Gets the actual value for the specified object instance and type. |
int |
setScalarValue(org.snmp4j.smi.OID scalarInstanceOID,
org.snmp4j.smi.Variable value)
Sets the value of the specified object instance and type. |
| Methods inherited from class org.snmp4j.agent.mo.jmx.AbstractMBeanSupport |
|---|
getMBeanMOInfo, removeMBean |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MBeanAttributeMOScalarSupport(javax.management.MBeanServerConnection server)
| Method Detail |
|---|
public void add(org.snmp4j.smi.OID oid,
MBeanAttributeMOInfo mBean)
oid - the instance OID (including the .0) of the SNMP scalar object.mBean - an attribute description of a MBean.
public void addAll(javax.management.ObjectName mBeanName,
java.lang.Object[][] mBeanScalarAttributeDescriptions)
mBeanName - the name of the MBean providing the attributes.mBeanScalarAttributeDescriptions - an two dimensional array of scalar descriptions. Each description
contains three elements:
OID of the scalar SNMP instance,String, andClass of the attributes value.
public int checkScalarValue(org.snmp4j.smi.OID scalarInstanceOID,
org.snmp4j.smi.Variable value)
checkScalarValue in interface JMXScalarSupportscalarInstanceOID - the instance OID of the target object.value - the instance's new value.
public int getScalarValue(org.snmp4j.smi.OID scalarInstanceOID,
org.snmp4j.smi.Variable value)
getScalarValue in interface JMXScalarSupportscalarInstanceOID - the instance OID of the target object.value - the instance to hold the return value.
public int setScalarValue(org.snmp4j.smi.OID scalarInstanceOID,
org.snmp4j.smi.Variable value)
setScalarValue in interface JMXScalarSupportscalarInstanceOID - the instance OID of the target object.value - the instance's new value.
|
Copyright 2006-2007 Frank Fock (SNMP4J.org) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||