|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openflow.protocol.statistics.OFTableFeatures
public class OFTableFeatures
Corresponds to the struct ofp_packet_tableRequest OpenFlow structure
| Field Summary | |
|---|---|
protected int |
config
|
protected short |
length
|
protected int |
maxEntries
|
protected long |
metadataMatch
|
protected long |
metadataWrite
|
static short |
MINIMUM_LENGTH
|
protected java.lang.String |
name
|
static int |
OFP_MAX_TABLE_NAME_LEN
|
protected java.util.List<OFTableFeaturesProperty> |
properties
|
protected byte |
tableId
|
protected OFTableFeaturesPropertyFactory |
tableRequestPropertyFactory
|
| Constructor Summary | |
|---|---|
OFTableFeatures()
|
|
| Method Summary | |
|---|---|
OFTableFeatures |
clone()
|
int |
computeLength()
This method computes the length of the OFTableFeatures message, both setting the length field and returning the value. |
boolean |
equals(java.lang.Object obj)
|
int |
getConfig()
|
int |
getLength()
Returns the wire length of this message in bytes |
int |
getMaxEntries()
|
long |
getMetadataMatch()
Get metadataMatch |
long |
getMetadataWrite()
Get metadataWrite |
java.lang.String |
getName()
|
java.util.List<OFTableFeaturesProperty> |
getProperties()
|
int |
getTableFeaturesId()
|
int |
hashCode()
|
void |
readFrom(java.nio.ByteBuffer data)
Read this message off the wire from the specified ByteBuffer |
OFTableFeatures |
setConfig(int config)
|
void |
setLength(short length)
|
OFTableFeatures |
setMaxEntries(int maxEntries)
|
OFTableFeatures |
setMetadataMatch(long metadataMatch)
Set metadataMatch |
OFTableFeatures |
setMetadataWrite(long metadataWrite)
Set metadataWrite |
OFTableFeatures |
setName(java.lang.String name)
|
OFTableFeatures |
setProperties(java.util.List<OFTableFeaturesProperty> properties)
|
OFTableFeatures |
setTableFeaturesId(byte tableId)
|
void |
setTableFeaturesPropertyFactory(OFTableFeaturesPropertyFactory tableRequestPropertyFactory)
Sets the OFTableFeaturesPropertyFactory |
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 |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static short MINIMUM_LENGTH
public static final int OFP_MAX_TABLE_NAME_LEN
protected OFTableFeaturesPropertyFactory tableRequestPropertyFactory
protected int maxEntries
protected byte tableId
protected short length
protected long metadataMatch
protected long metadataWrite
protected java.util.List<OFTableFeaturesProperty> properties
protected java.lang.String name
protected int config
| Constructor Detail |
|---|
public OFTableFeatures()
| Method Detail |
|---|
public int getTableFeaturesId()
public OFTableFeatures setTableFeaturesId(byte tableId)
tableId - the tableId to setpublic int getMaxEntries()
public OFTableFeatures setMaxEntries(int maxEntries)
maxEntries - the port to associate the tableRequest withpublic int getLength()
OFStatistics
getLength in interface OFStatisticspublic void setLength(short length)
length - the length to setpublic java.util.List<OFTableFeaturesProperty> getProperties()
public OFTableFeatures setProperties(java.util.List<OFTableFeaturesProperty> properties)
properties - the properties to setpublic long getMetadataMatch()
public OFTableFeatures setMetadataMatch(long metadataMatch)
metadataMatch - public long getMetadataWrite()
public OFTableFeatures setMetadataWrite(long metadataWrite)
metadataWrite - public java.lang.String getName()
public OFTableFeatures setName(java.lang.String name)
name - the name to setpublic int getConfig()
public OFTableFeatures setConfig(int config)
config - the config to setpublic void readFrom(java.nio.ByteBuffer data)
OFStatistics
readFrom in interface OFStatisticspublic void writeTo(java.nio.ByteBuffer data)
OFStatistics
writeTo in interface OFStatisticspublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic OFTableFeatures clone()
clone in class java.lang.Objectpublic void setTableFeaturesPropertyFactory(OFTableFeaturesPropertyFactory tableRequestPropertyFactory)
OFTableFeaturesPropertyFactoryAware
setTableFeaturesPropertyFactory in interface OFTableFeaturesPropertyFactoryAwarepublic java.lang.String toString()
toString in class java.lang.Objectpublic int computeLength()
computeLength in interface OFStatistics
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||