net.sf.snmpadaptor4j.core
Class SystemSnmpMib.ExternalNode

java.lang.Object
  extended by net.sf.snmpadaptor4j.core.SystemSnmpMib.ExternalNode
All Implemented Interfaces:
AttributeAccessor
Enclosing class:
SystemSnmpMib

protected final class SystemSnmpMib.ExternalNode
extends Object
implements AttributeAccessor

External node of the SNMP Management Information Base (MIB).


Constructor Summary
protected SystemSnmpMib.ExternalNode(int index, SnmpOid oid)
          Constructor.
 
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.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SystemSnmpMib.ExternalNode

protected SystemSnmpMib.ExternalNode(int index,
                                     SnmpOid oid)
Constructor.

Parameters:
index - Index of attribute.
oid - Object IDentifier (OID) of MIB node.
Method Detail

getOid

public SnmpOid getOid()
Description copied from interface: AttributeAccessor
Returns the Object IDentifier (OID) to locate the attribute in the MIB.

Specified by:
getOid in interface AttributeAccessor
Returns:
Object Identifier to locate the attribute in the MIB.

getSnmpDataType

public SnmpDataType getSnmpDataType()
Description copied from interface: AttributeAccessor
Returns the SNMP data type of attribute.

Specified by:
getSnmpDataType in interface AttributeAccessor
Returns:
SNMP data type of attribute.

getJmxDataType

public Class<?> getJmxDataType()
Description copied from interface: AttributeAccessor
Returns the data type of JMX attribute.

Specified by:
getJmxDataType in interface AttributeAccessor
Returns:
Data type of JMX attribute.

getValue

public Object getValue()
Description copied from interface: AttributeAccessor
Returns the value of attribute.

Specified by:
getValue in interface AttributeAccessor
Returns:
Value of attribute.

setValue

public void setValue(Object value)
Description copied from interface: AttributeAccessor
Sets the value of attribute.

Specified by:
setValue in interface AttributeAccessor
Parameters:
value - New value of attribute.

isReadable

public boolean isReadable()
Description copied from interface: AttributeAccessor
Returns TRUE if the attribute can be read (for SNMP write and read community), FALSE otherwise.

Specified by:
isReadable in interface AttributeAccessor
Returns:
TRUE if the attribute can be read.

isWritable

public boolean isWritable()
Description copied from interface: AttributeAccessor
Returns TRUE if the attribute can be write (for SNMP write community), FALSE otherwise.

Specified by:
isWritable in interface AttributeAccessor
Returns:
TRUE if the attribute can be write.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012-2013 snmpAdaptor4j. All Rights Reserved.