Class MeterStatisticsToNotificationTransformer


  • public final class MeterStatisticsToNotificationTransformer
    extends Object
    Pulled out meter stats to notification transformation.
    • Method Detail

      • transformToNotification

        public static MeterStatisticsUpdated transformToNotification​(List<MultipartReply> mpReplyList,
                                                                     DeviceInfo deviceInfo,
                                                                     OpenflowVersion ofVersion,
                                                                     TransactionId emulatedTxId,
                                                                     ConvertorExecutor convertorExecutor)
        Transform statistics to notification.
        Parameters:
        mpReplyList - raw multipart response from device
        deviceInfo - device state
        ofVersion - device version
        emulatedTxId - emulated transaction Id
        convertorExecutor - convertor executor
        Returns:
        notification containing flow stats