ManagedObject
, ManagedObjectValueAccess
, ChangeableManagedObject
, MOScope
, RandomAccessManagedObject
, RegisteredManagedObject
, SerializableManagedObject
public class Snmp4jDemoMib.Snmp4jDemoScalar extends DisplayStringScalar<org.snmp4j.smi.OctetString>
Modifier and Type | Method | Description |
---|---|---|
org.snmp4j.smi.OctetString |
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.OctetString newValue) |
Sets the value of this scalar managed object without checking it for
the correct syntax.
|
addMOChangeListener, addMOValueValidationListener, changeValue, checkRequestScope, cleanup, commit, covers, exportInstance, find, fireAfterMOChange, fireAfterPrepareMOChange, fireBeforeMOChange, fireBeforePrepareMOChange, fireValidate, get, getAccess, getID, getLowerBound, getOid, getScope, getSingleInstanceScope, getSyntax, getUpperBound, getValue, importInstance, instanceCount, instanceIterator, isCovered, isLowerIncluded, isOverlapping, isUpperIncluded, isVolatile, load, next, prepare, removeMOChangeListener, removeMOValueValidationListener, save, setValue, setVolatile, toString, toStringDetails, undo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getInstanceSubID
public int isValueOK(SubRequest request)
MOScalar
MOValueValidationEvent
the registered listeners.public org.snmp4j.smi.OctetString getValue()
MOScalar
value
member and
then call super.
MOScalar.getValue()
in the derived class.public int setValue(org.snmp4j.smi.OctetString newValue)
MOScalar
Copyright © 2018 SNMP4J.org. All rights reserved.