public class Snmp4jDemoMib.Snmp4jDemoSparseTableType extends EnumeratedScalar<org.snmp4j.smi.Integer32>
| Modifier and Type | Method and Description |
|---|---|
org.snmp4j.smi.Integer32 |
getValue()
Returns the actual value of this scalar managed object.
|
int |
isValueOK(SubRequest request)
Checks whether the new value contained in the supplied sub-request is a
valid value for this object.
|
int |
setValue(org.snmp4j.smi.Integer32 newValue)
Sets the value of this scalar managed object without checking it for
the correct syntax.
|
setConstraintaddMOChangeListener, addMOValueValidationListener, changeValue, checkRequestScope, cleanup, commit, covers, find, fireAfterMOChange, fireAfterPrepareMOChange, fireBeforeMOChange, fireBeforePrepareMOChange, fireValidate, get, getAccess, getID, getLowerBound, getOid, getScope, getSingleInstanceScope, getUpperBound, getValue, isCovered, isLowerIncluded, isOverlapping, isUpperIncluded, isVolatile, load, next, prepare, removeMOChangeListener, removeMOValueValidationListener, save, setValue, setVolatile, toString, toStringDetails, undopublic int isValueOK(SubRequest request)
MOScalarMOValueValidationEvent the registered listeners.isValueOK in class EnumeratedScalar<org.snmp4j.smi.Integer32>request - the SubRequest with the new value.SnmpConstants.SNMP_ERROR_SUCCESS if the new value is OK,
any other appropriate SNMPv2/v3 error status if not.public org.snmp4j.smi.Integer32 getValue()
MOScalarvalue member and
then call super.MOScalar.getValue() in the derived class.public int setValue(org.snmp4j.smi.Integer32 newValue)
MOScalarCopyright © 2020 SNMP4J.org. All rights reserved.