org.openflow.protocol.instruction
Class OFInstructionGotoTable

java.lang.Object
  extended by org.openflow.protocol.instruction.OFInstruction
      extended by org.openflow.protocol.instruction.OFInstructionGotoTable
All Implemented Interfaces:
java.lang.Cloneable

public class OFInstructionGotoTable
extends OFInstruction

Represents an ofp_instruction_goto_table

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

Field Summary
static int MINIMUM_LENGTH
           
protected  byte tableId
           
 
Fields inherited from class org.openflow.protocol.instruction.OFInstruction
length, OFFSET_LENGTH, OFFSET_TYPE, type
 
Constructor Summary
OFInstructionGotoTable()
           
OFInstructionGotoTable(byte tableId)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 byte getTableId()
           
 int hashCode()
           
 void readFrom(java.nio.ByteBuffer data)
           
 OFInstructionGotoTable setTableId(byte tableId)
           
 java.lang.String toString()
          Returns a summary of the message
 void writeTo(java.nio.ByteBuffer data)
           
 
Methods inherited from class org.openflow.protocol.instruction.OFInstruction
clone, fromString, getLength, getLengthU, getType, setLength, setType
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

MINIMUM_LENGTH

public static int MINIMUM_LENGTH

tableId

protected byte tableId
Constructor Detail

OFInstructionGotoTable

public OFInstructionGotoTable()

OFInstructionGotoTable

public OFInstructionGotoTable(byte tableId)
Method Detail

getTableId

public byte getTableId()
Returns:
the tableId

setTableId

public OFInstructionGotoTable setTableId(byte tableId)
Parameters:
tableId - the tableId to set

readFrom

public void readFrom(java.nio.ByteBuffer data)
Overrides:
readFrom in class OFInstruction

writeTo

public void writeTo(java.nio.ByteBuffer data)
Overrides:
writeTo in class OFInstruction

hashCode

public int hashCode()
Overrides:
hashCode in class OFInstruction

equals

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

toString

public java.lang.String toString()
Description copied from class: OFInstruction
Returns a summary of the message

Overrides:
toString in class OFInstruction
Returns:
"ofmsg=v=$version;t=$type:l=$len:xid=$xid"