com.sun.jmx.snmp.agent.SnmpGenericMetaServer |
This interface defines the methods that must be implemented by an
SNMP metadata object that needs to interact with an
SnmpGenericObjectServer
object.
All these methods are usually generated by mibgen
when
run in generic-metadata mode.
This interface is used internally between the generated Metadata and the SNMP runtime and you shouldn't need to worry about it, because you will never have to use it directly.
This API is a Sun Microsystems internal API and is subject to change without notice.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Construct an attribute value (as returned by Attribute::getValue())
from an SnmpValue.
| |||||||||||
Construct an SnmpValue from an Attribute value as returned by
Attribute::getValue().
| |||||||||||
Check the access rights for a GET operation.
| |||||||||||
Check the access rights for a SET operation.
| |||||||||||
Return the name of the attribute corresponding to the
SNMP variable identified by the given
id . |
Construct an attribute value (as returned by Attribute::getValue()) from an SnmpValue. The returned attribute value can be used to construct an Attribute object.
id | The OID arc identifying the variable for which the value is constructed. |
---|---|
value | The SnmpValue from which the Attribute::value will be constructed. |
value
.SnmpStatusException | if the attribute value cannot be built
from the given SnmpValue value .
|
---|
Construct an SnmpValue from an Attribute value as returned by Attribute::getValue().
id | The OID arc identifying the variable for which the value is constructed. |
---|---|
value | The attribute value as returned by Attribute::getValue(). |
value
.SnmpStatusException | if the SnmpValue cannot be built from
the given value .
|
---|
Check the access rights for a GET operation.
id | The OID arc identifying the variable for which the SET is requested. |
---|---|
data | A contextual object containing user-data.
This object is allocated through the
for each incoming SNMP request. |
SnmpStatusException | if the SET operation must be rejected. |
---|
Check the access rights for a SET operation.
x | The new requested value. |
---|---|
id | The OID arc identifying the variable for which the SET is requested. |
data | A contextual object containing user-data.
This object is allocated through the
for each incoming SNMP request. |
SnmpStatusException | if the SET operation must be rejected. |
---|
Return the name of the attribute corresponding to the
SNMP variable identified by the given id
.
id | The OID arc identifying the variable. |
---|
id
.SnmpStatusException | if the given id does not
correspond to a known variable.
|
---|