|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.snmp4j.agent.mo.MOScalar<T>
org.snmp4j.agent.mo.snmp.DateAndTimeScalar<org.snmp4j.smi.OctetString>
org.snmp4j.agent.mo.snmp4j.example.Snmp4jHeartbeatMib.Snmp4jAgentHBRefTime
public class Snmp4jHeartbeatMib.Snmp4jAgentHBRefTime
| Method Summary | |
|---|---|
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. |
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.OctetString 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 DateAndTimeScalar<org.snmp4j.smi.OctetString>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.OctetString getValue()
MOScalarvalue member and
then call super.MOScalar.getValue() in the derived class.
getValue in class DateAndTimeScalar<org.snmp4j.smi.OctetString>null Variable with the same syntax defined for
this scalar object.public int setValue(org.snmp4j.smi.OctetString newValue)
MOScalar
setValue in class MOScalar<org.snmp4j.smi.OctetString>newValue - 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 MOScalar<org.snmp4j.smi.OctetString>input - 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 MOScalar<org.snmp4j.smi.OctetString>output - a MOOutput instance.
java.io.IOException - if an MOOutput operation fails.
|
Copyright 2005-2012 Frank Fock (SNMP4J.org) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||