|
||||||||||
| 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.DateAndTimeScalar
org.snmp4j.agent.mo.snmp4j.example.Snmp4jHeartbeatMib.Snmp4jAgentHBRefTime
public class Snmp4jHeartbeatMib.Snmp4jAgentHBRefTime
| Method Summary | |
|---|---|
org.snmp4j.smi.Variable |
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. |
void |
load(MOInput input)
Loads the content of the managed object from the specified input (stream). |
void |
save(MOOutput output)
Saves the (non-volatile) content of this managed object to the specified output (stream). |
int |
setValue(org.snmp4j.smi.Variable newValue)
Sets the value of this scalar managed object without checking it for the correct syntax. |
| Methods inherited from class org.snmp4j.agent.mo.snmp.DateAndTimeScalar |
|---|
getCalendar, setCalendar |
| Methods inherited from class org.snmp4j.agent.mo.MOScalar |
|---|
addMOChangeListener, 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, next, prepare, removeMOChangeListener, removeMOValueValidationListener, setValue, setVolatile, toString, toStringDetails, undo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public int isValueOK(SubRequest request)
MOScalarMOValueValidationEvent the registered listeners.
isValueOK in class DateAndTimeScalarrequest - 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.Variable getValue()
MOScalarvalue member and
then call super.MOScalar.getValue() in the derived class.
getValue in class DateAndTimeScalarnull Variable with the same syntax defined for
this scalar object.public int setValue(org.snmp4j.smi.Variable newValue)
MOScalar
setValue in class MOScalarnewValue - a Variable with the with the same syntax defined for
this scalar object (not checked).
public void load(MOInput input)
throws java.io.IOException
SerializableManagedObject
load in interface SerializableManagedObjectload in class MOScalarinput - a MOInput instance.
java.io.IOException - if an MOInput operation fails.
public void save(MOOutput output)
throws java.io.IOException
SerializableManagedObject
save in interface SerializableManagedObjectsave in class MOScalaroutput - a MOOutput instance.
java.io.IOException - if an MOOutput operation fails.
|
Copyright 2005-2010 Frank Fock (SNMP4J.org) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||