Return LEAF as type of the MIB object.
Return a pointer to a copy of the MIB leaf object. Attention! You have to refine the clone() method in each subclass of MibLeaf especially if its instances shall be used as objects within a MibTable. Be sure you create an instance of your subclass and return it as MibEntry*. Otherwise the method routines of your subclass are not called (instead the MibLeaf::get_request(..), MibLeaf::commit_set_request(..), etc. methods are called) when used in MibTable objects.
Perform the GET operation requested by the sub-request of req with index ind by returning the management information referenced by MibLeaf::value.
Perform the GETNEXT operation requested by the sub-request of req with index ind by returning the management information referenced by MibLeaf::value.
If the maximum access right of MibLeaf is at least READWRITE and MibLeaf::value_ok returns true for the value to be set, then return SNMP_ERROR_SUCCESS, otherwise return an appropriate SNMP++ error code.
Commit the prepared SET operation requested by the sub-request of req with index ind by setting the SnmpSyntax object referenced by MibLeaf::value to its new value and saving its old value. Returns SNMP_ERROR_SUCCESS on success and SNMP_ERROR_COMMITFAIL on failure.
Undo the changes by a (failed) commit_set_request operation executed to process the sub-request of req with index ind by setting the SnmpSyntax object referenced by MibLeaf::value to its old value. Returns SNMP_ERROR_SUCCESS on succes and SNMP_ERROR_UNDO_FAIL on failure.
Free the saved old value of MibLeaf::value allocated for undoing the prepare/commit of sub-request req with index ind.
See 5.2.1.5.
See 5.2.1.5.
See 5.2.1.6
See 5.2.1.6
Return a pointer to the object identifier of MibLeaf.
Return a pointer to the object identifier of MibLeaf.
Return the maximum access rights of MibLeaf.