|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openflow.protocol.OFMessage
org.openflow.protocol.OFStatisticsMessageBase
public abstract class OFStatisticsMessageBase
Base class for multipart messages (primarily statistics requests/replies)
| Field Summary | |
|---|---|
protected short |
flags
|
static int |
MINIMUM_LENGTH
|
protected java.util.List<? extends OFStatistics> |
statistics
|
protected OFStatisticsFactory |
statisticsFactory
|
protected OFStatisticsType |
statisticsType
|
| Fields inherited from class org.openflow.protocol.OFMessage |
|---|
length, OFP_VERSION, type, version, xid |
| Constructor Summary | |
|---|---|
OFStatisticsMessageBase()
Construct a ofp_statistics_* message |
|
| Method Summary | |
|---|---|
void |
computeLength()
This method is called during the writeTo method for serialization and is expected to set the length of the message. |
boolean |
equals(java.lang.Object obj)
|
OFStatistics |
getFirstStatistics()
|
short |
getFlags()
|
OFStatisticsType |
getStatisticsType()
|
int |
hashCode()
|
void |
readFrom(java.nio.ByteBuffer data)
Read this message off the wire from the specified ByteBuffer |
OFStatisticsMessageBase |
setFlags(short flags)
|
void |
setStatistics(java.util.List<? extends OFStatistics> statistics)
|
void |
setStatisticsFactory(OFStatisticsFactory statisticsFactory)
Sets the OFStatisticsFactory |
OFStatisticsMessageBase |
setStatisticsType(OFStatisticsType statisticsType)
|
java.lang.String |
toString()
Returns a summary of the message |
void |
writeTo(java.nio.ByteBuffer data)
Write this message's binary format to the specified ByteBuffer |
| Methods inherited from class org.openflow.protocol.OFMessage |
|---|
getLength, getLengthU, getType, getVersion, getXid, setLength, setLengthU, setType, setVersion, setXid |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static int MINIMUM_LENGTH
protected OFStatisticsFactory statisticsFactory
protected OFStatisticsType statisticsType
protected short flags
protected java.util.List<? extends OFStatistics> statistics
| Constructor Detail |
|---|
public OFStatisticsMessageBase()
| Method Detail |
|---|
public OFStatisticsType getStatisticsType()
public OFStatisticsMessageBase setStatisticsType(OFStatisticsType statisticsType)
statisticsType - the statisticsType to setpublic short getFlags()
public OFStatisticsMessageBase setFlags(short flags)
flags - the flags to setpublic OFStatistics getFirstStatistics()
public void setStatistics(java.util.List<? extends OFStatistics> statistics)
statistics - the statistics to setpublic void setStatisticsFactory(OFStatisticsFactory statisticsFactory)
OFStatisticsFactoryAware
setStatisticsFactory in interface OFStatisticsFactoryAwarepublic void readFrom(java.nio.ByteBuffer data)
OFMessage
readFrom in class OFMessagepublic void writeTo(java.nio.ByteBuffer data)
OFMessage
writeTo in class OFMessagepublic int hashCode()
hashCode in class OFMessagepublic boolean equals(java.lang.Object obj)
equals in class OFMessagepublic java.lang.String toString()
OFMessage
toString in class OFMessagepublic void computeLength()
OFMessage
computeLength in class OFMessage
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||