|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openflow.protocol.statistics.OFMeterFeatures
public class OFMeterFeatures
Represents an ofp_meter_stats structure
Field Summary | |
---|---|
protected int |
bandTypes
|
protected int |
capabilities
|
protected short |
length
|
protected byte |
maxBands
|
protected byte |
maxColor
|
protected int |
maxMeter
|
static int |
MINIMUM_LENGTH
|
Constructor Summary | |
---|---|
OFMeterFeatures()
|
Method Summary | |
---|---|
int |
computeLength()
Computes, sets and returns the length of this OFStatistics message. |
boolean |
equals(java.lang.Object obj)
|
java.util.Set<OFMeterBandType> |
getBandTypes()
|
int |
getCapabilities()
|
int |
getLength()
Returns the wire length of this message in bytes |
byte |
getMaxBands()
|
byte |
getMaxColor()
|
int |
getMaxMeter()
|
int |
hashCode()
|
void |
readFrom(java.nio.ByteBuffer data)
Read this message off the wire from the specified ByteBuffer |
void |
setBandTypes(int bandTypes)
|
void |
setBandTypes(java.util.Set<OFMeterBandType> bandTypes)
|
void |
setCapabilities(int capabilities)
|
void |
setMaxBands(byte maxBands)
|
void |
setMaxColor(byte maxColor)
|
void |
setMaxMeter(int maxMeter)
|
java.lang.String |
toString()
|
void |
writeTo(java.nio.ByteBuffer data)
Write this message's binary format to the specified ByteBuffer |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static int MINIMUM_LENGTH
protected short length
protected int maxMeter
protected int bandTypes
protected int capabilities
protected byte maxBands
protected byte maxColor
Constructor Detail |
---|
public OFMeterFeatures()
Method Detail |
---|
public int getMaxMeter()
public void setMaxMeter(int maxMeter)
public java.util.Set<OFMeterBandType> getBandTypes()
public void setBandTypes(int bandTypes)
public void setBandTypes(java.util.Set<OFMeterBandType> bandTypes)
public int getCapabilities()
public void setCapabilities(int capabilities)
public byte getMaxBands()
public void setMaxBands(byte maxBands)
public byte getMaxColor()
public void setMaxColor(byte maxColor)
public int getLength()
OFStatistics
getLength
in interface OFStatistics
public void readFrom(java.nio.ByteBuffer data)
OFStatistics
readFrom
in interface OFStatistics
public void writeTo(java.nio.ByteBuffer data)
OFStatistics
writeTo
in interface OFStatistics
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public int computeLength()
OFStatistics
OFStatistics.getLength()
without
recomputing after this method is called.
computeLength
in interface OFStatistics
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |