@Override public void decodeAndDeliverRecords(final ByteBuffer rawData, final int dataSize) { final List<IMonitoringRecord> records = this.deserializer.deserializeRecords(rawData, dataSize); // Deliver the records for (final IMonitoringRecord record : records) { this.deliver(OUTPUT_PORT_NAME_RECORDS, record); } }
@Override public void decodeAndDeliverRecords(final ByteBuffer rawData, final int dataSize) { final List<IMonitoringRecord> records = this.deserializer.deserializeRecords(rawData, dataSize); // Deliver the records for (final IMonitoringRecord record : records) { this.deliver(OUTPUT_PORT_NAME_RECORDS, record); } }
/** * Decodes the given raw data using the configured deserializer and delivers * them to the given output port. * * @param rawData * The raw data to decode * @param dataSize * The size of the data to decode * @param outputPortName * The output port name to send the decoded records to */ protected void decodeAndDeliverRecords(final ByteBuffer rawData, final int dataSize, final String outputPortName) { final List<IMonitoringRecord> monitoringRecords = this.deserializer.deserializeRecords(rawData, dataSize); for (final IMonitoringRecord monitoringRecord : monitoringRecords) { this.deliver(outputPortName, monitoringRecord); } }
/** * Decodes the given raw data using the configured deserializer and delivers * them to the given output port. * * @param rawData * The raw data to decode * @param dataSize * The size of the data to decode * @param outputPortName * The output port name to send the decoded records to */ protected void decodeAndDeliverRecords(final ByteBuffer rawData, final int dataSize, final String outputPortName) { final List<IMonitoringRecord> monitoringRecords = this.deserializer.deserializeRecords(rawData, dataSize); for (final IMonitoringRecord monitoringRecord : monitoringRecords) { this.deliver(outputPortName, monitoringRecord); } }