|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ManagedObjectValueAccess
The ManagedObjectValueAccess interface provides direct
access to instance values of a ManagedObject.
| Method Summary | |
|---|---|
org.snmp4j.smi.Variable |
getValue(org.snmp4j.smi.OID instanceOID)
Returns the variable (a copy thereof) with the specified instance OID managed by this ManagedObject. |
boolean |
setValue(org.snmp4j.smi.VariableBinding newValueAndInstanceOID)
Sets the value of a particular MIB object instance managed by this ManagedObject. |
| Methods inherited from interface org.snmp4j.agent.ManagedObject |
|---|
cleanup, commit, find, get, getScope, next, prepare, undo |
| Method Detail |
|---|
org.snmp4j.smi.Variable getValue(org.snmp4j.smi.OID instanceOID)
ManagedObject.
instanceOID - the instance OID of the value. Thus, for scalar values with .0 suffix
and for tabular objects with table index suffix.
Variable or null if
such a variable does not exist.boolean setValue(org.snmp4j.smi.VariableBinding newValueAndInstanceOID)
ManagedObject. This is a low level operation, thus
no change events will be fired.
newValueAndInstanceOID - a VariableBinding identifying the object instance to modify
by its OID and the new value by its variable part.
true if the object instance exists and has been modified
successfully, false otherwise.
|
Copyright 2005-2010 Frank Fock (SNMP4J.org) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||