org.openflow.protocol.meter
Class OFMeterBandDrop

java.lang.Object
  extended by org.openflow.protocol.meter.OFMeterBand
      extended by org.openflow.protocol.meter.OFMeterBandDrop
All Implemented Interfaces:
java.lang.Cloneable

public class OFMeterBandDrop
extends OFMeterBand

Corresponds to the struct struct ofp_meter_band_drop OpenFlow structure

Author:
Srini Seetharaman (srini.seetharaman@gmail.com)

Field Summary
static int MINIMUM_LENGTH
           
 
Fields inherited from class org.openflow.protocol.meter.OFMeterBand
burstSize, length, rate, type
 
Constructor Summary
OFMeterBandDrop()
           
 
Method Summary
 void readFrom(java.nio.ByteBuffer data)
           
 java.lang.String toString()
           
 void writeTo(java.nio.ByteBuffer data)
           
 
Methods inherited from class org.openflow.protocol.meter.OFMeterBand
clone, equals, getBurstSize, getLength, getLengthU, getRate, getType, hashCode, setBurstSize, setLength, setRate, setType
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

MINIMUM_LENGTH

public static int MINIMUM_LENGTH
Constructor Detail

OFMeterBandDrop

public OFMeterBandDrop()
Method Detail

readFrom

public void readFrom(java.nio.ByteBuffer data)
Overrides:
readFrom in class OFMeterBand

writeTo

public void writeTo(java.nio.ByteBuffer data)
Overrides:
writeTo in class OFMeterBand

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object