/** * Creates an <code>Integer32</code> variable with the supplied value. * @param value * an integer value. */ public Integer32(int value) { setValue(value); }
/** * Sets the error status of the PDU. * @param errorStatus * a SNMP error status. * @see SnmpConstants */ public void setErrorStatus(int errorStatus) { this.errorStatus.setValue(errorStatus); }
/** * Sets the number of non repeater variable bindings in a GETBULK PDU. * * @param nonRepeaters an integer value >= 0 and <= {@link #size()} */ public void setNonRepeaters(int nonRepeaters) { this.errorStatus.setValue(nonRepeaters); }
/** * Sets the number of non repeater variable bindings in a GETBULK PDU. * @param nonRepeaters * an integer value >= 0 and <= {@link #size()} */ public void setNonRepeaters(int nonRepeaters) { this.errorStatus.setValue(nonRepeaters); }
/** * Sets the number of non repeater variable bindings in a GETBULK PDU. * @param nonRepeaters * an integer value >= 0 and <= {@link #size()} */ public void setNonRepeaters(int nonRepeaters) { this.errorStatus.setValue(nonRepeaters); }
/** * Creates an <code>Integer32</code> variable with the supplied value. * @param value * an integer value. */ public Integer32(int value) { setValue(value); }
/** * Sets the error status of the PDU. * * @param errorStatus a SNMP error status. * @see SnmpConstants */ public void setErrorStatus(int errorStatus) { this.errorStatus.setValue(errorStatus); }
/** * Sets the maximum repetitions of repeatable variable bindings in GETBULK * requests. * * @param maxRepetitions an integer value >= 0. */ public void setMaxRepetitions(int maxRepetitions) { this.errorIndex.setValue(maxRepetitions); }
/** * Sets the maximum repetitions of repeatable variable bindings in GETBULK * requests. * @param maxRepetitions * an integer value >= 0. */ public void setMaxRepetitions(int maxRepetitions) { this.errorIndex.setValue(maxRepetitions); }
/** * Sets the error index. * * @param errorIndex an integer value >= 0 where 1 denotes the first variable binding. */ public void setErrorIndex(int errorIndex) { this.errorIndex.setValue(errorIndex); }
/** * Creates an <code>Integer32</code> variable with the supplied value. * @param value * an integer value. */ public Integer32(int value) { setValue(value); }
/** * Sets the error index. * @param errorIndex * an integer value >= 0 where 1 denotes the first variable binding. */ public void setErrorIndex(int errorIndex) { this.errorIndex.setValue(errorIndex); }
/** * Sets the error status of the PDU. * @param errorStatus * a SNMP error status. * @see SnmpConstants */ public void setErrorStatus(int errorStatus) { this.errorStatus.setValue(errorStatus); }
/** * Sets the maximum repetitions of repeatable variable bindings in GETBULK * requests. * @param maxRepetitions * an integer value >= 0. */ public void setMaxRepetitions(int maxRepetitions) { this.errorIndex.setValue(maxRepetitions); }
public MOTableRow createRow(OID index, Variable[] values) throws UnsupportedOperationException { Snmp4jCfgStorageEntryRow row = new Snmp4jCfgStorageEntryRow(index, values); //--AgentGen BEGIN=snmp4jCfgStorageEntry::createRow ((Integer32)values[idxSnmp4jCfgStorageOperation]). setValue(Snmp4jCfgStorageOperationEnum.idle); //--AgentGen END return row; }
public Snmp4jCfgStorageEntryRow createRow(OID index, Variable[] values) throws UnsupportedOperationException { Snmp4jCfgStorageEntryRow row = new Snmp4jCfgStorageEntryRow(index, values); //--AgentGen BEGIN=snmp4jCfgStorageEntry::createRow ((Integer32) values[idxSnmp4jCfgStorageOperation]). setValue(Snmp4jCfgStorageOperationEnum.idle); //--AgentGen END return row; }
public void decodeBER(BERInputStream inputStream) throws java.io.IOException { BER.MutableByte type = new BER.MutableByte(); int newValue = BER.decodeInteger(inputStream, type); if (type.getValue() != BER.INTEGER) { throw new IOException("Wrong type encountered when decoding Counter: "+type.getValue()); } setValue(newValue); }
public void decodeBER(BERInputStream inputStream) throws java.io.IOException { BER.MutableByte type = new BER.MutableByte(); int newValue = BER.decodeInteger(inputStream, type); if (type.getValue() != BER.INTEGER) { throw new IOException("Wrong type encountered when decoding Counter: "+type.getValue()); } setValue(newValue); }
public void decodeBER(BERInputStream inputStream) throws java.io.IOException { BER.MutableByte type = new BER.MutableByte(); int newValue = BER.decodeInteger(inputStream, type); if (type.getValue() != BER.INTEGER) { throw new IOException("Wrong type encountered when decoding Counter: "+type.getValue()); } setValue(newValue); }
public void get(SubRequest subRequest, MOTableRow row, int column) { Integer32 rowStatus = (Integer32) getValue(row, column); if ((rowStatus != null) && (rowStatus.getValue() == notReady)) { if (isReady(row, column)) { rowStatus.setValue(notInService); } } super.get(subRequest, row, column); }