|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AttributeAccessor
Object representing an accessor to an attribute.
Method Summary | |
---|---|
Class<?> |
getJmxDataType()
Returns the data type of JMX attribute. |
SnmpOid |
getOid()
Returns the Object IDentifier (OID) to locate the attribute in the MIB. |
SnmpDataType |
getSnmpDataType()
Returns the SNMP data type of attribute. |
Object |
getValue()
Returns the value of attribute. |
boolean |
isReadable()
Returns TRUE if the attribute can be read (for SNMP write and read community), FALSE otherwise. |
boolean |
isWritable()
Returns TRUE if the attribute can be write (for SNMP write community), FALSE otherwise. |
void |
setValue(Object value)
Sets the value of attribute. |
Method Detail |
---|
SnmpOid getOid()
SnmpDataType getSnmpDataType()
Class<?> getJmxDataType()
Object getValue() throws Exception
Exception
- Exception if an error occurred.void setValue(Object value) throws Exception
value
- New value of attribute.
Exception
- Exception if an error occurred.boolean isReadable()
TRUE
if the attribute can be read (for SNMP write and read community), FALSE
otherwise.
TRUE
if the attribute can be read.boolean isWritable()
TRUE
if the attribute can be write (for SNMP write community), FALSE
otherwise.
TRUE
if the attribute can be write.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |