|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openflow.protocol.statistics.OFMeterConfigStatisticsReply
public class OFMeterConfigStatisticsReply
Represents an ofp_meter_stats structure
| Field Summary | |
|---|---|
protected java.util.List<OFMeterBand> |
bands
|
protected short |
flags
|
protected short |
length
|
protected OFMeterBandFactory |
meterBandFactory
|
protected int |
meterId
|
static int |
MINIMUM_LENGTH
|
| Constructor Summary | |
|---|---|
OFMeterConfigStatisticsReply()
|
|
| Method Summary | |
|---|---|
int |
computeLength()
Computes, sets and returns the length of this OFStatistics message. |
boolean |
equals(java.lang.Object obj)
|
java.util.List<OFMeterBand> |
getBands()
|
short |
getFlags()
|
int |
getLength()
Returns the wire length of this message in bytes |
int |
getMeterId()
|
int |
hashCode()
|
void |
readFrom(java.nio.ByteBuffer data)
Read this message off the wire from the specified ByteBuffer |
OFMeterConfigStatisticsReply |
setBands(java.util.List<OFMeterBand> bands)
|
void |
setFlags(short flags)
|
void |
setMeterBandFactory(OFMeterBandFactory meterBandFactory)
Sets the OFMeterBandFactory |
OFMeterConfigStatisticsReply |
setMeterId(int meterId)
|
java.lang.String |
toString()
|
void |
updateLength()
|
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 OFMeterBandFactory meterBandFactory
protected short length
protected short flags
protected int meterId
protected java.util.List<OFMeterBand> bands
| Constructor Detail |
|---|
public OFMeterConfigStatisticsReply()
| Method Detail |
|---|
public int getMeterId()
public OFMeterConfigStatisticsReply setMeterId(int meterId)
meterId - the meterId to setpublic short getFlags()
public void setFlags(short flags)
flags - the flags to setpublic java.util.List<OFMeterBand> getBands()
public OFMeterConfigStatisticsReply setBands(java.util.List<OFMeterBand> bands)
bands - the bands to setpublic int getLength()
OFStatistics
getLength in interface OFStatisticspublic void setMeterBandFactory(OFMeterBandFactory meterBandFactory)
OFMeterBandFactoryAware
setMeterBandFactory in interface OFMeterBandFactoryAwarepublic void readFrom(java.nio.ByteBuffer data)
OFStatistics
readFrom in interface OFStatisticspublic void writeTo(java.nio.ByteBuffer data)
OFStatistics
writeTo in interface OFStatisticspublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic void updateLength()
public int computeLength()
OFStatisticsOFStatistics.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 | |||||||||