Class QueueStatisticsToNotificationTransformer


  • public final class QueueStatisticsToNotificationTransformer
    extends Object
    Pulled out queue stats to notification transformation.
    • Method Detail

      • transformToNotification

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