Uploaded image for project: 'openflowjava'
  1. openflowjava
  2. OPNFLWJAVA-82

meterband structure inconsistent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • unspecified
    • General
    • None
    • Operating System: All
      Platform: All

    • 7338

      Both MeterModInputMessageFactory and MultipartReplyMessageFactory deserialize meterband, but their MeterBand structure views differs.

      MeterModInputMessageFactory.java has a line code like this:

      actualLength += input.readUnsignedShort();

      , so MeterBand structure view should be:

      band type length xxx experimenter id ...
      2 byte 2 byte 8 byte 4 byte

      While MultipartReplyMessageFactory miss the code above, so MeterBand structure view is:

      band type xxx experimenter id ...
      2 byte 8 byte 4 byte

            Unassigned Unassigned
            huafei.zhang@utstar.com Huafei Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: