org.openflow.protocol.statistics
Class OFMeterBandStatistics

java.lang.Object
  extended by org.openflow.protocol.statistics.OFMeterBandStatistics

public class OFMeterBandStatistics
extends java.lang.Object

Represents an ofp_meter_band_stats structure

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

Field Summary
protected  long byteBandCount
           
static int MINIMUM_LENGTH
           
protected  long packetBandCount
           
 
Constructor Summary
OFMeterBandStatistics()
           
OFMeterBandStatistics(long packetBandCount, long byteBandCount)
           
 
Method Summary
 long getByteBandCount()
           
 int getLength()
           
 long getPacketBandCount()
           
 void readFrom(java.nio.ByteBuffer data)
           
 void setByteBandCount(long byteBandCount)
           
 void setPacketBandCount(long packetBandCount)
           
 java.lang.String toString()
           
 void writeTo(java.nio.ByteBuffer data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

packetBandCount

protected long packetBandCount

byteBandCount

protected long byteBandCount

MINIMUM_LENGTH

public static final int MINIMUM_LENGTH
See Also:
Constant Field Values
Constructor Detail

OFMeterBandStatistics

public OFMeterBandStatistics()

OFMeterBandStatistics

public OFMeterBandStatistics(long packetBandCount,
                             long byteBandCount)
Method Detail

getPacketBandCount

public long getPacketBandCount()

setPacketBandCount

public void setPacketBandCount(long packetBandCount)

getByteBandCount

public long getByteBandCount()

setByteBandCount

public void setByteBandCount(long byteBandCount)

getLength

public int getLength()

toString

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

readFrom

public void readFrom(java.nio.ByteBuffer data)

writeTo

public void writeTo(java.nio.ByteBuffer data)