org.openflow.protocol.statistics.tableFeatures
Class OFTableFeaturesProperty

java.lang.Object
  extended by org.openflow.protocol.statistics.tableFeatures.OFTableFeaturesProperty
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
OFTableFeaturesPropertyActions, OFTableFeaturesPropertyInstructions, OFTableFeaturesPropertyNextTables, OFTableFeaturesPropertyOXM

public class OFTableFeaturesProperty
extends java.lang.Object
implements java.lang.Cloneable

The base class for all OpenFlow TableFeaturesProperty

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

Field Summary
protected  short length
           
static int MINIMUM_LENGTH
           
static int OFFSET_LENGTH
           
static int OFFSET_TYPE
           
protected  OFTableFeaturesPropertyType type
           
 
Constructor Summary
OFTableFeaturesProperty()
           
 
Method Summary
 OFTableFeaturesProperty clone()
           
 boolean equals(java.lang.Object obj)
           
 short getLength()
          Get the length of this message
 int getLengthU()
          Get the length of this message, unsigned
 OFTableFeaturesPropertyType getType()
          Get the type of this message
 int hashCode()
           
 void readFrom(java.nio.ByteBuffer data)
           
 OFTableFeaturesProperty setLength(short length)
          Set the length of this message
 OFTableFeaturesProperty setType(OFTableFeaturesPropertyType type)
          Set the type of this message
 java.lang.String toString()
          Returns a summary of the message
 void writeTo(java.nio.ByteBuffer data)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

MINIMUM_LENGTH

public static int MINIMUM_LENGTH

OFFSET_LENGTH

public static int OFFSET_LENGTH

OFFSET_TYPE

public static int OFFSET_TYPE

type

protected OFTableFeaturesPropertyType type

length

protected short length
Constructor Detail

OFTableFeaturesProperty

public OFTableFeaturesProperty()
Method Detail

getLength

public short getLength()
Get the length of this message

Returns:

getLengthU

public int getLengthU()
Get the length of this message, unsigned

Returns:

setLength

public OFTableFeaturesProperty setLength(short length)
Set the length of this message

Parameters:
length -

getType

public OFTableFeaturesPropertyType getType()
Get the type of this message

Returns:
OFTableFeaturesPropertyType enum

setType

public OFTableFeaturesProperty setType(OFTableFeaturesPropertyType type)
Set the type of this message

Parameters:
type -

toString

public java.lang.String toString()
Returns a summary of the message

Overrides:
toString in class java.lang.Object
Returns:
string summary of message

readFrom

public void readFrom(java.nio.ByteBuffer data)

writeTo

public void writeTo(java.nio.ByteBuffer data)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

clone

public OFTableFeaturesProperty clone()
                              throws java.lang.CloneNotSupportedException
Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException