public Object clone() { return new Gauge32(value); }
public Object clone() { return new Gauge32(value); }
public Object clone() { return new Gauge32(value); }
@Override public SnmpValue getGauge32(long val) { return new Snmp4JValue(new Gauge32(val)); }
@Override public SnmpValue getGauge32(long val) { return new Snmp4JValue(new Gauge32(val)); }
public SnmpValue getGauge32(long val) { return new Snmp4JValue(new Gauge32(val)); }
newVar = new Integer32(Integer.parseInt(moValStr)); } else if (moTypeStr.equals("Gauge32")) { newVar = new Gauge32(Long.parseLong(moValStr)); } else if (moTypeStr.equals("Counter32")) { newVar = new Counter32(Long.parseLong(moValStr)); // a 32 bit counter can be > 2 ^ 31, which is > INTEGER_MAX
newVar = new Integer32(Integer.parseInt(moValStr)); } else if (moTypeStr.equals("Gauge32")) { newVar = new Gauge32(Long.parseLong(moValStr)); } else if (moTypeStr.equals("Counter32")) { newVar = new Counter32(Long.parseLong(moValStr)); // a 32 bit counter can be > 2 ^ 31, which is > INTEGER_MAX
return new Gauge32();
return new Gauge32();
new VariableBinding(new OID("1.3.6.1.4.0"),new OctetString("Hello world!")), new VariableBinding(new OID("1.3.6.1.4.0"),new IpAddress("127.0.0.2")), new VariableBinding(new OID("1.3.6.1.4.0"),new Gauge32(867685L)) });
moFactory.createScalar(oidSnmpTlstmCertToTSNCount, moFactory.createAccess(MOAccessImpl.ACCESSIBLE_FOR_READ_ONLY), new Gauge32()); snmpTlstmCertToTSNTableLastChanged = moFactory.createScalar(oidSnmpTlstmCertToTSNTableLastChanged, moFactory.createScalar(oidSnmpTlstmParamsCount, moFactory.createAccess(MOAccessImpl.ACCESSIBLE_FOR_READ_ONLY), new Gauge32()); snmpTlstmParamsTableLastChanged = moFactory.createScalar(oidSnmpTlstmParamsTableLastChanged, moFactory.createScalar(oidSnmpTlstmAddrCount, moFactory.createAccess(MOAccessImpl.ACCESSIBLE_FOR_READ_ONLY), new Gauge32()); snmpTlstmAddrTableLastChanged = moFactory.createScalar(oidSnmpTlstmAddrTableLastChanged,
return new Gauge32(subIndex.get(subIndex.size()-1));
return new Gauge32(subIndex.get(subIndex.size() - 1));