com.h3c.of.lib.msg

## Class MeterBand

- java.lang.Object
- - com.h3c.of.lib.OpenflowStructure
  - - com.h3c.of.lib.msg.MeterBand

- All Implemented Interfaces:
    Structure
  Direct Known Subclasses:
    MeterBandDrop, MeterBandDscpRemark, MeterBandExperimenter

      public abstract class MeterBand
      extends OpenflowStructure

  Represents a meter band, used in `OfmMeterMod` messages; Since 1.3.

- - ### Field Summary

    - ### Fields inherited from class com.h3c.of.lib.OpenflowStructure

      `version`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `long` | `getBurstSize()` Returns the burst size for this band.
    `long` | `getRate()` Returns the rate for this band.
    `MeterBandType` | `getType()` Returns the meter band type.
    `String` | `toString()`

    - ### Methods inherited from class com.h3c.of.lib.OpenflowStructure

      `getVersion, hex, hex, toDebugString, validate`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Method Detail

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `OpenflowStructure`

    - #### getType

          public MeterBandType getType()

      Returns the meter band type.
      Returns:
        the band type

    - #### getRate

          public long getRate()

      Returns the rate for this band.
      Returns:
        the rate

    - #### getBurstSize

          public long getBurstSize()

      Returns the burst size for this band.
      Returns:
        the size of bursts

Copyright © 2014. All Rights Reserved.