|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.snmp4j.agent.mo.MOScalar
org.snmp4j.agent.mo.snmp.TestAndIncr
public class TestAndIncr
| Constructor Summary | |
|---|---|
TestAndIncr(org.snmp4j.smi.OID oid)
|
|
| Method Summary | |
|---|---|
void |
commit(SubRequest request)
Commits a previously prepared SET (sub)request. |
int |
isValueOK(SubRequest request)
Checks whether the new value contained in the supplied sub-request is a valid value for this object. |
void |
prepare(SubRequest request)
Prepares a SET (sub)request. |
| Methods inherited from class org.snmp4j.agent.mo.MOScalar |
|---|
addMOChangeListener, addMOValueValidationListener, changeValue, checkRequestScope, cleanup, covers, find, fireAfterMOChange, fireAfterPrepareMOChange, fireBeforeMOChange, fireBeforePrepareMOChange, fireValidate, get, getAccess, getID, getLowerBound, getOid, getScope, getSingleInstanceScope, getUpperBound, getValue, getValue, isCovered, isLowerIncluded, isOverlapping, isUpperIncluded, isVolatile, load, next, removeMOChangeListener, removeMOValueValidationListener, save, setValue, setValue, setVolatile, toString, toStringDetails, undo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TestAndIncr(org.snmp4j.smi.OID oid)
| Method Detail |
|---|
public void commit(SubRequest request)
ManagedObject
commit in interface ManagedObjectcommit in class MOScalarrequest - the SubRequest to process.public void prepare(SubRequest request)
ManagedObject
prepare in interface ManagedObjectprepare in class MOScalarrequest - the SubRequest to process.public int isValueOK(SubRequest request)
MOScalarMOValueValidationEvent the registered listeners.
isValueOK in class MOScalarrequest - 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.
|
Copyright 2005-2010 Frank Fock (SNMP4J.org) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||