Interface ManagedObjectValueAccess<SR extends SubRequest<?>>

    • Method Detail

      • getValue

        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.
        Parameters:
        instanceOID - the instance OID of the value. Thus, for scalar values with .0 suffix and for tabular objects with table index suffix.
        Returns:
        a copy of the requested Variable or null if such a variable does not exist.
      • setValue

        boolean setValue​(org.snmp4j.smi.VariableBinding newValueAndInstanceOID)
        Sets the value of a particular MIB object instance managed by this ManagedObject. This is a low level operation, thus no change events will be fired.
        Parameters:
        newValueAndInstanceOID - a VariableBinding identifying the object instance to modify by its OID and the new value by its variable part.
        Returns:
        true if the object instance exists and has been modified successfully, false otherwise.