/** * Returns the up-time * * @jmx:managed-attribute */ public long getUptime() { return this.clock.uptime(); }
/** * Returns the up-time * * @jmx:managed-attribute */ public long getUptime() { return this.clock.uptime(); }
public Object get() { return Long.valueOf(NotificationWrapperSupport.this.clock.uptime()); } });
public Object get() { return Long.valueOf(NotificationWrapperSupport.this.clock.uptime()); } });
trapPdu.add(new VariableBinding(SnmpConstants.sysUpTime, new TimeTicks(this.clock.uptime())));
trapPdu.add(new VariableBinding(SnmpConstants.sysUpTime, new TimeTicks(this.clock.uptime())));
trapPdu.setTimestamp(this.clock.uptime()); trapPdu.setType(PDU.V1TRAP);
trapPdu.setTimestamp(this.clock.uptime()); trapPdu.setType(PDU.V1TRAP);
trapPdu.add(new VariableBinding(SnmpConstants.sysUpTime, new TimeTicks(this.clock.uptime())));
trapPdu.add(new VariableBinding(SnmpConstants.sysUpTime, new TimeTicks(this.clock.uptime())));