/** * Returns the current trap counter reading * * @jmx:managed-attribute */ public long getTrapCount() { return this.trapCounter.peek(); }
void sendTrap(PDU trap, Target target, String securityName) throws IOException { this.snmpAgentService.getTrapCounter().advance();
this.trapCounter = new Counter(0);
void sendTrap(PDU trap, Target target, String securityName) throws IOException { this.snmpAgentService.getTrapCounter().advance();
this.trapCounter = new Counter(0);
/** * Returns the current trap counter reading * * @jmx:managed-attribute */ public long getTrapCount() { return this.trapCounter.peek(); }
public Object get() { return Long.valueOf(NotificationWrapperSupport.this.trapCount.peek()); } });
public Object get() { return Long.valueOf(NotificationWrapperSupport.this.trapCount.peek()); } });