while (this.active) { try { this.kiekerMonitoringController.newMonitoringRecord(this.service.deserializeNextRecord()); this.numRecordsReceived++; if ((this.numRecordsReceived % this.listenerUpdateInterval) == 0) {
while (this.active) { try { this.kiekerMonitoringController.newMonitoringRecord(this.service.deserializeNextRecord()); this.numRecordsReceived++; if ((this.numRecordsReceived % this.listenerUpdateInterval) == 0) {
LOGGER.debug("Receive record {}", i); try { final OperationExecutionRecord record = (OperationExecutionRecord) this.connector.deserializeNextRecord(); Assert.assertEquals("Tin is not equal", ConfigurationParameters.TEST_TIN, record.getTin()); Assert.assertEquals("Tout is not equal", ConfigurationParameters.TEST_TOUT, record.getTout());